Skip to content

Commit 88dc806

Browse files
committed
[meta] add auto-changelog
1 parent 7a137d7 commit 88dc806

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

.npmrc

Lines changed: 2 additions & 0 deletions
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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.4](https://github.com/browserify/cipher-base/compare/v1.0.3...v1.0.4) - 2017-07-06
9+
10+
### Merged
11+
12+
- Safe Buffer & License [`#8`](https://github.com/browserify/cipher-base/pull/8)
13+
- fix break in node 8 [`#9`](https://github.com/browserify/cipher-base/pull/9)
14+
15+
### Commits
16+
17+
- use safe-buffer [`193bbeb`](https://github.com/browserify/cipher-base/commit/193bbeb0d60ff206b072d4e18b32fcf150eb0fad)
18+
- add MIT LICENSE [`a9fb6e3`](https://github.com/browserify/cipher-base/commit/a9fb6e316c25b25d2bd04fa5b6eb748318bdcb04)
19+
- index: add missing Buffer.alloc [`2397a9e`](https://github.com/browserify/cipher-base/commit/2397a9e0db33b2f3d6abbd89f01db1c066804a91)
20+
- rename README to README, add .gitignore [`9345e1d`](https://github.com/browserify/cipher-base/commit/9345e1d21fd10555bc4f39ccae5512ca0202c5f6)
21+
22+
## [v1.0.3](https://github.com/browserify/cipher-base/compare/v1.0.2...v1.0.3) - 2016-09-13
23+
24+
### Merged
25+
26+
- closure-compiler fix - final is a reserved word [`#4`](https://github.com/browserify/cipher-base/pull/4)
27+
28+
## [v1.0.2](https://github.com/browserify/cipher-base/compare/v1.0.1...v1.0.2) - 2015-10-23
29+
30+
### Merged
31+
32+
- fix up typo in README [`#1`](https://github.com/browserify/cipher-base/pull/1)
33+
34+
### Commits
35+
36+
- Update api-methods. [`c4a7156`](https://github.com/browserify/cipher-base/commit/c4a7156c7beedb524ce5005374d2fd1327fa3ca4)
37+
- travis [`a5873f7`](https://github.com/browserify/cipher-base/commit/a5873f7dbfe542d7ec28bcb3e306096d1d2b951c)
38+
- Add api-methods [`208b338`](https://github.com/browserify/cipher-base/commit/208b33841d3e8a6f5322e54bdf442e1ee0d77590)
39+
- Update error messages [`dc19a24`](https://github.com/browserify/cipher-base/commit/dc19a24119786518c1c835d948e36ddae3bf3adb)
40+
41+
## v1.0.1 - 2015-09-26
42+
43+
### Commits
44+
45+
- first [`8fbd9e7`](https://github.com/browserify/cipher-base/commit/8fbd9e7654d384b578e63d12e0311ae16dc07741)
46+
- fix error in 0.10 [`61491fe`](https://github.com/browserify/cipher-base/commit/61491fe31fcc9bee0901f93b26cee6eaaca07575)

package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"pretest": "npm run lint",
1212
"test": "npm run tests-only",
1313
"tests-only": "tape 'test/**/*.js'",
14-
"posttest": "npx npm@'>=10.2' audit --production"
14+
"posttest": "npx npm@'>=10.2' audit --production",
15+
"version": "auto-changelog && git add CHANGELOG.md",
16+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
1517
},
1618
"repository": {
1719
"type": "git",
@@ -33,6 +35,8 @@
3335
},
3436
"devDependencies": {
3537
"@ljharb/eslint-config": "^21.1.1",
38+
"auto-changelog": "^2.5.0",
39+
"encoding": "^0.1.13",
3640
"eslint": "=8.8.0",
3741
"in-publish": "^2.0.1",
3842
"npmignore": "^0.3.1",
@@ -44,6 +48,14 @@
4448
".github/workflows"
4549
]
4650
},
51+
"auto-changelog": {
52+
"output": "CHANGELOG.md",
53+
"template": "keepachangelog",
54+
"unreleased": false,
55+
"commitLimit": false,
56+
"backfillLimit": false,
57+
"hideCredit": true
58+
},
4759
"engines": {
4860
"node": ">= 0.10"
4961
}

0 commit comments

Comments
 (0)