Skip to content

Commit 0e8d20b

Browse files
authored
Enhance package.json files by adding "check-types" script with --skipLibCheck option for improved type checking across obsidian, roam, database, and ui packages. (#355)
1 parent 30b932f commit 0e8d20b

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

apps/obsidian/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"build": "tsx scripts/build.ts",
1010
"lint": "eslint .",
1111
"lint:fix": "eslint . --fix",
12-
"publish": "tsx scripts/publish-obsidian.ts"
12+
"publish": "tsx scripts/publish-obsidian.ts",
13+
"check-types": "tsc --noEmit --skipLibCheck"
1314
},
1415
"keywords": [],
1516
"author": "",

apps/roam/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"deploy": "tsx scripts/deploy.ts",
1010
"lint": "eslint .",
1111
"lint:fix": "eslint . --fix",
12-
"publish": "tsx scripts/publish.ts"
12+
"publish": "tsx scripts/publish.ts",
13+
"check-types": "tsc --noEmit --skipLibCheck"
1314
},
1415
"license": "Apache-2.0",
1516
"devDependencies": {

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"start": "next start",
1111
"lint": "eslint .",
1212
"lint:fix": "eslint . --fix",
13-
"check-types": "tsc --noEmit"
13+
"check-types": "tsc --noEmit --skipLibCheck"
1414
},
1515
"dependencies": {
1616
"@repo/types": "*",

packages/database/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"init": "supabase login",
1515
"dev": "supabase start && tsx scripts/createEnv.ts && supabase functions serve",
1616
"stop": "supabase stop",
17-
"check-types": "npm run lint && supabase stop && npm run dbdiff",
17+
"check-types": "tsc --noEmit --skipLibCheck",
1818
"lint": "eslint . && tsx scripts/lint.ts",
1919
"lint:fix": "tsx scripts/lint.ts -f",
2020
"build": "tsx scripts/build.ts && npm run genenv -- local",

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint": "eslint .",
2020
"lint:fix": "eslint . --fix",
2121
"generate:component": "turbo gen react-component",
22-
"check-types": "tsc --noEmit",
22+
"check-types": "tsc --noEmit --skipLibCheck",
2323
"ui": "npx shadcn@latest"
2424
},
2525
"devDependencies": {

0 commit comments

Comments
 (0)