-
Notifications
You must be signed in to change notification settings - Fork 39
Add Node.js 24 (Krypton LTS) support and update CI #6756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: louis-bompart <[email protected]>
|
@copilot Bump the nodeJS in the CI to Kyrpton too to check if it works |
Co-authored-by: louis-bompart <[email protected]>
|
@copilot check the others package in the monorepo such as auth, otherwise it won't build |
Co-authored-by: louis-bompart <[email protected]>
Added Node 24 support ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds Node.js 24 (Krypton LTS) support to all published packages and samples in the ui-kit repository. The changes address user-reported npm warnings when installing @coveo/headless and @coveo/bueno on Node 24. The PR follows the established pattern of supporting Node LTS versions starting from their first LTS release (24.11.0 for Krypton).
Key changes:
- Updated
engines.nodefield in all published packages, CLI tools, and samples to include^24.11.0 - Updated
.nvmrcfrom 22.17.1 to 24.11.1 for CI builds and testing - Incidental improvement: sample project now uses
workspace:*for@coveo/authdependency
Reviewed changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.nvmrc |
Updated Node version to 24.11.1 for CI builds |
package.json |
Added Node 24 support to root package engines (missing Node 20) |
packages/bueno/package.json |
Added Node 24 support to published package |
packages/headless/package.json |
Added Node 24 support to published package |
packages/headless-react/package.json |
Added Node 24 support to published package |
packages/auth/package.json |
Added Node 24 support to published package |
packages/atomic/package.json |
Added Node 24 support to published package |
packages/atomic-react/package.json |
Added Node 24 support to published package |
packages/atomic-angular/package.json |
Added Node 24 support to published package |
packages/atomic-angular/projects/atomic-angular/package.json |
Added Node 24 support to Angular library |
packages/atomic-hosted-page/package.json |
Added Node 24 support to published package |
packages/quantic/package.json |
Added Node 24 support to published package |
packages/shopify/package.json |
Added Node 24 support to published package |
packages/create-atomic/package.json |
Added engines field with Node 24 support to CLI package |
packages/create-atomic-component/package.json |
Added engines field with Node 24 support to CLI package |
packages/create-atomic-component-project/package.json |
Added engines field with Node 24 support to CLI package |
packages/create-atomic-result-component/package.json |
Added engines field with Node 24 support to CLI package |
packages/create-atomic-rollup-plugin/package.json |
Added engines field with Node 24 support to CLI package |
samples/headless/search-react/package.json |
Added Node 24 support and changed @coveo/auth to workspace:* |
pnpm-lock.yaml |
Lockfile updates reflecting dependency and deprecation changes |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Users installing
@coveo/headlessor@coveo/buenoon Node 24 receive npm warnings about unsupported engine versions. This PR extends engine compatibility to include Node 24 Krypton LTS and updates the CI to build and test with Node 24.Changes
Updated
engines.nodefield in all published packages and samples:"engines": { - "node": "^20.9.0 || ^22.11.0" + "node": "^20.9.0 || ^22.11.0 || ^24.11.0" }Updated
.nvmrcfor CI builds:Packages updated:
@coveo/bueno,@coveo/headless,@coveo/headless-react,@coveo/atomic,@coveo/atomic-react,@coveo/atomic-angular,@coveo/atomic-hosted-page,@coveo/auth,@coveo/quantic,@coveo/shopify@coveo/create-atomic,@coveo/create-atomic-component,@coveo/create-atomic-component-project,@coveo/create-atomic-result-component,@coveo/create-atomic-rollup-pluginFollowing the established pattern of supporting LTS versions from their first release. Node 24.11.0 is the first LTS release of Krypton.
Testing
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.