Skip to content

Commit 1423697

Browse files
committed
Add yarn.lock
Yarn (https://yarnpkg.com) is like npm, but you don’t have do delete `node_modules` each time you have a bug. It is also faster. `yarn.lock` store exactly which versions of each dependency were installed. From https://yarnpkg.com/en/docs/yarn-lock: 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. Framework and library authors should also check yarn.lock into source control. Don’t worry about publishing the yarn.lock file as it won’t have any effect on users of the library.
1 parent 7245cf9 commit 1423697

File tree

3 files changed

+7279
-1
lines changed

3 files changed

+7279
-1
lines changed

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ test
1717
.editorconfig
1818
.versions
1919
.babelrc
20+
yarn.lock

bower.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
".gitignore",
2525
".npmignore",
2626
".versions",
27-
".babelrc"
27+
".babelrc",
28+
"yarn.lock"
2829
],
2930
"dependencies": {
3031
"jquery": "~2.2.0",

0 commit comments

Comments
 (0)