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 Jan 18, 2020
1 parent 7c8916f commit 8ebcef0
Show file tree
Hide file tree
Showing 3 changed files with 21 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 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).

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test:implementation": "node test/implementation",
"test:shimmed": "node test/shimmed",
"test:module": "node test/index",
"coverage": "covert test/*.js"
"coverage": "covert test/*.js",
"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 Down Expand Up @@ -44,6 +46,7 @@
"devDependencies": {
"@es-shims/api": "^2.1.2",
"@ljharb/eslint-config": "^15.1.0",
"auto-changelog": "^1.16.2",
"covert": "^1.1.1",
"eslint": "^6.8.0",
"evalmd": "^0.0.19",
Expand All @@ -58,5 +61,12 @@
"es-abstract": "^1.17.2",
"is-negative-zero": "^2.0.0",
"is-string": "^1.0.5"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false
}
}

0 comments on commit 8ebcef0

Please sign in to comment.