Skip to content

Commit b857897

Browse files
committed
[meta] add auto-changelog
1 parent 81328a6 commit b857897

File tree

3 files changed

+54
-16
lines changed

3 files changed

+54
-16
lines changed

Diff for: .npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
package-lock=false
22
audit-level=high
3+
allow-same-version=true
4+
message=v%s

Diff for: CHANGELOG.md

+41-15
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,45 @@
1-
1.0.4 / 2015-01-29
2-
=================
3-
* If @@toStringTag is not present, use the old-school Object#toString test.
1+
# Changelog
42

5-
1.0.3 / 2015-01-29
6-
=================
7-
* Refactor to aid optimization of non-try/catch code.
3+
All notable changes to this project will be documented in this file.
84

9-
1.0.2 / 2015-01-29
10-
=================
11-
* Fix broken package.json
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).
127

13-
1.0.1 / 2015-01-29
14-
=================
15-
* Add early exits for typeof "string", or typeof not "object".
8+
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
169

17-
1.0.0 / 2015-01-29
18-
=================
19-
* Initial release.
10+
## [v1.0.4](https://github.com/inspect-js/is-string/compare/v1.0.3...v1.0.4) - 2015-01-30
11+
12+
### Commits
13+
14+
- If @@toStringTag is not present, use the old-school Object#toString test. [`30675ec`](https://github.com/inspect-js/is-string/commit/30675ecb5c5cc43873918661a414a1d0f8b77325)
15+
16+
## [v1.0.3](https://github.com/inspect-js/is-string/compare/v1.0.2...v1.0.3) - 2015-01-29
17+
18+
### Commits
19+
20+
- Refactor to aid optimization of non-try/catch code. [`9b2772a`](https://github.com/inspect-js/is-string/commit/9b2772abe09ba8cbaa631322cc226ee906d2db22)
21+
22+
## [v1.0.2](https://github.com/inspect-js/is-string/compare/v1.0.1...v1.0.2) - 2015-01-29
23+
24+
### Commits
25+
26+
- Fix broken package.json [`dc921d3`](https://github.com/inspect-js/is-string/commit/dc921d332b64e4041162f04e4712b0dc687863a5)
27+
28+
## [v1.0.1](https://github.com/inspect-js/is-string/compare/v1.0.0...v1.0.1) - 2015-01-29
29+
30+
### Commits
31+
32+
- Fix eslint config. [`c4e05bd`](https://github.com/inspect-js/is-string/commit/c4e05bd171da6002d432e451fd48912db8b048e0)
33+
- Add early exits for typeof "string", or typeof not "object". [`82f41d3`](https://github.com/inspect-js/is-string/commit/82f41d36a599bc6a06152792c84c7683e412c513)
34+
35+
## v1.0.0 - 2015-01-28
36+
37+
### Commits
38+
39+
- Dotfiles. [`45bc9dd`](https://github.com/inspect-js/is-string/commit/45bc9dd60201722344986a6c7536be9ea9ccefbf)
40+
- `make release` [`23707f5`](https://github.com/inspect-js/is-string/commit/23707f5ecfdf00afb0e57c06ac07f7f49cdeb606)
41+
- package.json [`575ad81`](https://github.com/inspect-js/is-string/commit/575ad811c61b156cfbcc60ff61947183c6ebe6a2)
42+
- Read me [`3f67c9a`](https://github.com/inspect-js/is-string/commit/3f67c9a0725f811845d38646a19322895cd03981)
43+
- Initial commit [`2c26a7a`](https://github.com/inspect-js/is-string/commit/2c26a7a2e41dec77be2c59d5847f29a6ab7c0b29)
44+
- Tests. [`38c987b`](https://github.com/inspect-js/is-string/commit/38c987b8513b0ac03b0897e0fce7de8135d4ee0f)
45+
- Implementation. [`0471d59`](https://github.com/inspect-js/is-string/commit/0471d59078d7f3f77619913ec21c57c0af27114c)

Diff for: package.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"coverage": "covert test.js",
1818
"coverage-quiet": "covert test.js --quiet",
1919
"lint": "eslint .",
20-
"eccheck": "eclint check *.js **/*.js > /dev/null"
20+
"eccheck": "eclint check *.js **/*.js > /dev/null",
21+
"version": "auto-changelog && git add CHANGELOG.md",
22+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
2123
},
2224
"repository": {
2325
"type": "git",
@@ -34,6 +36,7 @@
3436
"dependencies": {},
3537
"devDependencies": {
3638
"@ljharb/eslint-config": "^14.0.2",
39+
"auto-changelog": "^1.16.2",
3740
"covert": "^1.1.1",
3841
"eclint": "^2.8.1",
3942
"eslint": "^6.1.0",
@@ -64,5 +67,12 @@
6467
},
6568
"engines": {
6669
"node": ">= 0.4"
70+
},
71+
"auto-changelog": {
72+
"output": "CHANGELOG.md",
73+
"template": "keepachangelog",
74+
"unreleased": false,
75+
"commitLimit": false,
76+
"backfillLimit": false
6777
}
6878
}

0 commit comments

Comments
 (0)