Skip to content

Commit

Permalink
fix: typedoc script
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed Aug 10, 2024
1 parent 053db01 commit f4135ca
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ npm-debug.log*
.rollupcache
dist/doc-temp
dist/test
doc/typedoc
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@
"build": "rollup -c --environment NODE_ENV:production",
"postbuild": "npm run build:dts",
"build:dts": "dts-bundle-generator ./src/aurelia-dependency-injection.ts -o dist/aurelia-dependency-injection.d.ts",
"predoc": "cross-env rimraf doc/api.json && rimraf dist/doc-temp && tsc --project tsconfig.build.json && node doc/shape-defs && copyfiles tsconfig.json dist/doc-temp",
"doc": "cross-env typedoc --json doc/api.json --excludeExternals --name aurelia-dependency-injection-docs dist",
"postdoc": "cross-env node doc/shape-doc && rimraf dist/doc-temp",
"doc": "typedoc --options typedoc.json",
"postdoc": "rimraf doc/typedoc",
"precut-release": "npm run test && npm run lint && npm run build",
"cut-release": "commit-and-tag-version -t \"\" -i doc/CHANGELOG.md --skip.commit --skip.tag",
"postcut-release": " npm run doc"
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"skipLibCheck": true,
"strict": true
},
"include": [
"dist"
],
"exclude": [
".vscode",
"doc",
Expand Down
8 changes: 8 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": ["./src/aurelia-dependency-injection.ts"],
"out": "doc/typedoc",
"json": "doc/api.json",
"emit": "docs",
"pretty": false
}

0 comments on commit f4135ca

Please sign in to comment.