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 16, 2019
1 parent ea5a937 commit 62105e5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
package-lock=false
allow-same-version=true
message=v%s
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"lint": "eslint .",
"tests-only": "node test",
"test": "npm run tests-only",
"posttest": "npx aud"
"posttest": "npx aud",
"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 @@ -34,7 +36,15 @@
"homepage": "https://github.com/ljharb/has-strict-mode#readme",
"devDependencies": {
"@ljharb/eslint-config": "^13.1.1",
"auto-changelog": "^1.16.2",
"eslint": "^5.16.0",
"tape": "^4.11.0"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false
}
}

0 comments on commit 62105e5

Please sign in to comment.