Skip to content

fix: add engines to package json#1010

Merged
davidmenendez merged 2 commits intocarbon-design-system:mainfrom
davidmenendez:issue-982
Mar 2, 2026
Merged

fix: add engines to package json#1010
davidmenendez merged 2 commits intocarbon-design-system:mainfrom
davidmenendez:issue-982

Conversation

@davidmenendez
Copy link
Contributor

Closes #982

adds engines section to package.json

Changelog

New

  • adds engines section to package.json

@davidmenendez davidmenendez requested a review from a team as a code owner February 26, 2026 22:38
@netlify
Copy link

netlify bot commented Feb 26, 2026

Deploy Preview for ai-chat-components-react ready!

Name Link
🔨 Latest commit 201dfa1
🔍 Latest deploy log https://app.netlify.com/projects/ai-chat-components-react/deploys/69a2131eedeee500082d30df
😎 Deploy Preview https://deploy-preview-1010--ai-chat-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 26, 2026

Deploy Preview for carbon-ai-chat-components ready!

Name Link
🔨 Latest commit 201dfa1
🔍 Latest deploy log https://app.netlify.com/projects/carbon-ai-chat-components/deploys/69a2131e2f3cd60008bcfdd8
😎 Deploy Preview https://deploy-preview-1010--carbon-ai-chat-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 26, 2026

Deploy Preview for carbon-ai-chat-demo ready!

Name Link
🔨 Latest commit 201dfa1
🔍 Latest deploy log https://app.netlify.com/projects/carbon-ai-chat-demo/deploys/69a2131eee75e600086987b4
😎 Deploy Preview https://deploy-preview-1010--carbon-ai-chat-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

"packages/*"
],
"engines": {
"node": ">=22.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i thought it was 24?

and whatever npm goes with that. Guess we need @annawen1

Copy link
Contributor Author

@davidmenendez davidmenendez Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doing some more reading on the subject i found that the suggestion for version minimums is an LTS version, which in this case would be v22 (although i did have to double check and confirmed that the npm version minimum with 22 should be 10 and not 9, so I updated it).

adding engines and .nvmrc should help to lock down whatever issues are causing lock mismatches to happen though.

if we really want to try to nip it in the bud though we can refresh the lock by deleting it and regenerating it. that would give us a solid baseline moving forward to watch out for anything causing additional unwanted changes to the lock file 🤔

Copy link
Member

@annawen1 annawen1 Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm yeah that does make sense to me. I think we should be fine especially now that I switched our workflows to not modify the lock file which was the main reason for us adding the engines and .nvmrc file 🤞 If we are STILL having issues with the lock file, we can try bombing it like you mentioned

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohhh duh that should have been the first place we double checked: the workflows. good call!!

@davidmenendez davidmenendez enabled auto-merge March 2, 2026 15:49
@davidmenendez davidmenendez added this pull request to the merge queue Mar 2, 2026
Merged via the queue into carbon-design-system:main with commit b7f11fd Mar 2, 2026
23 of 24 checks passed
@davidmenendez davidmenendez deleted the issue-982 branch March 2, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specify node and npm version in engines section of package json

3 participants