-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve build & types exports for all targets, Node, CJS/ESM (#1113
) * fix: improve build & types exports for all targets, Node, CJS/ESM - build only 1 `dist/types` folder for all target - previous implementation didn't pass all type exports as can be shown in [Are the types wrong?](https://arethetypeswrong.github.io)
- Loading branch information
1 parent
477978f
commit 2cbfc68
Showing
11 changed files
with
72 additions
and
49 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
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
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,42 +1,41 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"target": "es2017", | ||
"lib": [ | ||
"es2017", | ||
"dom" | ||
], | ||
"typeRoots": [ | ||
"../typings", | ||
"../../node_modules/@types" | ||
], | ||
"outDir": "dist/amd", | ||
"noImplicitAny": true, | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
"noImplicitReturns": true, | ||
"skipLibCheck": true, | ||
"strictNullChecks": true, | ||
"declaration": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"experimentalDecorators": true, | ||
"noEmitHelpers": false, | ||
"strict": true, | ||
"stripInternal": true, | ||
"sourceMap": true | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"target": "es2018", | ||
"lib": [ | ||
"es2018", | ||
"dom" | ||
], | ||
"typeRoots": [ | ||
"../typings", | ||
"../../node_modules/@types" | ||
], | ||
"outDir": "dist/amd", | ||
"noImplicitAny": true, | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
"noImplicitReturns": true, | ||
"skipLibCheck": true, | ||
"strictNullChecks": true, | ||
"declaration": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"esModuleInterop": true, | ||
"experimentalDecorators": true, | ||
"noEmitHelpers": false, | ||
"strict": true, | ||
"stripInternal": true, | ||
"sourceMap": true | ||
}, | ||
"exclude": [ | ||
".vscode", | ||
"src/aurelia_project", | ||
"src/examples", | ||
"src/resources", | ||
"src/test", | ||
"**/*.spec.ts", | ||
"**/*.scss" | ||
".vscode", | ||
"src/aurelia_project", | ||
"src/examples", | ||
"**/*.spec.ts", | ||
"**/*.scss" | ||
], | ||
"include": [ | ||
"../typings", | ||
"**/*" | ||
"../typings", | ||
"**/*" | ||
] | ||
} |
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
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
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
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
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
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
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
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,4 +1,3 @@ | ||
|
||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
|