Is it possible to create a `yarn.lock` file without installing packages?

I need to generate a file yarn.lockfrom mine package.json, but I want to avoid creating r node_modules.. is this possible?

+7
source share
1 answer

You can use:

yarn generate-lock-entry

It generates a lock file based on the current manifest file package.json.

Documentation.

0
source

Source: https://habr.com/ru/post/1678796/


All Articles