You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short, Yarn workspaces work by hoisting duplicate dependencies within a monorepo to the parent project, and things just work because of the native require() process for finding dependencies (traversing up directories).
Problem: From what I can tell, ember-cli-version-checker manually finds dependencies, and doesn't follow the logic which powers require(), and so features such as dependency hoisting are a non-starter for Ember apps.
Are my assumptions correct thus far? If so, have there been any discussions around altering the logic to more closely resemble require(), or are there any viable known alternatives?
Thank you in advance, can provide more info as needed.
ember-cli-version-checker (since v2.0.0 at least) only leverages the normal require algorithm to find npm dependencies. v1.0.0 had the behavior you are describing.
Can you confirm which version you are using (note: there are often times multiple versions at play in an app...)?
Not too long ago @ef4 did a ton of work to go through and submit pull requests to all of the deps that were still using v1.0.0, I believe they are all addressed and released at this point so you should try to update and make sure you are on latest of everything...
Hrmm, you're right. Still having issues in other places with dependencies, even after trying out [email protected]. Going to shelve my work for now and let things settle. Thank you!
Activity
rwjblue commentedon Dec 7, 2017
ember-cli-version-checker (since v2.0.0 at least) only leverages the normal require algorithm to find npm dependencies. v1.0.0 had the behavior you are describing.
Can you confirm which version you are using (note: there are often times multiple versions at play in an app...)?
Not too long ago @ef4 did a ton of work to go through and submit pull requests to all of the deps that were still using v1.0.0, I believe they are all addressed and released at this point so you should try to update and make sure you are on latest of everything...
k3n commentedon Dec 8, 2017
Hrmm, you're right. Still having issues in other places with dependencies, even after trying out [email protected]. Going to shelve my work for now and let things settle. Thank you!