Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/typescript-seven-stands-alone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

No release note: this changes the web build and API generation toolchain only.
29 changes: 14 additions & 15 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

## TypeScript versions

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

**A dot-directory is invisible to a `**/*` include.** `tsconfig.json`'s `**/*.ts` does not match
`.storybook/`, so a file there is type-checked only if something names the directory explicitly —
Expand Down
9 changes: 4 additions & 5 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"scripts": {
"dev": "bun --bun vite",
"start": "bun --bun vite",
"build": "bun --bun vite build && bun ./node_modules/typescript7/bin/tsc",
"build": "bun --bun vite build && bun --bun tsc",
"serve": "bun --bun vite preview",
"test": "bun --bun vitest run --exclude 'tools/oxlint/rules/**' --maxWorkers=4 && bun run test:lint-rules",
"test:watch": "bun --bun vitest --exclude 'tools/oxlint/rules/**' --maxWorkers=4",
"test:coverage": "bun --bun vitest run --coverage --exclude 'tools/oxlint/rules/**' --maxWorkers=4",
"test:lint-rules": "bun --bun vitest run tools/oxlint/rules --maxWorkers=1 --outputFile.junit=./test-results/junit-webapp-lint-rules.xml",
"test:storybook": "bun --bun vitest run --config vitest.config.storybook.ts",
"typecheck": "bun ./node_modules/typescript7/bin/tsc --noEmit",
"typecheck": "bun --bun tsc --noEmit",
"format": "cd .. && oxfmt --write 'webapp/**/*.{js,jsx,ts,tsx,json,jsonc,css}'",
"format:check": "cd .. && oxfmt --check 'webapp/**/*.{js,jsx,ts,tsx,json,jsonc,css}'",
"lint": "cd .. && oxlint webapp",
Expand Down Expand Up @@ -68,7 +68,7 @@
"devDependencies": {
"@chromatic-com/storybook": "5.2.1",
"@gitlab/svgs": "^3.160.0",
"@hey-api/openapi-ts": "0.97.3",
"@hey-api/openapi-ts": "0.0.0-next-20260824173136",
"@oxlint/plugins": "1.79.0",
"@playwright/test": "1.60.0",
"@primer/primitives": "11.9.0",
Expand Down Expand Up @@ -105,8 +105,7 @@
"storybook": "10.4.0",
"tailwindcss": "4.3.0",
"tailwindcss-animate": "1.0.7",
"typescript": "6.0.3",
"typescript7": "npm:typescript@7.0.2",
"typescript": "7.0.2",
"vite": "8.2.2",
"vite-plugin-terminal": "1.4.0",
"vitest": "4.1.11"
Expand Down
Loading
Loading