Allow building of npm packages using locally published dependencies #86

Merged
telackey merged 13 commits from dboreham/build-laconic-cli into main 2023-01-04 05:40:27 +00:00
Showing only changes of commit a5b1f6e107 - Show all commits

View File

@ -8,18 +8,10 @@ using `yarn`.
As a temporary measure while the necessary functionality is being added to Stack Orchestrator,
it is possible to build packages manually by invoking `docker run` , for example as follows:
```
$ docker run -it --add-host host.docker.internal:host-gateway \
-v ${HOME}/cerc/laconic-sdk:/workspace cerc/builder-js \
sh -c 'cd /workspace && NPM_AUTH_TOKEN=6613572a28ebebaee20ccd90064251fa8c2b94f6 \
/build-npm-package.sh http://host.docker.internal:3000/api/packages/cerc-io/npm/ 0.1.4'
```
or:
```
$ docker run --rm -it --add-host host.docker.internal:host-gateway \
-v ${HOME}/cerc/laconic-registry-cli:/workspace cerc/builder-js \
sh -c 'cd /workspace && NPM_AUTH_TOKEN=6613572a28ebebaee20ccd90064251fa8c2b94f6 \
/build-npm-package.sh http://host.docker.internal:3000/api/packages/cerc-io/npm/ 0.1.4'
build-npm-package-local-dependencies.sh http://host.docker.internal:3000/api/packages/cerc-io/npm/ 0.1.8'
```