Skip to content

Commit 7ae9db2

Browse files
deps(typedoc): bump to latest version (#1923)
--------- Co-authored-by: Radoslav Karaivanov <[email protected]>
1 parent b2c488a commit 7ae9db2

File tree

3 files changed

+73
-44
lines changed

3 files changed

+73
-44
lines changed

package-lock.json

Lines changed: 61 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@
8080
"custom-element-vs-code-integration": "^1.5.0",
8181
"globby": "^15.0.0",
8282
"husky": "^9.1.7",
83-
"ig-typedoc-theme": "^6.2.3",
83+
"ig-typedoc-theme": "^7.0.0",
8484
"igniteui-i18n-resources": "0.6.0-alpha.4",
85-
"igniteui-theming": "^21.0.2",
85+
"igniteui-theming": "^22.1.0",
8686
"keep-a-changelog": "^2.7.1",
8787
"lint-staged": "^16.2.6",
8888
"lit-analyzer": "^2.0.3",
@@ -101,8 +101,8 @@
101101
"stylelint-scss": "^6.12.1",
102102
"ts-lit-plugin": "^2.0.2",
103103
"tslib": "^2.8.1",
104-
"typedoc": "~0.27.9",
105-
"typedoc-plugin-localization": "^3.0.6",
104+
"typedoc": "~0.28.14",
105+
"typedoc-plugin-localization": "^3.1.0",
106106
"typescript": "^5.8.3",
107107
"vite": "^7.1.12"
108108
},

scripts/build-typedoc.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
import path from 'node:path';
2+
import { fileURLToPath } from 'node:url';
23
import { create } from 'browser-sync';
34
import watch from 'node-watch';
45
import { Application } from 'typedoc';
56
import report from './report.mjs';
67

8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
11+
const toPosix = (p) => p.replace(/\\/g, '/');
712
const browserSync = create();
8-
const ROOT = path.join.bind(null, path.resolve('./'));
13+
const ROOT = (...segments) =>
14+
toPosix(path.resolve(__dirname, '..', ...segments));
915

1016
const TYPEDOC = {
1117
PLUGINS: {
@@ -99,6 +105,7 @@ async function main() {
99105
entryPointStrategy,
100106
plugin: [TYPEDOC.PLUGINS.THEME, TYPEDOC.PLUGINS.LOCALIZATION],
101107
theme: 'igtheme',
108+
router: 'structure',
102109
excludePrivate: true,
103110
excludeProtected: true,
104111
excludeNotDocumented: true,

0 commit comments

Comments
 (0)