Closed jshwlkr closed 7 years ago
You better keep the file, for Travis CI, too.
"If your Node.js project has the yarn.lock file in the repository root, we proceed to install Yarn and execute the yarn command instead of the default npm install."
Maybe I should've been more verbose. Excluding via the config, not via gitignore. Should I be keeping that around in the _site folder?
I'm sorry. I missunderstood your intention.
The yarn.lock should be in the repo. But in _site we don't need it.
So it's good to exclude it in _config.yml.
Sorry about my hasty comment! Should have looked at the actual files first, my bad!
@jshwlkr Good job. Thanks and merged!
Yarn actually suggests keeping the lockfile committed: https://yarnpkg.com/blog/2016/11/24/lockfiles-for-all/