File tree 3 files changed +20
-1
lines changed
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
package-lock = false
2
+ allow-same-version = true
3
+ message = v%s
Original file line number Diff line number Diff line change
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 ) .
Original file line number Diff line number Diff line change 21
21
"pretest" : " npm run lint" ,
22
22
"tests-only" : " nyc tape 'test/**/*.js'" ,
23
23
"test" : " npm run tests-only --" ,
24
- "posttest" : " aud --production"
24
+ "posttest" : " aud --production" ,
25
+ "version" : " auto-changelog && git add CHANGELOG.md" ,
26
+ "postversion" : " auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \" v$(node -e \" console.log(require('./package.json').version)\" )\" "
25
27
},
26
28
"repository" : {
27
29
"type" : " git" ,
43
45
"devDependencies" : {
44
46
"@ljharb/eslint-config" : " ^17.5.1" ,
45
47
"aud" : " ^1.1.4" ,
48
+ "auto-changelog" : " ^2.2.1" ,
46
49
"es-value-fixtures" : " ^1.2.1" ,
47
50
"eslint" : " ^7.21.0" ,
48
51
"for-each" : " ^0.3.3" ,
49
52
"nyc" : " ^10.3.2" ,
50
53
"object-inspect" : " ^1.9.0" ,
51
54
"tape" : " ^5.2.2"
55
+ },
56
+ "auto-changelog" : {
57
+ "output" : " CHANGELOG.md" ,
58
+ "template" : " keepachangelog" ,
59
+ "unreleased" : false ,
60
+ "commitLimit" : false ,
61
+ "backfillLimit" : false ,
62
+ "hideCredit" : true
52
63
}
53
64
}
You can’t perform that action at this time.
0 commit comments