-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Use one package manager, not two #11278
Comments
See #11289 for a discussion + experiment on caching the results of |
@danielrozenberg @choumx @erwinmombay Ever since we moved to |
This is an issue on I wonder if we should move back to using |
Do we have to include the |
It turns out that I like the idea of adding Remind me again, why are we using a lock file? :/ |
We can think of It also locks in the versions of unlisted packages (i.e., the packages that are implied via the dependencies of the packages that are declared explicitly) - again, for the purpose of locking in a last known good version |
Because accidental breaking changes can slip into semantically versioned packages. That means new AMP contributors may get into a state where Between the Travis and NPM issues you linked, maybe we should move back to yarn. 😄 |
For some context, the original FR from over a year ago: #2771 |
i would bring back yarn for security and other caches having deterministic builds (even more important than having working local builds for amp contributors) |
Gotcha. I agree that moving back to yarn (lock file, caching, presubmit check to make sure lock file is updated, etc.) is the way to go for now. |
I'm on it |
For still more context, see npm/npm#17722. I don't think there's a supported way to generate a steady-state version of |
Now that NPM supports version locking in v5, it would be nice to only have a single package manager, e.g. replace yarn.lock with package-lock.json.
/to @danielrozenberg /cc @rsimha-amp @erwinmombay
The text was updated successfully, but these errors were encountered: