Skip to content

Commit 476e2f0

Browse files
committed
Don’t typecheck the workspace packages inside the webapp
1 parent ad71964 commit 476e2f0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

apps/webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
1414
"start": "cross-env NODE_ENV=production node --max-old-space-size=8192 ./build/server.js",
1515
"start:local": "cross-env node --max-old-space-size=8192 ./build/server.js",
16-
"typecheck": "tsc --noEmit",
16+
"typecheck": "tsc -p ./tsconfig.check.json",
1717
"db:seed": "node prisma/seed.js",
1818
"db:seed:local": "ts-node prisma/seed.ts",
1919
"generate:sourcemaps": "remix build --sourcemap",

apps/webapp/tsconfig.check.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"noEmit": true,
5+
"paths": {
6+
"~/*": ["./app/*"],
7+
"@/*": ["./*"]
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)