Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 813 Bytes

YALC.md

File metadata and controls

12 lines (8 loc) · 813 Bytes

Testing changes locally using Yalc

  1. Download Yalc and install globally (yarn global add/npm install --global)
  2. Make changes in one or more packages (for example packages/grid)
  3. Run yalc publish in these packages
  4. Run yalc add @stenajs-webui/grid in the project you're working in. This will modify the package.json file, changing the version to a file:// path. DO NOT COMMIT THIS
  5. Re-run yalc publish if you make more changes

Note to Windows developers

Sometimes a yalc publish doesn't cause the downstream app to be updated. A work-around is to run yalc push --sig in the package folder (for example packages/grid) and then rm .\node_modules\.vite -Confirm:$false -force -recur && yarn start in the root folder of the consuming app.