-
Notifications
You must be signed in to change notification settings - Fork 9
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
Consider using npm instead of yarn #28
Comments
I've been using npm as I don't have yarn running locally. What am I missing out on? |
I tested the monorepo setup with npm just to see if this would be feasible. It seems like building packages works which is great. However, something goes wrong on how turbo executes the dev watch command:
This is probably something that could be resolved but I won't jump into this right now. |
I believe this is at least partially resolved since we removed the yarn.lock file on #50. This means that both npm and yarn are supported equally by the basic-starter. For example, documentation in dev.acquia.com is already recommending to use npm. We are still using yarn internally for development, at least for now. In order to reduce confusion, we should continue to recommend using yarn within this repository until the monorepo is converted to use npm. |
Discussed this with @fiasco and we agreed that this has been sufficiently addressed for the GA now that the basic-starter is agnostic about package manager and can be used with both yarn and npm. I'm leaving this open since for better maintainer experience, we might want to consider switching to npm, but we should not block the GA on that. |
As someone unfamiliar with modern JS development, my experience:
npm
(e.g., on npmjs.com itself)I'm curious what others' experiences are and also what (if anything) the decision to choose yarn over npm was based on.
The text was updated successfully, but these errors were encountered: