chore(deps): consolidate Dependabot updates and adopt TypeScript 7 - #10
Merged
Merged
Conversation
Bring the outstanding Dependabot PRs into a single update: npm dependencies: - astro 7.1.2 -> ^7.1.4 and @astrojs/check 0.9.9 -> ^0.9.10 (astro group) - @playwright/test 1.61.1 -> ^1.62.0 - eslint 10.7.0 -> ^10.8.0 - globals 17.7.0 -> ^17.8.0 - @types/node 26.1.1 -> ^26.1.2 TypeScript 7 split-brain (per the TS 7.0 announcement's "Running Side-by-Side with TypeScript 6.0"): typescript-eslint and @astrojs/check cannot run on the native TS 7 compiler yet, so alias the bare `typescript` import to the TS 6 API package for linting/type-checking while installing TS 7 for building: - typescript -> npm:@typescript/typescript6@^6.0.2 (lint + astro check) - @typescript/native -> npm:typescript@^7.0.2 (tsc / build) GitHub Actions: - actions/checkout 5 -> 7 - actions/setup-node 6 -> 7 - actions/upload-artifact 5 -> 7 - Playwright container image 1.61.1-noble -> 1.62.0-noble to match @playwright/test Validation: npm run lint, typecheck, test:unit, build, and test:e2e all pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e5b791ce-9420-427b-9f46-e540071a0adf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Consolidates the nine open Dependabot PRs (Bump actions/setup-node from 6 to 7 #1–Bump @types/node from 26.1.1 to 26.1.2 #9) into a single update.
npm dependencies:
astro^7.1.2→^7.1.4&@astrojs/check^0.9.9→^0.9.10(astro group, Bump the astro group with 2 updates #4),@playwright/test^1.61.1→^1.62.0(Bump @playwright/test from 1.61.1 to 1.62.0 in the playwright group #5),eslint^10.7.0→^10.8.0(Bump eslint from 10.7.0 to 10.8.0 #7),globals^17.7.0→^17.8.0(Bump globals from 17.7.0 to 17.8.0 #8),@types/node^26.1.1→^26.1.2(Bump @types/node from 26.1.1 to 26.1.2 #9).GitHub Actions:
actions/checkout5→7 (Bump actions/checkout from 5 to 7 #2),actions/setup-node6→7 (Bump actions/setup-node from 6 to 7 #1),actions/upload-artifact5→7 (Bump actions/upload-artifact from 5 to 7 #3). Also bumped the Playwright container image1.61.1-noble→1.62.0-nobleto match@playwright/test.TypeScript 7 (split-brain, Bump typescript from 5.9.3 to 7.0.2 #6):
typescript-eslintand@astrojs/checkcannot run on the native TS 7 compiler yet — ESLint hard-fails with "typescript-eslint does not support TS 7.0". Following the TS 7.0 announcement's Running Side-by-Side with TypeScript 6.0, the baretypescriptimport is aliased to the TS 6 API package for linting/type-checking, while TS 7 is installed for building:"typescript": "npm:@typescript/typescript6@^6.0.2"→ lint +astro check"@typescript/native": "npm:typescript@^7.0.2"→tsc/ buildThe two packages expose distinct bins (
tsc6vstsc), so there is no conflict.Validation
npm run lint— passes on the TS 6 API (0 errors)npm run typecheck—astro check, 0 errors / 0 warningsnpm run test:unit— 14 passednpm run test:e2e— 5 passed (run withPLAYWRIGHT_PORT=4399to avoid a local 4321 clash)npm run build— completesScreenshots or notes
min-release-agenote: this environment sets npmmin-release-age = 7, and several Dependabot targets (astro, eslint, globals,@types/node,@astrojs/check,@playwright/test) were published within the last 7 days, so a normalnpm installcannot resolve them yet. The lockfile here was generated with the age gate lifted for that single install only (no config was persisted); CI/npm ciwill resolve normally once the versions age past the window (within a few days).astroresolved to the latest^7.1.4patch (7.1.5).typescript-eslintships native TS ≥7.1 support (typescript-eslint#10940); at that point thetypescriptalias can be collapsed back to a single TS 7 dependency.