|
Download wp-calypso/docs/lockfile.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/docs/lockfile.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/docs/lockfile.md
-
curl -L -o lockfile.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/docs/lockfile.md
676 Bytes
NPM Lockfile
We use yarn.lock
to lock down our dependency versions. This allows us to freeze all dependencies at the
exact version we have installed in our node_modules.
Generating The Lockfile
Yarn will automattically generate and update the lock file whenever yarn, yarn install or yarn add is called. If you've manually updated a package.json file then Yarn will update the lock file as necessary.
Testing
To verify that the new yarn.lock works:
- Run
yarn run distcleanto delete localnode_modules - Run
yarn install --immutable - Verify that Calypso works as expected and that tests pass