-
Notifications
You must be signed in to change notification settings - Fork 28
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
Remove yarn as default #145
Comments
I can't remember any such logic, and also cannot find anything! Do you actually see anything like that? When not passing But you are right, when not passing And it seems it is wrongly picking I see there was a major refactoring in ember-cli/ember-cli#10368, but that logic has not changed. Can we regard this as a bug in ember-cli? /cc @bertdeblock @kategengler |
I think it is a bug in ember-cli now that we support pnpm, but also fixing it will probably be a breaking change for anybody using yarn workspaces and relying upon that, so we'll have to think about how to fix it while still supporting that. |
But any existing yarn user will have a lock file, so that detection function would still be able to identify an existing yarn repo as such, right? |
If you're in a workspace, do you have a yarn.lock at the lower level? I didn't think so and thought that was the purpose for the package used to detect workspaces. |
I see. So if that is how it should behave, then yes, we cannot just drop the logic and look for the lock file at the given directory only. But that's actually not how it works! If you look at the implementation of That's different to what the I think we could use |
when using default options with this blueprint in particular, the package manager is switched to yarn.
when using
--addon-only
it'snpm
.Let's remove the logic for setting up yarn by default to align with everything else and npm is default anyway
The text was updated successfully, but these errors were encountered: