Skip to content

Commit

Permalink
Add tsconfig.json for @babel/helpers/src/helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 16, 2024
1 parent db3e9a6 commit 132e320
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Makefile.source.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ target["prepublish-prepare-dts-no-clean"] = function () {
target["tscheck"] = function () {
target["generate-tsconfig"]();
node(["scripts/parallel-tsc/tsc.js", "."]);
target["tscheck-helpers"]();
};

target["tscheck-helpers"] = function () {
yarn(["tsc", "-p", "./packages/babel-helpers/src/helpers/tsconfig.json"]);
};

target["clean-ts"] = function () {
Expand Down
23 changes: 23 additions & 0 deletions packages/babel-helpers/src/helpers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"rootDir": ".",
"target": "ESNext",
"module": "preserve",
"lib": ["ESNext"],
"declaration": false,
"noEmit": true,
"moduleResolution": "Bundler",
"esModuleInterop": true,
"isolatedModules": true,
"allowImportingTsExtensions": true,
"strict": true
},
"include": ["./*.ts"],
"exclude": [
"./applyDecs2305.ts",
"./applyDecs2311.ts",
"./construct.ts",
"./setFunctionName.ts",
"./usingCtx.ts"
]
}
6 changes: 5 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@
"noImplicitAny": true,
"strictBindCallApply": true,
"incremental": true
}
},
"exclude": ["./packages/babel-helpers/src/helpers/**/*"],
"references": [{
"path": "./packages/babel-helpers/src/helpers/**/tsconfig.json"
}]
}

0 comments on commit 132e320

Please sign in to comment.