Skip to content

Commit

Permalink
tsconfig test
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyGlas committed Apr 2, 2024
1 parent ce601ac commit 0f04a36
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 34 deletions.
42 changes: 17 additions & 25 deletions js-packages/scripts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
{
"include": [
"./src/**/*"
],
"exclude": [
"**/*.test.*",
"node_modules"
],
"ts-node": {
// Tell ts-node CLI to install the --loader automatically
"esm": true
},
"compilerOptions": {
"target": "ESNext",
"module": "commonjs",
"sourceMap": true,
"outDir": "dist",
"strict": true,
"lib": [
"esnext"
],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
}
}
"ts-node": {
// Tell ts-node CLI to install the --loader automatically
"esm": true
},
"compilerOptions": {
"target": "ESNext",
"module": "commonjs",
"sourceMap": true,
"strict": true,
"lib": [
"esnext"
],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
}
}
8 changes: 0 additions & 8 deletions js-packages/tests/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"include": [
"./src/**/*"
],
"exclude": [
"**/*.test.*",
"node_modules"
],
"ts-node": {
// Tell ts-node CLI to install the --loader automatically
"esm": true
Expand All @@ -14,7 +7,6 @@
"target": "ESNext",
"module": "commonjs",
"sourceMap": true,
"outDir": "dist",
"strict": true,
"lib": [
"esnext"
Expand Down
12 changes: 11 additions & 1 deletion js-packages/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,25 @@
"exclude": [
"**/node_modules"
],
"ts-node": {
// Tell ts-node CLI to install the --loader automatically
"esm": true
},
"compilerOptions": {
"skipLibCheck": true,
"module": "ESNext",
"module": "commonjs",
"moduleResolution": "Bundler",
"target": "ES2022",
"declaration": true,
"checkJs": false,
"strict": true,
"resolveJsonModule": true,
"lib": [
"esnext"
],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": [
"./**/*.ts"
Expand Down

0 comments on commit 0f04a36

Please sign in to comment.