This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Add yarn.lock file for users of yarn package manager.#113
Merged
pixelhandler merged 1 commit intopixelhandler:masterfrom Oct 18, 2016
Merged
Add yarn.lock file for users of yarn package manager.#113pixelhandler merged 1 commit intopixelhandler:masterfrom
pixelhandler merged 1 commit intopixelhandler:masterfrom
Conversation
Owner
|
@andrewmp1 can you update the description on this PR for how to use yarn with this addon? |
Collaborator
Author
|
@pixelhandler updated PR with a better description. |
Owner
|
@andrewmp1 also can you add notes here on how to maintain the new yarn.lock file? |
Collaborator
Author
|
@pixelhandler Okay, added more information about yarn.lock file. |
Owner
|
@andrewmp1 I'm curious if CI would need to be setup to use the yarn.lock file. That is does the "All checks passed" still mean according the the npm install of today? Can you look into how to utilize the yarn.lock file with the test runner in CI (Travis). This addon uses ember-try. So I'm curious if Ember-Try will embrace Yarn as well. |
Owner
|
@andrewmp1 I guess we can try to figure out how to utilize the yarn file in the build in a separate PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Yarn is a new package manager alternative to npm and its great.
This PR adds in a yarn.lock file that specifies the dependencies so that it installs exactly the versions expected in this file. It should be transparent to anyone using the npm client.
(npm install -g yarn)
Usage docs for yarn.lock are here: https://yarnpkg.com/en/docs/yarn-lock
Excerpts on how to use yarn.lock:
Managed by Yarn
Your yarn.lock file is auto-generated and should be handled entirely by Yarn. As you add/upgrade/remove dependencies with the Yarn CLI, it will automatically update your yarn.lock file. Do not edit this file directly as it is easy to break something.
Check into source control
All yarn.lock files should be checked into source control (e.g. git or mercurial). This allows Yarn to install the same exact dependency tree across all machines, whether it be your coworker’s laptop or a CI server.