Yarn: Feature Request: yarn --without-lock-file

Created on 29 Oct 2016  路  2Comments  路  Source: yarnpkg/yarn

Do you want to request a _feature_ or report a _bug_?
Feature

What is the current behavior?
There should be an option to not create a yarn.lock file when installing the dependencies using yarn or yarn add. I did not find any option to do so.

I understand the use cases of yarn.lock but I think adding this option will do no harm. For instance, we may just want to install the dependencies using yarn for some project that doesn't have a yarn.lock and use npm instead.

Something like yarn --without-lock-file would be sleek.

Most helpful comment

All 2 comments

@rockingskier I didn't check this: yarn install --help. Stupid me, thanks.

Was this page helpful?
0 / 5 - 0 ratings