Skip to content

build(deps-dev): bump typescript from 5.9.3 to 6.0.2#663

Merged
yxxhero merged 2 commits intomainfrom
dependabot/npm_and_yarn/typescript-6.0.2
Mar 26, 2026
Merged

build(deps-dev): bump typescript from 5.9.3 to 6.0.2#663
yxxhero merged 2 commits intomainfrom
dependabot/npm_and_yarn/typescript-6.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2026

Bumps typescript from 5.9.3 to 6.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 24, 2026
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.9.3...v6.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.2 branch from 023020b to 06f9984 Compare March 25, 2026 07:28
@yxxhero
Copy link
Copy Markdown
Member

yxxhero commented Mar 26, 2026

@copilot fix ci issue.

- Replace ts-jest (incompatible with TS 6, requires <6) with @swc/jest
- Update jest.config.mjs to use @swc/jest transformer
- Add .npmrc with legacy-peer-deps=true for transitive peer dep conflicts
- Add @typescript-eslint/parser and @typescript-eslint/eslint-plugin as direct devDeps
- Fix tsconfig.json moduleResolution from deprecated 'node' to 'bundler'
- Rebuild dist/ with TypeScript 6.0.2

Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
Agent-Logs-Url: https://github.com/helmfile/helmfile-action/sessions/3df5ee88-8258-416a-bd60-f721af5e32a4
Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

@copilot fix ci issue.

Fixed in commit 130dc35. The CI failures were caused by multiple TypeScript 6 incompatibilities:

  1. ts-jest@29.4.6 requires typescript <6 → replaced with @swc/jest + @swc/core (no TS version restriction), updated jest.config.mjs accordingly
  2. @typescript-eslint/parser/@typescript-eslint/eslint-plugin (via eslint-plugin-github) require typescript <6.0.0 → added .npmrc with legacy-peer-deps=true and added them as explicit devDependencies so they're hoisted properly
  3. tsconfig.json moduleResolution: "node" is deprecated in TypeScript 6 → changed to "bundler" (appropriate since @vercel/ncc handles bundling)

All 25 tests pass, npm ci, build, lint, and package all succeed.

Copilot AI requested a review from yxxhero March 26, 2026 01:11
@yxxhero yxxhero merged commit d9fefe2 into main Mar 26, 2026
12 checks passed
@yxxhero yxxhero deleted the dependabot/npm_and_yarn/typescript-6.0.2 branch March 26, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants