-
Notifications
You must be signed in to change notification settings - Fork 93
chore: adjust package engines versions #6725
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
This package does not even target Node.JS so we could even drop the `node` dependency for `engines. But lets at least allow the current LTS version (22) along side with LTS 20. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
|
||
- name: Set up npm ${{ steps.package-engines-versions.outputs.npmVersion }} | ||
run: npm i -g npm@"${{ steps.package-engines-versions.outputs.npmVersion }}" | ||
node-version-file: package.json |
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.
But it doesn't support devEngines
yet, right?
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.
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.
So no but works as long as devEngines are in the upper bound of the engines.
IMHO browser libraries like this do not even need any engine
as they only target the browser not Node (in contrast to e.g. vite-config which targets Node).
"node": "^20.11.0 || ^22", | ||
"npm": "^10 || ^11" | ||
}, | ||
"devEngines": { | ||
"packageManager": { | ||
"name": "npm", | ||
"version": "^10", | ||
"onFail": "error" | ||
}, | ||
"runtime": { | ||
"name": "node", | ||
"version": "^22", | ||
"onFail": "error" | ||
} |
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 recall having a script to update all libs/apps
☑️ Resolves
This package does not even target Node.JS so we could even drop the
node
dependency for `engines.But lets at least allow the current LTS version (22) along side with LTS 20.
🏁 Checklist
stable8
for maintained Vue 2 version.