2022-12-12 21:44:43 +00:00
|
|
|
## JS/TS Package Builder
|
|
|
|
|
|
|
|
This container is designed to be used as a simple "build runner" environment for building and publishing JS/TS projects
|
|
|
|
using `yarn`.
|
|
|
|
|
|
|
|
### Running a build
|
2022-12-12 21:40:11 +00:00
|
|
|
|
|
|
|
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:
|
|
|
|
|
2022-12-14 16:23:12 +00:00
|
|
|
|
|
|
|
```
|
2023-01-06 22:57:14 +00:00
|
|
|
$ docker run --rm -it --add-host gitea.local:host-gateway \
|
2022-12-14 16:23:12 +00:00
|
|
|
-v ${HOME}/cerc/laconic-registry-cli:/workspace cerc/builder-js \
|
2023-01-05 03:43:13 +00:00
|
|
|
sh -c 'cd /workspace && CERC_NPM_AUTH_TOKEN=6613572a28ebebaee20ccd90064251fa8c2b94f6 \
|
2023-01-06 22:57:14 +00:00
|
|
|
build-npm-package-local-dependencies.sh http://gitea.local:3000/api/packages/cerc-io/npm/ 0.1.8'
|
2022-12-12 21:44:43 +00:00
|
|
|
```
|