1.1.5 • Published 4 years ago
apprise-fragments v1.1.5
Apprise fragments binary
Getting started
Install the dependency
yarn install apprise-fragmentsInsert the following scripts in the package json
"scripts":{ "preinstall": "yarn -s link-fragments", "start": "yarn -s process-fragments && yarn -s watch-fragments && <your start script>", "build": "yarn -s process-fragments && <your build script>", "fragments": " fragments ", "clone-fragments": "yarn -s fragments clone", "watch-fragments": "yarn -s fragments watch &", "link-fragments": "yarn -s fragments link", "process-fragments": "yarn -s link-fragments && yarn -s fragments postprocess", "lint-fragments": "eslint src/lib/* --max-warnings=0 --ext .ts,.tsx " }
How to release a new version of apprise-fragments
The release of the constructs in npm is automated in the CD/CI pipeline. So you will simply need to release your code in the main branch of the repository to see your package available on npm.
Before to move your code in the main branch, remember to upgrade the version of the package as following:
- Commit your changes, each commit in the repository should follow the convention: https://www.conventionalcommits.org/en/v1.0.0/
- Run
yarn releaseto auto generate theCHANGELOG.mdfile and upgrade the constructs version. - Pull request the code to the master branch of the repo
If you try to release a version already published (i.e. you forget to upgrade the package version in the mentioned file) the release will fail. Check out the CD/CI pipeline for additional information.