-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Declare peer dependency on @ember/string for compatibility with Ember >= 5 #359
Declare peer dependency on @ember/string for compatibility with Ember >= 5 #359
Conversation
package.json
Outdated
@@ -83,8 +84,7 @@ | |||
"node": "12.* || 14.* || >= 16" | |||
}, | |||
"volta": { | |||
"node": "16.20.2", | |||
"npm": "6.14.18" | |||
"node": "20.18.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 guess, this needs to be in separate PR.
@jelhan mind if we keep volta
for now as is? I intentionally kept it without changes until v2 conversion is completed
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.
The issue was that the existing lock file was not compatible with the specified NPM version. It was in v2 format not supported by NPM v6. Pinning to a recent version and regenerating lock file was the easiest solution.
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.
CI was failing. Likely an incompatibility caused by very outdated node 12 used in CI. I restored the original pinned versions of Node and NPM and regenerated the lockfile with that version.
Co-authored-by: Sergey Astapov <[email protected]>
Do you consider adding an additional peer dependency as a breaking change? If so, we may want to do other breaking changes in the same release. Potential breaking changes which we may want to ship are
|
@jelhan as this addon already depends on Was thinking about dropping support for older Ember versiosn to simplify CI in case if I can't get CI work fine with those old versions. Considering this change, sounds like we should plan new major as a result of many updates discussed here. |
Got it.
I have only limited open source time available. If you are already at it, that's great. We can park this PR until CI is fixed. |
# Conflicts: # .github/workflows/ci.yml # config/ember-try.js # package-lock.json # package.json
Declaring peer dependency on @ember/string to make the addon compatible with Ember >= 5.