Skip to content

Commit

Permalink
rename the main tsconfig-esm.json into a more IDE-friendly `tsconfi…
Browse files Browse the repository at this point in the history
…g.json`
  • Loading branch information
shtaif committed Jun 22, 2024
1 parent 43f4ac7 commit 9fae3a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
],
"scripts": {
"test": "ts-mocha -p ./spec/tsconfig-tests.json",
"build": "rimraf ./dist && tsc -p tsconfig-esm.json && tsc -p tsconfig-cjs.json && ts-node -p tsconfig-esm.json ./scripts/set-module-type-in-dist-builds.ts",
"check-typings": "tsc --noEmit -p ./tsconfig-esm.json",
"build": "rimraf ./dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ts-node -p tsconfig.json ./scripts/set-module-type-in-dist-builds.ts",
"check-typings": "tsc --noEmit -p ./tsconfig.json",
"prepublishOnly": "npm run build"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion spec/tsconfig-tests.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"include": ["./**/*.ts"],
"extends": "../tsconfig-esm.json",
"extends": "../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"module": "NodeNext",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig-cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"include": ["./src/**/*.ts"],
"extends": "./tsconfig-esm.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./dist/cjs",
"module": "CommonJS",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig-esm.json → tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
}
}
}

0 comments on commit 9fae3a8

Please sign in to comment.