Skip to content

Commit

Permalink
build(typedoc): bump to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonoff committed Jan 7, 2025
1 parent 4055f98 commit e4d0412
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 48 deletions.
93 changes: 52 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"custom-element-vs-code-integration": "^1.4.1",
"globby": "^14.0.2",
"husky": "^9.1.7",
"ig-typedoc-theme": "^5.0.4",
"ig-typedoc-theme": "^6.0.0",
"igniteui-theming": "^14.3.1",
"keep-a-changelog": "^2.5.3",
"lint-staged": "^15.2.11",
Expand All @@ -99,8 +99,8 @@
"stylelint-scss": "^6.10.0",
"ts-lit-plugin": "^2.0.2",
"tslib": "^2.8.1",
"typedoc": "^0.26.11",
"typedoc-plugin-localization": "^3.0.5",
"typedoc": "^0.27.6",
"typedoc-plugin-localization": "^3.0.6",
"typescript": "^5.6.3",
"vite": "^6.0.3"
},
Expand Down
11 changes: 7 additions & 4 deletions scripts/build-typedoc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import path from 'node:path';
import { create } from 'browser-sync';
import watch from 'node-watch';
import TypeDoc from 'typedoc';
import { Application } from 'typedoc';

const browserSync = create();
const ROOT = path.join.bind(null, path.resolve('./'));

const TYPEDOC = {
PLUGINS: {
THEME: ROOT('node_modules', 'ig-typedoc-theme'),
LOCALIZATION: ROOT('node_modules', 'typedoc-plugin-localization'),
THEME: ROOT('node_modules', 'ig-typedoc-theme/dist/index.js'),
LOCALIZATION: ROOT(
'node_modules',
'typedoc-plugin-localization/dist/index.js'
),
},
OUTPUT: ROOT('dist', 'docs', 'typescript'),
EXPORT_JSON_PATH: ROOT(
Expand Down Expand Up @@ -90,7 +93,7 @@ async function main() {
entryPointStrategy = 'merge';
}

const app = await TypeDoc.Application.bootstrapWithPlugins({
const app = await Application.bootstrapWithPlugins({
entryPoints,
entryPointStrategy,
plugin: [TYPEDOC.PLUGINS.THEME, TYPEDOC.PLUGINS.LOCALIZATION],
Expand Down

0 comments on commit e4d0412

Please sign in to comment.