Skip to content

Commit af118a8

Browse files
committed
feat: replace tsc with tsgo
1 parent ae8b2f6 commit af118a8

File tree

7 files changed

+102
-19
lines changed

7 files changed

+102
-19
lines changed

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ build-deps:
2727

2828
# Check for formatting, lint, and type errors
2929
check: build-deps
30-
pnpm exec tsc -b && pnpm exec oxfmt --check && pnpm exec oxlint --type-aware && pnpm exec tsc -b --noEmit
30+
pnpm exec oxfmt --check && pnpm exec oxlint --type-aware && pnpm exec tsgo -b
3131

3232
# Format, fix, and type check all files
3333
fix:
34-
pnpm exec oxfmt && pnpm exec oxlint --fix --type-aware && pnpm exec tsc -b
34+
pnpm exec oxfmt && pnpm exec oxlint --fix --type-aware && pnpm exec tsgo -b
3535

3636
# Format all files
3737
fmt:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"@faker-js/faker": "^10.1.0",
1010
"@types/elliptic": "^6.4.18",
1111
"@types/js-yaml": "^4.0.9",
12+
"@typescript/native-preview": "7.0.0-dev.20260112.1",
1213
"@vitest/coverage-v8": "4.0.6",
1314
"lefthook": "^2.0.8",
1415
"oxfmt": "^0.23.0",

packages/api/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@standard-community/standard-json": "^0.3.5",
5555
"@standard-community/standard-openapi": "^0.2.9",
5656
"@types/migrate-mongo": "^10.0.6",
57+
"@typescript/native-preview": "7.0.0-dev.20260112.1",
5758
"ajv": "^8.17.1",
5859
"ajv-formats": "^3.0.1",
5960
"bech32": "^2.0.0",

packages/client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"@nillion/nuc": "2.0.0-rc.0"
2626
},
2727
"devDependencies": {
28-
"tsdown": "^0.15.12",
29-
"typescript": "^5.9.3"
28+
"@typescript/native-preview": "7.0.0-dev.20260112.1",
29+
"tsdown": "^0.15.12"
3030
},
3131
"tsdown": {
3232
"clean": true,

packages/shared/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
},
2626
"devDependencies": {
2727
"@types/pino": "^7.0.5",
28+
"@typescript/native-preview": "7.0.0-dev.20260112.1",
2829
"pino": "^10.1.0",
2930
"tsdown": "^0.15.12",
3031
"typescript": "^5.9.3"

packages/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"zod": "^4.1.13"
2525
},
2626
"devDependencies": {
27-
"tsdown": "^0.15.12",
28-
"typescript": "^5.9.3"
27+
"@typescript/native-preview": "7.0.0-dev.20260112.1",
28+
"tsdown": "^0.15.12"
2929
},
3030
"tsdown": {
3131
"clean": true,

pnpm-lock.yaml

Lines changed: 93 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)