Skip to content

Commit

Permalink
Fix conflicting global.d.ts entries for Typedoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Don McCurdy committed May 15, 2021
1 parent 145f358 commit 8699c2c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 30 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
"preversion": "yarn run test",
"version": "lerna run dist --parallel && gltf-transform -h > docs/CLI_HELP.md && git add -u docs",
"postpublish": "git push && git push --tags && yarn run docs:deploy",
"docs": "typedoc packages/core/src/core.ts packages/extensions/src/extensions.ts packages/lib/src/index.ts docs/pages.ts --out docs/dist/ --name glTF-Transform --excludeNotDocumented --theme docs/theme --media docs/media --readme docs/INDEX.md --includes docs",
"docs": "typedoc packages/core/src/core.ts packages/extensions/src/extensions.ts packages/functions/src/index.ts docs/pages.ts --out docs/dist/ --name glTF-Transform --excludeNotDocumented --theme docs/theme --media docs/media --readme docs/INDEX.md --includes docs",
"docs:watch": "concurrently \"yarn docs --watch\" \"vercel dev\"",
"docs:deploy": "yarn docs && vercel --prod"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/core/tsconfig.json
@@ -1,6 +1,9 @@
{
"extends": "../../tsconfig.json",
"include": ["src/**/*"],
"include": [
"src/**/*",
"../global.d.ts"
],
"compilerOptions": {
"outDir": "dist",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/functions/src/index.ts
@@ -1,4 +1,4 @@
/** @module lib */
/** @module functions */

export * from './bounds';
export * from './center';
Expand Down
26 changes: 0 additions & 26 deletions packages/functions/src/types/global.d.ts

This file was deleted.

5 changes: 4 additions & 1 deletion packages/functions/tsconfig.json
@@ -1,6 +1,9 @@
{
"extends": "../../tsconfig.json",
"include": ["src/**/*"],
"include": [
"src/**/*",
"../global.d.ts"
],
"compilerOptions": {
"outDir": "dist",
"strict": true,
Expand Down
File renamed without changes.

0 comments on commit 8699c2c

Please sign in to comment.