How to release this project?
reda-alaoui opened this issue · comments
Hello,
I forked the project to upload #514. Now, until #514 is merged upstream, I want to release my fork with the fix.
Usually there is a single package.json
. Here there are many of them and they are not orchestrated by a lerna
like tool.
What are the steps allowing to release (i.e. build and push artifacts to npmjs & cie) the project?
Here is the script that worked for me:
#!/bin/bash
set -xe
npm run unlink
npm version prerelease --preid=alpha4cosium --git-tag-version=false --prefix tool
npm version prerelease --preid=alpha4cosium --git-tag-version=false --prefix target/src
git add .
npm version prerelease --preid=alpha4cosium --force
npm ci
npm test
npm run pack-tool
npm run pack-runtime
npm publish ./tool
npm publish ./target/src