Skip to content

Commit c24388b

Browse files
committed
[meta] add auto-changelog
1 parent e516a73 commit c24388b

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
package-lock=false
2+
allow-same-version=true
3+
message=v%s

CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [v1.0.2](https://github.com/meandavejustice/is-core-module/compare/v1.0.1...v1.0.2) - 2014-09-28
9+
10+
### Commits
11+
12+
- simpler [`66fe90f`](https://github.com/meandavejustice/is-core-module/commit/66fe90f9771581b9adc0c3900baa52c21b5baea2)
13+
14+
## [v1.0.1](https://github.com/meandavejustice/is-core-module/compare/v1.0.0...v1.0.1) - 2014-09-28
15+
16+
### Commits
17+
18+
- remove stupid [`f21f906`](https://github.com/meandavejustice/is-core-module/commit/f21f906f882c2bd656a5fc5ed6fbe48ddaffb2ac)
19+
- update readme [`1eff0ec`](https://github.com/meandavejustice/is-core-module/commit/1eff0ec69798d1ec65771552d1562911e90a8027)
20+
21+
## v1.0.0 - 2014-09-28
22+
23+
### Commits
24+
25+
- init [`48e5e76`](https://github.com/meandavejustice/is-core-module/commit/48e5e76cac378fddb8c1f7d4055b8dfc943d6b96)

package.json

+12-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"pretest": "npm run lint",
1818
"tests-only": "tape test",
1919
"test": "npm run tests-only",
20-
"posttest": "aud --production"
20+
"posttest": "aud --production",
21+
"version": "auto-changelog && git add CHANGELOG.md",
22+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
2123
},
2224
"repository": {
2325
"type": "git",
@@ -46,7 +48,16 @@
4648
"devDependencies": {
4749
"@ljharb/eslint-config": "^17.2.0",
4850
"aud": "^1.1.2",
51+
"auto-changelog": "^2.2.1",
4952
"eslint": "^7.10.0",
5053
"tape": "^5.0.1"
54+
},
55+
"auto-changelog": {
56+
"output": "CHANGELOG.md",
57+
"template": "keepachangelog",
58+
"unreleased": false,
59+
"commitLimit": false,
60+
"backfillLimit": false,
61+
"hideCredit": true
5162
}
5263
}

0 commit comments

Comments
 (0)