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

feat: add engines to package.json #2185

Merged
merged 2 commits into from
Nov 3, 2023
Merged

feat: add engines to package.json #2185

merged 2 commits into from
Nov 3, 2023

Conversation

acstll
Copy link
Collaborator

@acstll acstll commented Oct 31, 2023

Hopefully saving contributors some time. Using node greater than 16 or not using yarn v1 yields a bunch of install/build errors.

Copy link

netlify bot commented Oct 31, 2023

Deploy Preview for marvelous-moxie-a6e2fe ready!

Name Link
🔨 Latest commit 925f6a3
🔍 Latest deploy log https://app.netlify.com/sites/marvelous-moxie-a6e2fe/deploys/6541234808dfbb00081932c1
😎 Deploy Preview https://deploy-preview-2185--marvelous-moxie-a6e2fe.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 site configuration.

@felix-ico
Copy link
Collaborator

felix-ico commented Oct 31, 2023

tested locally: node v18 throws the correct warnings but i can still use npm without any warnings ( i think the idea is to force yarn right?) ((not sure if something is wrong in my setup))

@acstll
Copy link
Collaborator Author

acstll commented Oct 31, 2023

tested locally: node v18 throws the correct warnings but i can still use npm without any warnings ( i think the idea is to force yarn right?) ((not sure if something is wrong in my setup))

oh, I think forcing is not needed, maybe that only works with engine-strict being true? in any case, it's a bit "documented"

@acstll acstll merged commit e42c984 into main Nov 3, 2023
11 checks passed
@acstll acstll deleted the feat/engines branch November 3, 2023 13:13
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.

2 participants