-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ts): Set module=nodenext (#1248)
- Loading branch information
1 parent
e9e618c
commit 85317d7
Showing
1 changed file
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": "./packages", | ||
"paths": { | ||
"@gltf-transform/core": ["./packages/core/"], | ||
"@gltf-transform/extensions": ["./packages/extensions/"], | ||
"@gltf-transform/functions": ["./packages/functions/"], | ||
"@gltf-transform/cli": ["./packages/cli/"], | ||
"@gltf-transform/test-utils": ["./packages/test-utils/"] | ||
}, | ||
"esModuleInterop": true, | ||
"moduleResolution": "nodenext", | ||
"lib": ["es2020", "dom"], | ||
"target": "es2020", | ||
"module": "ESNext", | ||
"declaration": true, | ||
"stripInternal": true, | ||
"typeRoots": ["node_modules/@types"], | ||
"compilerOptions": { | ||
"baseUrl": "./packages", | ||
"paths": { | ||
"@gltf-transform/core": ["./packages/core/"], | ||
"@gltf-transform/extensions": ["./packages/extensions/"], | ||
"@gltf-transform/functions": ["./packages/functions/"], | ||
"@gltf-transform/cli": ["./packages/cli/"], | ||
"@gltf-transform/test-utils": ["./packages/test-utils/"] | ||
}, | ||
"esModuleInterop": true, | ||
"moduleResolution": "nodenext", | ||
"lib": ["es2020", "dom"], | ||
"target": "es2020", | ||
"module": "nodenext", | ||
"declaration": true, | ||
"stripInternal": true, | ||
"typeRoots": ["node_modules/@types"], | ||
|
||
// Components of "strict" mode. | ||
"alwaysStrict": true, | ||
"strictFunctionTypes": true, | ||
"strictBindCallApply": true, | ||
"noImplicitThis": true, | ||
// Components of "strict" mode. | ||
"alwaysStrict": true, | ||
"strictFunctionTypes": true, | ||
"strictBindCallApply": true, | ||
"noImplicitThis": true | ||
|
||
// Certain rules (noImplicitAny, strictNullChecks, strictPropertyInitialization) | ||
// are tightend by sub-package tsconfig. Global tsconfig affects unit tests, and | ||
// I consider those rules too strict for unit tests. | ||
}, | ||
"include": [ | ||
"packages/*/src/**/*.ts", | ||
// Included to allow TypeDoc to find `pages.ts` content. | ||
"docs/*.ts" | ||
] | ||
// Certain rules (noImplicitAny, strictNullChecks, strictPropertyInitialization) | ||
// are tightend by sub-package tsconfig. Global tsconfig affects unit tests, and | ||
// I consider those rules too strict for unit tests. | ||
}, | ||
"include": [ | ||
"packages/*/src/**/*.ts", | ||
// Included to allow TypeDoc to find `pages.ts` content. | ||
"docs/*.ts" | ||
] | ||
} |