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 Aug 2, 2020
1 parent f4defca commit ab9ce44
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .npmrc
@@ -1 +1,3 @@
package-lock=false
allow-same-version=true
message=v%s
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,6 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11 changes: 11 additions & 0 deletions package.json
Expand Up @@ -12,6 +12,8 @@
]
},
"scripts": {
"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)\")\"",
"lint": "eslint .",
"pretest": "npm run lint",
"tests-only": "tape test",
Expand Down Expand Up @@ -41,12 +43,21 @@
"devDependencies": {
"@ljharb/eslint-config": "^17.1.0",
"aud": "^1.1.2",
"auto-changelog": "^2.2.0",
"eslint": "^7.6.0",
"for-each": "^0.3.3",
"object-inspect": "^1.8.0",
"tape": "^5.0.1"
},
"dependencies": {
"es-abstract": "^1.17.6"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
}
}

0 comments on commit ab9ce44

Please sign in to comment.