Package Exports
- @telerik/semantic-prerelease
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@telerik/semantic-prerelease) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
semantic-prerelease
A set of scripts for semantic-release that allow publishing of prerelease versions from branches.
This projects allows you to push prerelease package versions to NPM, hidden behind a dist-tag, and trigger deployments by fast-forwarding a release branch.
Usage
Install the node module through the following command:
npm install --save-dev @telerik/semantic-prereleaseDescribe the branches that will publish prerelease versions. In this example, commits in the
developbranch pushes prerelease versions to thedevdist-tag. UsefallbackTagsto bootstrap the versions.// package.json "release": { "branchTags": { "develop": "dev" }, "fallbackTags": { "dev": "latest" } }Configure semantic-release to use the included plug-ins:
// package.json "release": { "verifyConditions": "@telerik/semantic-prerelease/verifyConditions", "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits", "verifyRelease": "@telerik/semantic-prerelease/verifyRelease" }Use
semantic-prerelease publishinstead ofnpm publishin the end of your build. This publishes the prerelease versions behind dist-tags.