Updating packages#1530
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the website’s npm dependencies to newer versions (notably Astro, Starlight, Marked, and Shiki) and refreshes the lockfile accordingly.
Changes:
- Bump
astro,@astrojs/starlight,@astrojs/sitemap,marked, andshikiversions inwebsite/package.json. - Regenerate
website/package-lock.jsonto capture updated transitive dependencies and engine constraints.
Show a summary per file
| File | Description |
|---|---|
website/package.json |
Updates direct website dependencies to newer versions. |
website/package-lock.json |
Updates resolved dependency graph, including new Node engine requirements introduced by upgrades. |
Copilot's findings
- Files reviewed: 1/2 changed files
- Comments generated: 2
| "@astrojs/sitemap": "^3.7.2", | ||
| "@astrojs/starlight": "^0.38.4", | ||
| "astro": "^6.1.9", | ||
| "choices.js": "^11.2.2", |
There was a problem hiding this comment.
Upgrading to Astro 6.x raises the minimum supported Node.js version (the lockfile shows astro@6.1.9 requires node >=22.12.0). Our CI workflows for the website currently use Node 20 (e.g., .github/workflows/build-website.yml and deploy-website.yml), so builds/installations will fail unless the repo’s Node version is bumped accordingly (and ideally reflected via an engines.node field). If the repo must stay on Node 20, astro should remain on a compatible major version instead.
| "engines": { | ||
| "node": "18.20.8 || ^20.3.0 || >=22.0.0", | ||
| "node": ">=22.12.0", | ||
| "npm": ">=9.6.5", |
There was a problem hiding this comment.
The updated lockfile records astro@6.1.9 with engines.node >=22.12.0. This will conflict with the repo’s current GitHub Actions website workflows that install/build with Node 20, causing CI failures unless the workflows (and any documented/tooling Node version) are updated to >=22.12.0.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.stagedbranch for this pull request.Description
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.