Skip to content

Commit

Permalink
[meta] add auto-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 19, 2019
1 parent 5666a91 commit f70fb2b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .npmrc
@@ -1 +1,3 @@
package-lock=false
allow-same-version=true
message=v%s
12 changes: 11 additions & 1 deletion package.json
Expand Up @@ -14,7 +14,9 @@
"lint": "eslint .",
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
"postaudit": "rm package-lock.json",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
"repository": {
"type": "git",
Expand All @@ -37,6 +39,7 @@
"dependencies": {},
"devDependencies": {
"@ljharb/eslint-config": "^13.1.1",
"auto-changelog": "^1.16.2",
"covert": "^1.1.1",
"eslint": "^5.12.1",
"tape": "^4.9.2"
Expand All @@ -62,5 +65,12 @@
},
"engines": {
"node": ">= 0.4"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false
}
}

0 comments on commit f70fb2b

Please sign in to comment.