Skip to content

Commit 16df780

Browse files
committed
Upgrade to stable typescript 7.
1 parent 2b96bf8 commit 16df780

32 files changed

Lines changed: 799 additions & 462 deletions

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ Do not edit generated files under `packages/ts-page-scripts/src/embed` manually.
8484

8585
When page script source changes require regenerated embeds, update only the source and generator configuration, then tell the user to run the embed script manually.
8686

87-
use tsgo instead of tsc to build typescript files. This repo uses typescript v7.
87+
Use the stable TypeScript 7 `tsc` command to build and type-check TypeScript files.

‎FEATURES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ This inventory summarizes the package capabilities currently visible in the repo
256256

257257
## Build and Tooling Scripts
258258

259-
- TypeScript 7 native preview dependency.
259+
- Stable TypeScript 7 compiler dependency.
260260
- Yarn 4 workspaces.
261261
- Vite config.
262262
- Biome formatting and checking.

‎README_WRITING_CHECKLIST.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ Before a section is accepted, answer these questions.
227227

228228
- Do commands exist in root or package `package.json`?
229229
- Do commands avoid running generated embed scripts as a reader prerequisite?
230-
- Is `tsgo` used instead of `tsc` for TypeScript package build/typecheck
231-
language, except where a package script explicitly uses another tool?
230+
- Do TypeScript build and type-check commands use the stable TypeScript 7
231+
`tsc` executable, except where a package script explicitly uses another tool?
232232

233233
### Status
234234

‎frontend/IMPLEMENTATION.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Browser verification found existing shared-framework accessibility issues:
4242
These are recorded for a shared-component accessibility pass. The pilot does
4343
not hide them behind page-specific replacements or runtime patches.
4444

45-
Verification passed: tsgo, the local production build, live button controls and
45+
Verification passed: TypeScript type checking, the local production build, live button controls and
4646
form reset, stateful tabs, ModalStore actions, dialog events/focus restoration,
4747
all dialog sizes and motion directions, nested dialogs, native code copying,
4848
TOC targets, 320–1920px layout checks, mobile navigation, and the existing
@@ -101,7 +101,7 @@ It does not require changes to generated embeds or framework APIs.
101101

102102
## Verification plan
103103

104-
Build the site through the project runner and SSG API, check the frontend with `tsgo`, inspect
104+
Build the site through the project runner and SSG API, check the frontend with `tsc`, inspect
105105
desktop/mobile browser screenshots, and exercise navigation, copy controls,
106106
tabs, and reactive examples. Check semantic accessibility, reduced motion,
107107
JavaScript-disabled rendering, internal links, metadata, and publish output.

‎frontend/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ these require attention before treating the documentation as release-ready.
155155
## Type checking
156156

157157
```sh
158-
yarn tsgo -p frontend/tsconfig.json --noEmit
158+
yarn tsc -p frontend/tsconfig.json --noEmit
159159
```
160160

161161
Landing-page verification covered all workbench tabs, arrow/Home/End keys, counter

‎frontend/docs/component-documentation-plan.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The existing Btn, BtnLink, BtnGroup, BtnGroupDropDown, Badge, Tabs and Modal gui
3131

3232
1. Replace the first-collection catalog with grouped, complete links and concise descriptions.
3333
2. Verify every public registered component has a guide and every registered prop has an API entry.
34-
3. Format and type-check all sample entry points with Biome and tsgo.
34+
3. Format and type-check all sample entry points with Biome and TypeScript 7.
3535
4. Build the complete site; verify all routes, fragments, sample bundles and source tabs.
3636
5. Exercise interactive samples in a browser, including empty/disabled states and keyboard controls.
3737
6. Review representative desktop/mobile screenshots in light and dark, then resolve overflow or hierarchy problems.
@@ -44,7 +44,7 @@ Group guides into `actions`, `layout`, `forms`, `data`, `landing`, `site` and `r
4444

4545
- Source inventory and contract review: complete. The catalog covers 67 public components and browser entry points.
4646
- Guide implementation: complete, with 60 new individual guides and colocated source files.
47-
- Type checking with tsgo and Biome checks: passed.
47+
- Type checking with TypeScript and Biome checks: passed.
4848
- Isolated SSG build after categorization: passed for 76 content pages; all 39 generated script references resolve to files.
4949
- Browser review: all 60 new guides checked in light and dark at 1440px and 390px. No horizontal page overflow, duplicate IDs, broken local fragments or runtime exceptions were found by the checks.
5050
- Source fidelity after categorization: 177 sample source tabs across all component guides match their rendered code and associated TypeScript files.

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"name": "purestack-repo",
44
"version": "1.1.0",
5-
"packageManager": "yarn@4.9.2",
5+
"packageManager": "yarn@4.18.1",
66
"type": "module",
77
"sideEffects": false,
88
"workspaces": [
@@ -20,10 +20,10 @@
2020
"devDependencies": {
2121
"@biomejs/biome": "^2.4.15",
2222
"@types/node": "^25.6.2",
23-
"@typescript/native-preview": "7.0.0-dev.20260421.2",
2423
"esbuild": "^0.28.0",
25-
"tsdown": "^0.22.0",
24+
"tsdown": "0.23.0",
2625
"tsx": "^4.21.0",
26+
"typescript": "7.0.2",
2727
"vite": "^7.3.1",
2828
"vite-tsconfig-paths": "^6.1.1",
2929
"vitest": "^4.0.18"

‎packages/purestack/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"LICENSE"
3636
],
3737
"scripts": {
38-
"build": "tsgo",
38+
"build": "tsc",
3939
"lint": "biome check ./src --formatter-enabled=false --write",
4040
"test": "vitest"
4141
},

‎packages/ts-common/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"LICENSE"
4040
],
4141
"scripts": {
42-
"build": "tsgo",
42+
"build": "tsc",
4343
"lint": "biome check ./src --formatter-enabled=false --write",
4444
"test": "vitest"
4545
}

‎packages/ts-components/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"LICENSE"
4141
],
4242
"scripts": {
43-
"build": "tsgo",
43+
"build": "tsc",
4444
"regor-components": "yarn tsx ../../scripts/regor-components.ts",
4545
"lint": "biome check ./src --formatter-enabled=false --write",
4646
"test": "vitest"

0 commit comments

Comments
 (0)