Skip to content

Commit

Permalink
chore: use full --project param for tsc
Browse files Browse the repository at this point in the history
Signed-off-by: Nastya Rusina <nastya@union.ai>
  • Loading branch information
anrusina committed May 5, 2022
1 parent 1512b2e commit c2c70b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/plugins/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc --module esnext --outDir lib/esm -p ./tsconfig.build.json",
"build:cjs": "tsc -p ./tsconfig.build.json",
"build:esm": "tsc --module esnext --outDir lib/esm --project ./tsconfig.build.json",
"build:cjs": "tsc --project ./tsconfig.build.json",
"test": "NODE_ENV=test jest"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/plugins/components/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"exclude": [
// files excluded from the build, we can not put it inro default tsconfig
// as it will screw VSCode IntelliSence
"**/__mocks__",
"**/test",
"**/mocks",
"**/__mocks__",
"**/__stories__",
"src/**/*.spec.*",
"src/**/*.test.*",
"src/**/*.mock.*",
Expand Down
3 changes: 2 additions & 1 deletion packages/zapp/console/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"exclude": [
// files excluded from the build, we can not put it inro default tsconfig
// as it will screw VSCode IntelliSence
"**/__mocks__",
"**/test",
"**/mocks",
"**/__mocks__",
"**/__stories__",
"src/**/*.spec.*",
"src/**/*.test.*",
"src/**/*.mock.*",
Expand Down

0 comments on commit c2c70b9

Please sign in to comment.