File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
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 12
12
]
13
13
},
14
14
"scripts" : {
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)\" )\" " ,
15
17
"lint" : " eslint ." ,
16
18
"pretest" : " npm run lint" ,
17
19
"tests-only" : " tape test" ,
41
43
"devDependencies" : {
42
44
"@ljharb/eslint-config" : " ^17.1.0" ,
43
45
"aud" : " ^1.1.2" ,
46
+ "auto-changelog" : " ^2.2.0" ,
44
47
"eslint" : " ^7.6.0" ,
45
48
"for-each" : " ^0.3.3" ,
46
49
"object-inspect" : " ^1.8.0" ,
47
50
"tape" : " ^5.0.1"
48
51
},
49
52
"dependencies" : {
50
53
"es-abstract" : " ^1.17.6"
54
+ },
55
+ "auto-changelog" : {
56
+ "output" : " CHANGELOG.md" ,
57
+ "template" : " keepachangelog" ,
58
+ "unreleased" : false ,
59
+ "commitLimit" : false ,
60
+ "backfillLimit" : false ,
61
+ "hideCredit" : true
51
62
}
52
63
}
You can’t perform that action at this time.
0 commit comments