- Download Yalc and install globally (
yarn global add
/npm install --global
) - Make changes in one or more packages (for example
packages/grid
) - Run
yalc publish
in these packages - Run
yalc add @stenajs-webui/grid
in the project you're working in. This will modify thepackage.json
file, changing the version to afile://
path. DO NOT COMMIT THIS - Re-run
yalc publish
if you make more changes
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.