Open reda-alaoui opened 2 years ago
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
Hello,
I forked the project to upload https://github.com/tunnelvisionlabs/antlr4ts/pull/514. Now, until https://github.com/tunnelvisionlabs/antlr4ts/pull/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 alerna
like tool.What are the steps allowing to release (i.e. build and push artifacts to npmjs & cie) the project?