-
Notifications
You must be signed in to change notification settings - Fork 34
Bug 1701203 - Declare a minimum node version in the package.json #260
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
…ne field to package.json.
|
Hey @AmrDhaliwal , thank you for your PR and welcome! This PR is currently failing our CI tests. Would you kindly check why that's happening? You can also run some tests locally with |
AmrDhaliwal
left a comment
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.
Removed an extra comma from line 103 in package.json in glean that was causing errors.
|
Hi @Dexterp37, It seems there was an extra comma that was causing the problems. |
Dexterp37
left a comment
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.
Thanks for making the tests pass! I have one additional small request.
glean/package.json
Outdated
| }, | ||
| "engines": { | ||
| "node": ">=12.20.0", | ||
| "npm": ">7.0.0" |
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.
I think what we really want is >= here
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.
I have gone ahead and made that change.
| "uuid": "^8.3.2" | ||
| }, | ||
| "engines": { | ||
| "node": ">=12.20.0", |
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.
Would you kindly add an entry to our CHANGELOG.md file?
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.
Hi @Dexterp37,
I have added the bug as an entry into the CHANGELOG.md file.
Dexterp37
left a comment
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.
We're almost there! Thanks again for this!
CHANGELOG.md
Outdated
|
|
||
| [Full changelog](https://github.com/mozilla/glean.js/compare/v0.10.2...main) | ||
|
|
||
| * [#260](https://github.com/mozilla/glean.js/pull/260): Set minimum node version to "node": ">=12.0.0". |
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.
| * [#260](https://github.com/mozilla/glean.js/pull/260): Set minimum node version to "node": ">=12.0.0". | |
| * [#260](https://github.com/mozilla/glean.js/pull/260): Set minimum node (>= 12.0.0) and npm (>= 7.0.0) versions. |
glean/package-lock.json
Outdated
| }, | ||
| "engines": { | ||
| "node": ">=12.20.0", | ||
| "npm": ">7.0.0" |
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.
Please run npm i --package-lock-only to update the lock file
|
Hi @Dexterp37, I updated the CHANGELOG.md and updated the lock file. |
Dexterp37
left a comment
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.
Thank you! And don't worry about the delays, there's no rush :)
Fixed the bug that required a minimum node version by adding the engine field to package.json.