scripts/VERDACCIO-TESTING.md
This directory contains a script to help test lerna-lite with a local Verdaccio registry.
node scripts/test-verdaccio.mjs
This will:
http://localhost:4873After Verdaccio is running:
Create a test user (in a new terminal):
npm adduser --registry http://localhost:4873
Use test credentials: test / test / [email protected]
Create .npmrc in project root:
registry=http://localhost:4873/
//localhost:4873/:_authToken=your-token-from-adduser
Test publishing:
lerna publish --canary --no-git-tag-version --no-push --yes
View packages: Open http://localhost:4873 in your browser
Stop-Process -Name "node" -ForceThis setup verifies that:
.npmrcPress Ctrl+C in the terminal running the script to stop Verdaccio.