-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: semantic-release Add semantic-release configuration Install the version-controlled dependencies from `package.json` and `yarn.lock` - commit some assets as part of the version bump: - `CHANGELOG.md` - `**/package.json` - `yarn.lock` - specify conventionalcommits style Directly use `lerna publish` to push out a release * build(deps): add semantic-release to package.json and yarn.lock Version these dependencies * build(lerna): lerna conventional commits Tell Lerna to use conventional commits for changelog and versioning. * build(commitlint): conventional commit should allow semantic-release commit messages Allow conventional commit message format. * docs(CONTRIBUTING): update Contributing guide - update stale links - modernize release steps * docs(README): add semantic-release badge Add a badge to advertise the semantic-release feature.
- Loading branch information
1 parent
f4813d4
commit 6b7a180
Showing
8 changed files
with
1,134 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/semantic-release.json | ||
--- | ||
branches: | ||
- master | ||
- name: alpha | ||
prerelease: true | ||
channel: alpha | ||
|
||
plugins: | ||
- - '@semantic-release/commit-analyzer' | ||
- preset: conventionalcommits | ||
releaseRules: | ||
- type: docs | ||
scope: README | ||
release: patch | ||
|
||
- '@semantic-release/release-notes-generator' | ||
- - '@semantic-release/changelog' | ||
- changelogTitle: "# Changelog\n\nAll notable changes to this project will be documented in this file." | ||
- - '@semantic-release/exec' | ||
- publishCmd: yarn lerna publish --no-git-tag-version --no-git-reset --no-push --yes --dist-tag=${nextRelease.channel} --exact ${nextRelease.version} | ||
- - '@semantic-release/git' | ||
- assets: | ||
- 'CHANGELOG.md' | ||
- 'package.json' | ||
- 'packages/*/package.json' | ||
- 'yarn.lock' | ||
- '@semantic-release/github' | ||
|
||
debug: true | ||
dryRun: true | ||
preset: conventionalcommits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.