Skip to content

Commit 1924374

Browse files
build(deps): unblock TypeScript 7 API generation (#1610)
1 parent e742062 commit 1924374

17 files changed

Lines changed: 13894 additions & 13824 deletions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
---
3+
4+
No release note: this changes the web build and API generation toolchain only.

bun.lock

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

webapp/AGENTS.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,7 @@ names the replacement in its message; for one it does not list, assert on the pl
299299
The matchers **are** available in stories, because `expect` from `storybook/test` ships them. Copying
300300
an assertion out of a story into a route test is exactly how this bites.
301301

302-
## TypeScript versions
303-
304-
Type checking runs on TypeScript 7 through the `typescript7` alias, invoked by path because both it
305-
and `typescript` install a `tsc` bin and the winner is undefined. `typescript` itself stays on 6
306-
because `@hey-api/openapi-ts` calls the TypeScript compiler API at runtime and the 7 package ships
307-
only `tsc` — its peer range accepts 7, so nothing warns you before the generator dies.
308-
An override cannot provide different compiler implementations to the typechecker and generator;
309-
the alias keeps both runtimes explicit.
302+
## Type checking
310303

311304
**A dot-directory is invisible to a `**/*` include.** `tsconfig.json`'s `**/*.ts` does not match
312305
`.storybook/`, so a file there is type-checked only if something names the directory explicitly —

webapp/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"scripts": {
77
"dev": "bun --bun vite",
88
"start": "bun --bun vite",
9-
"build": "bun --bun vite build && bun ./node_modules/typescript7/bin/tsc",
9+
"build": "bun --bun vite build && bun --bun tsc",
1010
"serve": "bun --bun vite preview",
1111
"test": "bun --bun vitest run --exclude 'tools/oxlint/rules/**' --maxWorkers=4 && bun run test:lint-rules",
1212
"test:watch": "bun --bun vitest --exclude 'tools/oxlint/rules/**' --maxWorkers=4",
1313
"test:coverage": "bun --bun vitest run --coverage --exclude 'tools/oxlint/rules/**' --maxWorkers=4",
1414
"test:lint-rules": "bun --bun vitest run tools/oxlint/rules --maxWorkers=1 --outputFile.junit=./test-results/junit-webapp-lint-rules.xml",
1515
"test:storybook": "bun --bun vitest run --config vitest.config.storybook.ts",
16-
"typecheck": "bun ./node_modules/typescript7/bin/tsc --noEmit",
16+
"typecheck": "bun --bun tsc --noEmit",
1717
"format": "cd .. && oxfmt --write 'webapp/**/*.{js,jsx,ts,tsx,json,jsonc,css}'",
1818
"format:check": "cd .. && oxfmt --check 'webapp/**/*.{js,jsx,ts,tsx,json,jsonc,css}'",
1919
"lint": "cd .. && oxlint webapp",
@@ -68,7 +68,7 @@
6868
"devDependencies": {
6969
"@chromatic-com/storybook": "5.2.1",
7070
"@gitlab/svgs": "^3.160.0",
71-
"@hey-api/openapi-ts": "0.97.3",
71+
"@hey-api/openapi-ts": "0.0.0-next-20260824173136",
7272
"@oxlint/plugins": "1.79.0",
7373
"@playwright/test": "1.60.0",
7474
"@primer/primitives": "11.9.0",
@@ -105,8 +105,7 @@
105105
"storybook": "10.4.0",
106106
"tailwindcss": "4.3.0",
107107
"tailwindcss-animate": "1.0.7",
108-
"typescript": "6.0.3",
109-
"typescript7": "npm:typescript@7.0.2",
108+
"typescript": "7.0.2",
110109
"vite": "8.2.2",
111110
"vite-plugin-terminal": "1.4.0",
112111
"vitest": "4.1.11"

0 commit comments

Comments
 (0)