Skip to content

Commit 878b830

Browse files
committed
Change codebuff.json to typecheck including dependencies. Delete typecheck-only, use typecheck-this-package. Build implies typecheck implies typecheck-this-package
1 parent 4bb5734 commit 878b830

File tree

12 files changed

+15
-23
lines changed

12 files changed

+15
-23
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ jobs:
5151
- name: Build and typecheck
5252
run: |
5353
bun run build
54-
bun run typecheck-only
5554
5655
# Template for test jobs
5756
test:

backend/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"dev": "bun --hot run -r tsconfig-paths/register src/index.ts",
1010
"build": "tsc --build",
1111
"typecheck-this-package": "tsc --noEmit && tsc-alias",
12-
"build-and-typecheck": "bun run build && bun run typecheck-this-package",
1312
"typecheck": "bun run --cwd ../common build && bun run typecheck-this-package",
14-
"typecheck-only": "tsc --noEmit && tsc-alias",
1513
"test": "bun test"
1614
},
1715
"dependencies": {

codebuff.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
{
2323
"name": "backend-typecheck",
24-
"command": "bun run typecheck-only",
24+
"command": "bun run typecheck",
2525
"cwd": "backend",
2626
"filePattern": "backend/**/*.ts"
2727
},
@@ -34,14 +34,14 @@
3434
},
3535
{
3636
"name": "npm-typecheck",
37-
"command": "bun run typecheck-only",
37+
"command": "bun run typecheck",
3838
"cwd": "npm-app",
3939
"filePattern": "npm-app/**/*.ts"
4040
},
4141

4242
{
4343
"name": "web-typecheck",
44-
"command": "bun run typecheck-only",
44+
"command": "bun run typecheck",
4545
"cwd": "web",
4646
"filePattern": "web/**/*.ts"
4747
},
@@ -54,7 +54,7 @@
5454
},
5555
{
5656
"name": "common-typecheck",
57-
"command": "bun run typecheck-only",
57+
"command": "bun run typecheck",
5858
"cwd": "common",
5959
"filePattern": "common/**/*.ts"
6060
}

common/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
"scripts": {
99
"prebuild": "bun run clean",
1010
"build": "tsc",
11-
"typecheck": "tsc --noEmit",
12-
"build-and-typecheck": "bun run build && bun run typecheck",
13-
"typecheck-only": "tsc --noEmit",
11+
"typecheck-this-package": "tsc --noEmit",
12+
"typecheck": "bun run typecheck-this-package",
1413
"clean": "rm -rf dist && (rm tsconfig.tsbuildinfo || true)",
1514
"db:generate": "drizzle-kit generate --config=./src/db/drizzle.config.ts",
1615
"db:migrate": "drizzle-kit push --config=./src/db/drizzle.config.ts",

evals/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"test:pglite": "bun test pglite-demo.test.ts",
99
"test:swe-bench": "bun test swe-bench.test.ts",
1010
"test:e2e-cat-app": "bun run e2e-cat-app-script.ts",
11+
"typecheck-this-package": "tsc --noEmit",
1112
"typecheck": "tsc --noEmit",
1213
"gen-git-evals": "bun run git-evals/gen-evals.ts",
1314
"run-git-evals": "bun run git-evals/run-git-evals.ts",

npm-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"start-nushell": "bun run with-env -- ts-node -r tsconfig-paths/register src/index.ts ../test/__mock-projects__/nushell",
3030
"start-prod": "bun run with-env -- ts-node -r tsconfig-paths/register src/index.ts",
3131
"typecheck-this-package": "tsc --noEmit && tsc-alias",
32-
"typecheck-only": "tsc --noEmit && tsc-alias",
32+
"typecheck": "npm run build",
3333
"build": "nx build npm-app"
3434
},
3535
"files": [

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@
3535
"bump": "bun run scripts/bump-version.ts",
3636
"deploy:npm-app": "bun run bump && cd npm-app && npm publish",
3737
"test:patch": "bun test test/__src__/patch.test.ts",
38-
"build": "nx reset && nx run-many --target=build --all",
3938
"clean": "nx run-many --target=clean --all",
40-
"typecheck-only": "nx run-many --target=typecheck-only --all",
41-
"typecheck": "bun run build && bun run typecheck-only"
39+
"build": "nx reset && nx run-many --target=build --all",
40+
"typecheck": "bun run build"
4241
},
4342
"devDependencies": {
4443
"@tanstack/react-query": "^5.59.16",

packages/bigquery/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"scripts": {
88
"build": "tsc --build",
99
"typecheck": "tsc --noEmit",
10-
"build-and-typecheck": "bun run build && bun run typecheck",
11-
"typecheck-only": "tsc --noEmit"
10+
"typecheck-this-package": "tsc --noEmit"
1211
},
1312
"dependencies": {
1413
"@google-cloud/bigquery": "^7.9.4",

packages/billing/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"scripts": {
88
"build": "tsc --build",
99
"typecheck": "tsc --noEmit",
10-
"build-and-typecheck": "bun run build && bun run typecheck",
11-
"typecheck-only": "tsc --noEmit"
10+
"typecheck-this-package": "tsc --noEmit"
1211
},
1312
"dependencies": {
1413
"common": "workspace:*",

packages/code-map/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
"license": "UNLICENSED",
55
"scripts": {
66
"build": "tsc && cp -R tree-sitter-queries ./dist/",
7+
"typecheck-this-package": "tsc --noEmit",
78
"typecheck": "tsc --noEmit",
8-
"build-and-typecheck": "bun run build && bun run typecheck",
9-
"typecheck-only": "tsc --noEmit",
109
"test": "bun test"
1110
},
1211
"dependencies": {

0 commit comments

Comments
 (0)