Repository navigation
deps: bump the npm-major group across 1 directory with 2 updates - #975
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps the npm-major group with 2 updates in the /infra directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [typescript](https://github.com/microsoft/TypeScript). Updates `@types/node` from 22.19.15 to 26.6.11 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `typescript` from 5.9.3 to 7.0.2 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v7.0.2) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.6.11 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major - dependency-name: typescript dependency-version: 7.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
❌ Changes requested: 1 required item (a required rule, a failing check or an unproven critical path).
Holding the merge:
infra/package.json:21Infra (config, synth) check is red on the TypeScript 7 bump (a check fails on this commit)
Why changes requested: infra/package.json:21 Infra (config, synth) check is red on the TypeScript 7 bump (a check fails on this commit).
Unchanged since my last review of 97340da: request changes. Since then the CI or plan results and the reviewer itself (an older build wrote my earlier review) changed; the verdict didn't.
Details: PR Overview · 🎯 Risk · Earlier comments
PR Overview
Dependabot bumps infra's @types/node from ^22 to ^26.6.11 and typescript from ^5.6 to ^7.0.2, with the matching lockfile update.
Changes
- infra/package.json: types/node ^22.0.0 to ^26.6.11
- infra/package.json: typescript ^5.6.0 to ^7.0.2
- infra/package-lock.json: resolved versions updated to match
- infra/package.json moves types/node to ^26.6.11 and typescript to ^7.0.2 (reviewed in part 1)
- The lockfile moves types/node to 26.6.11 and undici-types to 8.9.0
- The lockfile moves typescript to 7.0.2, which is a native build, and adds 20 optional @typescript/typescript- packages
- The typescript package now exposes only the
tscbin;tsserveris gone
Reviewed Changes
2 changed files.
| File | Description |
|---|---|
infra/package-lock.json |
Lockfile resolves typescript 7.0.2 and the new types/node. |
infra/package.json |
Bumps the types/node and typescript devDependency ranges. |
I re-read infra/tsconfig.json and infra/cdk.json at this head. tsconfig still has no types entry, and cdk still runs npx ts-node bin/coderhelm.ts. The CI check "Infra (config, synth)" is red on this head, and it is the check that builds and synthesizes infra. My four earlier comments on this commit are still open because the code is unchanged.
🎯 Risk: MEDIUM (64/100)
██████████blast radius 100 — ~50 dependent refs; hottest: package-lock.json (~25), package.json (~25) · cross-repo consumers: package-lock.json to 1 repo(s), package.json to 1 repo(s)███░░░░░░░sensitive area 30 — infra/ci████████░░test coverage 80 — 2 source / 0 test file(s) changed███░░░░░░░size/spread 25 — 395 lines across 2 file(s), spread 8%
FYI: apart from what blocks by rule, nothing here holds the merge. Assumed: The TypeScript 7 major bump is a real breaking change for infra (default types/no auto-types/node, ts-node programmatic API changes); CoderHelm's own approach is to fix the config (set tsconfig types: ["node"] and confirm/replace the ts-node runner) or, if that is too large for a dep-bump PR, split the types/node bump out and hold typescript at 5.x/6.x so the check goes green.
Earlier comments
0 settled and resolved · 4 still open
Was this review right? Rate it 👍 / 👎 so the reviewer learns · reply @coderhelm re-review or @coderhelm <question>
| "@types/node": "^26.6.11", | ||
| "aws-cdk": "2.1149.0", | ||
| "typescript": "^5.6.0" | ||
| "typescript": "^7.0.2" |
There was a problem hiding this comment.
🛑 Blocking (failing check): Infra (config, synth) check is red on the TypeScript 7 bump (bug, not verified)
"typescript": "^7.0.2" is the only toolchain change in this PR, and "Infra (config, synth)" fails on this head. infra/tsconfig.json has no types or moduleResolution setting, and infra/cdk.json still uses npx ts-node. Those are the places my earlier comments pointed to. Please fix the config so the check goes green. That means setting "types": ["node"] in tsconfig and confirming ts-node (or a replacement runner) works with the 7.x compiler. Alternatively, keep typescript on 5.x or 6.x and bump only @types/node.
Superseded by CoderHelm's latest review
Bumps the npm-major group with 2 updates in the /infra directory: @types/node and typescript.
Updates
@types/nodefrom 22.19.15 to 26.6.11Commits
Updates
typescriptfrom 5.9.3 to 7.0.2Release notes
Sourced from typescript's releases.
Commits
1e4744dMerge branch 'main' into ts7-releasea5a219cmicrosoft/typescript-go#4558ecfe30dUpdate status localization5de25b5Hide executable name in TypeScript statusd7ce74aShow bundled TypeScript version for packaged servers29be66aCorrect TS 7 release version to 7.0.2ed2bd1bMerge branch 'main' into ts7-release8873075Bump the github-actions group across 1 directory with 3 updates (microsoft/ty...9427131Set up stable / nightly extension split, other prep (microsoft/typescript-go#...d4eaca5microsoft/typescript-go#4549Maintainer changes
This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions