-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
chore: remove engines field from package.json #6091
Conversation
Is this required? Signed-off-by: HBS <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
LGTM thanks for you first contribution 🎉
@ovflowd have you access to see what is the problème with Vercel ? |
Why you dont check Vercel Status Website? :) |
Looks like Vercel is having issues https://www.vercel-status.com/ |
oh I just discovered that 😅 and my first idea is "what why it's fail? Vercel take care about this ?" |
I'm confused; why would you want to remove this? the |
Now I noticed what this PR is about. Wholeheartedly agree with @ljharb. We added the engines field exactly because we only support said versions. |
@ljharb Doesn’t it only work when you have engine-strict set to true in your .npmrc? |
@MrHBS it gives you a warning regardless, and either way it's human documentation. No package.json should ever omit |
Well I saw this project lacked the flag in their .npmrc so I found this field redundant. Closing this since you all happen to disagree. |
Btw, I could be mistaken, shouldn’t it be >=18 without the v? |
Both are valid; see |
@ljharb Since it is simple enough, would you want me to open a PR to add the engine-strict flag? |
That will break installs if anything in the graph has mis-set its engines field, so no. It’s best to treat the engines field as advisory for your graph. |
Is this required?
Description
Validation
Related Issues
Check List
npx turbo lint
to ensure the code follows the style guide. And runnpx turbo lint:fix
to fix the style errors if necessary.npx turbo format
to ensure the code follows the style guide.npx turbo test
to check if all tests are passing.