Bump typescript from 6.0.3 to 7.0.2#111
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
f845f52 to
684fab7
Compare
|
@dependabot rebase |
|
Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request |
|
@copilot fix the errors |
Fixed in commits b5cef84 and 9aa28aa. Root cause: TypeScript 7 is the Go-based rewrite and completely changed its npm package API — the old compiler API ( Fix: Since no version of
This workaround can be removed once |
|
@dependabot rebase |
|
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
|
@dependabot recreate |
Bumps [typescript](https://github.com/microsoft/TypeScript) from 6.0.3 to 7.0.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/commits) --- updated-dependencies: - dependency-name: typescript dependency-version: 7.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
94742d5 to
ac1872a
Compare
|
@copilot fix ci issues after the dep update |
…th TypeScript 7
Fixed in commits ac1872a..latest. Root cause: Fix:
This workaround can be removed once |
- Remove eslint, eslint-config-next, @eslint/compat, typescript-for-eslint - Remove eslint.config.mjs and scripts/setup-eslint-ts-compat.mjs - Add @biomejs/biome with biome.json config - Update lint script to use "biome check ." - Add format script using "biome check --fix ." - Remove postinstall hook (no longer needed)
Next.js needs typescript available at build time. With devDependencies potentially omitted in production builds, this ensures tsc is always resolvable during `next build`.
typescript@7 in this ecosystem is the native (Go) compiler rewrite: its package ships no `lib/typescript.js` and exports only `.` + `./unstable/*`. Next.js's build-time type checker requires the classic `typescript/lib/ typescript.js` JS API, so `next build` reported "TypeScript ... not installed" and then segfaulted. The native compiler is a *separate* package (`@typescript/native-preview`) in this Next.js version, not a replacement for the `typescript` package. Revert the Dependabot bump back to the classic ^6 line and move it back to devDependencies (Vercel installs devDependencies at build time, and scripts/vercel-build.sh runs a plain `next build`, so the earlier "move to dependencies" workaround was unnecessary). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps typescript from 6.0.3 to 7.0.2.
Commits
Maintainer changes
This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.