Skip to content

Commit 2e3fdef

Browse files
committed
[meta] add auto-changelog
1 parent 9d29368 commit 2e3fdef

File tree

3 files changed

+91
-1
lines changed

3 files changed

+91
-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: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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+
## [v4.1.0](https://github.com/browserify/browserify-rsa/compare/v4.0.1...v4.1.0) - 2020-11-12
9+
10+
### Merged
11+
12+
- bump bn.js to 5.0.0 [`#13`](https://github.com/browserify/browserify-rsa/pull/13)
13+
- update loop in ger [`#10`](https://github.com/browserify/browserify-rsa/pull/10)
14+
15+
### Commits
16+
17+
- update tests [`7b34cc7`](https://github.com/browserify/browserify-rsa/commit/7b34cc75cda375fcfb2577f6c2334b273728a632)
18+
- update index.js [`6c2c290`](https://github.com/browserify/browserify-rsa/commit/6c2c290a5b3af41f8a2f68ca7f8d340bfb6d38ec)
19+
- update package.json [`9f906f8`](https://github.com/browserify/browserify-rsa/commit/9f906f8f76fcbca9f0c0a412f76eab03b01976cc)
20+
- update README.md [`f55b31a`](https://github.com/browserify/browserify-rsa/commit/f55b31aa0d15a7bf1dd6dd222314fbd0d7a5fc2e)
21+
- update travis config [`7342836`](https://github.com/browserify/browserify-rsa/commit/73428369fe9d976f41cbbac2b60421d65ea60516)
22+
- add .gitignore [`d0a4613`](https://github.com/browserify/browserify-rsa/commit/d0a4613bb72d8874171cf9d666ea272cc3c7bc20)
23+
24+
## [v4.0.1](https://github.com/browserify/browserify-rsa/compare/v4.0.0...v4.0.1) - 2016-02-26
25+
26+
### Merged
27+
28+
- package.json: fix repository URL [`#8`](https://github.com/browserify/browserify-rsa/pull/8)
29+
30+
## [v4.0.0](https://github.com/browserify/browserify-rsa/compare/v3.0.0...v4.0.0) - 2015-10-29
31+
32+
### Merged
33+
34+
- bump bn.js and parse-asn1 [`#6`](https://github.com/browserify/browserify-rsa/pull/6)
35+
36+
### Commits
37+
38+
- fix dev dep [`3acf6c7`](https://github.com/browserify/browserify-rsa/commit/3acf6c7729e254429cb6485747ebf54fa9ccfb29)
39+
40+
## [v3.0.0](https://github.com/browserify/browserify-rsa/compare/v2.0.1...v3.0.0) - 2015-10-26
41+
42+
### Merged
43+
44+
- bump bn-js [`#5`](https://github.com/browserify/browserify-rsa/pull/5)
45+
- Adding license and updating package.json [`#4`](https://github.com/browserify/browserify-rsa/pull/4)
46+
47+
### Commits
48+
49+
- Add LICENSE [`3ee2b4d`](https://github.com/browserify/browserify-rsa/commit/3ee2b4d3428c9504860e62d7c070d75dd2710f48)
50+
- package: adds description [`af8556a`](https://github.com/browserify/browserify-rsa/commit/af8556a0d5355f6921dbdfee4bf4ff1190b05c10)
51+
52+
## [v2.0.1](https://github.com/browserify/browserify-rsa/compare/v2.0.0...v2.0.1) - 2015-05-20
53+
54+
### Merged
55+
56+
- update bn.js [`#3`](https://github.com/browserify/browserify-rsa/pull/3)
57+
58+
### Commits
59+
60+
- Fix badge URL to point to crypto-browserify org [`823888a`](https://github.com/browserify/browserify-rsa/commit/823888a93b513724a43e0d56bfe9c951e84c0e60)
61+
- update readme [`0f404ac`](https://github.com/browserify/browserify-rsa/commit/0f404ac2235c4fa4a2124a29cb6cd9a6dbb25d22)
62+
63+
## [v2.0.0](https://github.com/browserify/browserify-rsa/compare/v1.2.0...v2.0.0) - 2015-01-28
64+
65+
## [v1.2.0](https://github.com/browserify/browserify-rsa/compare/v1.1.1...v1.2.0) - 2015-01-28
66+
67+
### Commits
68+
69+
- modularize [`de640bf`](https://github.com/browserify/browserify-rsa/commit/de640bff7f5fcdc1ed68ce420d972c5c4005f70f)
70+
71+
## v1.1.1 - 2015-01-06
72+
73+
### Commits
74+
75+
- left pad here and clean up tests [`240e16c`](https://github.com/browserify/browserify-rsa/commit/240e16c3b116dca1a63e463f494bd3447abb3b8a)
76+
- first [`ceb731f`](https://github.com/browserify/browserify-rsa/commit/ceb731f7d56e4aba5440b99709dda6c2cb38b5dc)
77+
- Update bn.js [`dfcf387`](https://github.com/browserify/browserify-rsa/commit/dfcf38757fc28a7d929a208f1775c59c9ab7f008)

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,30 @@
1919
"pretest": "npm run lint",
2020
"test": "npm run tests-only",
2121
"tests-only": "tape 'test/**/*.js'",
22-
"posttest": "npx npm@'>=10.2' audit --production"
22+
"posttest": "npx npm@'>=10.2' audit --production",
23+
"version": "auto-changelog && git add CHANGELOG.md",
24+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
2325
},
2426
"dependencies": {
2527
"bn.js": "^5.0.0",
2628
"randombytes": "^2.0.1"
2729
},
2830
"devDependencies": {
2931
"@ljharb/eslint-config": "^21.1.1",
32+
"encoding": "^0.1.13",
3033
"eslint": "=8.8.0",
3134
"parse-asn1": "^5.1.7",
3235
"tape": "^5.9.0"
3336
},
3437
"engines": {
3538
"node": ">= 0.4"
39+
},
40+
"auto-changelog": {
41+
"output": "CHANGELOG.md",
42+
"template": "keepachangelog",
43+
"unreleased": false,
44+
"commitLimit": false,
45+
"backfillLimit": false,
46+
"hideCredit": true
3647
}
3748
}

0 commit comments

Comments
 (0)