1.0.1 • Published 5 years ago
@tadayosi/artemis-plugin-npm v1.0.1
NPM Package for Artemis Plugin
Prerequisites
To build and publish the package the following tools need to be installed locally:
Build
Run the following command:
yarn buildThis will download the artifact org.apache.activemq:artemis-plugin and unpack the plugin js files into target/ directory. It will then compile them into dist/artemis-plugin.<hash>.js.
Publish
Once build is successful, make sure to update the main field in package.json with the output file name under dist/, as the content hash changes at each build.
"main": "dist/artemis-plugin.d0c8c95f.js",To publish the npm package, run the following command:
yarn publishOnce successfully published, make sure to push the published tag to the repository:
git push origin master --tags