Skip to content

Commit

Permalink
feat: my first feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bogaertg committed Sep 25, 2022
1 parent 2b3197b commit e97c267
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"tagFormat": "${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/npm", {
"npmPublish": false
}],
"@semantic-release/changelog",
["@semantic-release/git", {
"assets": ["CHANGELOG.md","package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}],
"@semantic-release/github"
]
}
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# [2.0.0](https://github.com/bogaertg/semantic-release-demo/compare/1.3.0...2.0.0) (2022-09-15)


### chore

* refactor without backward compatibility ([529384b](https://github.com/bogaertg/semantic-release-demo/commit/529384b51e49e7bbbce4892c8390b6555daed1f1))


### BREAKING CHANGES

* Oops, i dit it again

# [1.3.0](https://github.com/bogaertg/semantic-release-demo/compare/1.2.0...1.3.0) (2022-09-14)


### Bug Fixes

* allow provided config object to extend other configs ([#3](https://github.com/bogaertg/semantic-release-demo/issues/3)) ([e84b7d9](https://github.com/bogaertg/semantic-release-demo/commit/e84b7d91ce82230104cb2258a1a849859d09de26))


### Features

* **api:** send an email to the customer when a product is shipped ([#2](https://github.com/bogaertg/semantic-release-demo/issues/2)) ([4cf70d8](https://github.com/bogaertg/semantic-release-demo/commit/4cf70d8d69499318b49be58aa4a9429ddfbe7652))
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# semantic-release-demo
# semantic-release-npm-demo

## Installation

```bash
npm i -g semantic-release
npm i -g @semantic-release/changelog
npm i -g @semantic-release/github
npm i -g @semantic-release/exec
npm i -g @semantic-release/git
npm i -g @semantic-release/release-notes-generator
```

# Usage

```bash
semantic-release --no-ci
# Dry run mode
# semantic-release --dry-run --no-ci
```

# Commit

## Breaking changes

```
chore: refactor without backward compatibility
BREAKING CHANGE: Oops, i dit it again
```
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "semantic-release-npm-demo",
"version": "2.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}

0 comments on commit e97c267

Please sign in to comment.