workspace-to-yalc
v1.1.1
Published
Create yalc.lock file for workspace packages
Downloads
7
Readme
Description
Looks for workspace:
protocol packages and adds them to yalc.lock for easy install in docker containsers.
Run
To run npx workspace-to-yalc
.
Example
- Run
npx workspace-to-yalc
- Mount yalc store folder to docker container
- In Dockerfile
a. Install yalc with
npm i -g yalc
b. Runyalc update --store-folder <path-to-mounted-store>
in project directory
Options
--lockfile-only
Only generates yalc.lock file.
--file
Uses the file:
protocol.