| 123456789101112131415161718192021 |
- #!/bin/bash
- # A shell script which publishes all packages to a local Verdaccio registry for testing / local dev purposes
- if [[ -z "${VERDACCIO_URL}" ]]; then
- VERDACCIO=http://localhost:4873/
- else
- VERDACCIO="${VERDACCIO_URL}"
- fi
- echo "Publishing to Verdaccio @ $VERDACCIO"
- cd ../packages/admin-ui-plugin && npm publish -reg $VERDACCIO &&\
- cd ../admin-ui && npm publish -reg $VERDACCIO &&\
- cd ../asset-server-plugin && npm publish -reg $VERDACCIO &&\
- cd ../common && npm publish -reg $VERDACCIO &&\
- cd ../core && npm publish -reg $VERDACCIO &&\
- cd ../create && npm publish -reg $VERDACCIO &&\
- cd ../elasticsearch-plugin && npm publish -reg $VERDACCIO &&\
- cd ../email-plugin && npm publish -reg $VERDACCIO
- cd ../testing && npm publish -reg $VERDACCIO
|