Skip to content

Update to typedoc 0.28 and use entryPointStrategy: packages #638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: Update to typedoc 0.28 and use entryPointStrategy: packages
  • Loading branch information
eemeli committed Mar 25, 2025
commit d77cd5d6ef11ac4fe3596c1a4de324a8a17ba78c
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
- run: npm run build --workspaces
- run: npm test
- run: npm run lint
- run: npm run docs --workspaces
- run: npm run docs
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Build and test all packages at once:
$ npm run build --workspaces
$ npm run lint
$ npm run test
$ npm run docs --workspaces
$ npm run docs

Each package may also be built separately by running `npm run build` in
its directory.
1 change: 0 additions & 1 deletion fluent-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"scripts": {
"build": "tsc",
"postbuild": "rollup -c ../rollup.config.mjs",
"docs": "typedoc --options ../typedoc.config.cjs",
"test": "mocha 'test/*_test.js'"
},
"engines": {
Expand Down
3 changes: 3 additions & 0 deletions fluent-bundle/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"intentionallyNotExported": ["Pattern", "TemporalObject"]
}
1 change: 0 additions & 1 deletion fluent-dedent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"scripts": {
"build": "tsc",
"postbuild": "rollup -c ../rollup.config.mjs",
"docs": "typedoc --options ../typedoc.config.cjs",
"test": "mocha 'test/*_test.js'"
},
"engines": {
Expand Down
1 change: 0 additions & 1 deletion fluent-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"scripts": {
"build": "tsc",
"postbuild": "rollup -c ../rollup.config.mjs --globals cached-iterable:CachedIterable",
"docs": "typedoc --options ../typedoc.config.cjs src/index.js",
"test": "c8 mocha -ui tdd --require ./test/index.js 'test/*_test.js'"
},
"engines": {
Expand Down
3 changes: 3 additions & 0 deletions fluent-dom/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"entryPoints": ["src/index.js"]
}
1 change: 0 additions & 1 deletion fluent-langneg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"scripts": {
"build": "tsc",
"postbuild": "rollup -c ../rollup.config.mjs",
"docs": "typedoc --options ../typedoc.config.cjs",
"test": "mocha 'test/*_test.js'"
},
"engines": {
Expand Down
1 change: 0 additions & 1 deletion fluent-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"postbuild": "rollup -c ../rollup.config.mjs --globals @fluent/sequence:FluentSequence,cached-iterable:CachedIterable,react:React",
"docs": "typedoc --options ../typedoc.config.cjs --tsconfig ./tsconfig.build.json",
"test": "jest --collect-coverage"
},
"engines": {
Expand Down
3 changes: 3 additions & 0 deletions fluent-react/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"tsconfig": "./tsconfig.build.json",
}
1 change: 0 additions & 1 deletion fluent-sequence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"postbuild": "rollup -c ../rollup.config.mjs",
"docs": "typedoc --options ../typedoc.config.cjs --tsconfig ./tsconfig.build.json",
"test": "mocha 'test/*_test.js'"
},
"engines": {
Expand Down
1 change: 0 additions & 1 deletion fluent-syntax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"scripts": {
"build": "tsc",
"postbuild": "rollup -c ../rollup.config.mjs",
"docs": "typedoc --options ../typedoc.config.cjs",
"test": "mocha 'test/*_test.js'"
},
"engines": {
Expand Down
4 changes: 4 additions & 0 deletions fluent-syntax/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"categoryOrder": ["Parse", "Serialize", "Data Model"],
"excludeInternal": true
}
Loading