-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Fix @ember/string dependency #1582
Fix @ember/string dependency #1582
Conversation
@anehx should it be a peerDep? |
@RobbieTheWagner I don't think so. This addon is mostly used in other addons which do not include |
I think we should probably make it a peerDep and allow v3 and v4 like this https://github.com/minutebase/ember-can/blob/master/ember-can/package.json#L129 |
2ea5da3
to
a0aa434
Compare
@RobbieTheWagner Fair enough. I changed it in this PR. |
package.json
Outdated
@@ -105,7 +105,6 @@ | |||
"@babel/plugin-proposal-decorators": "^7.23.6", | |||
"@babel/preset-env": "^7.23.6", | |||
"@ember/optional-features": "^2.0.0", | |||
"@ember/string": "^3.1.1", |
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.
This will still need to be a devDep too right, so we're installing it ourselves when running the test app etc?
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.
Absolutely, my bad. Fixed!
`@ember/string` must be a peer dpendency as `ember-cli-addon-docs` imports it in their codebase. Currently this still works, but with v4 of `@ember/string` (v2 addon) this will break as it fully relies on `ember-auto-import`.
a0aa434
to
e37a134
Compare
CI is failing for other reasons, so I will go ahead and merge this. Thanks for the PR! |
Hi, @RobbieTheWagner. Could you help release a patch version of The documentation site for |
@ijlee2 I would love to help release a new version, but CI is failing currently. If you have time to diagnose and fix those failures, we could definitely get a new version out. |
@RobbieTheWagner Ah, I didn't see the CI failing in the main branch. Since the error message refers to |
@ember/string
must be a dependency asember-cli-addon-docs
imports it in their codebase. Currently this still works, but with v4 of@ember/string
(v2 addon) this will break as it fully relies onember-auto-import
.