Skip to content
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

3/x Enforce NodeJS versions with engines in package.json #8202

Merged
merged 1 commit into from
Jan 29, 2023

Conversation

alex-page
Copy link
Member

WHY are these changes introduced?

We currently set engines on the root package.json. The problem with this is that consumers of the library do not get this information and they can use the libraries without any warning of what version of NodeJS it supports.

This change adds the engines field to each package to ensure our consumers are using supported versions of NodeJS.

WHAT is this pull request doing?

Adding the engines field to package.json files

@alex-page alex-page marked this pull request as ready for review January 29, 2023 23:24
@alex-page alex-page merged commit 273d137 into bump-nodejs Jan 29, 2023
@alex-page alex-page deleted the enforce-node-versions branch January 29, 2023 23:31
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
polaris-react-cjs 212.06 KB (0%)
polaris-react-esm 136.31 KB (0%)
polaris-react-esnext 189.85 KB (0%)
polaris-react-css 40.63 KB (0%)

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.

1 participant