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 Sep 22, 2022
1 parent d5d2f41 commit 7a01dd6
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
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
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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).

## [0.0.1](https://github.com/ljharb/faucet/compare/0.0.0...0.0.1) - 2014-02-17

### Commits

- trim test names [`9bf4aaf`](https://github.com/ljharb/faucet/commit/9bf4aaf1b04a801f1df3dce30bb94ccd770dd7d3)
- install instructions [`1e7a4f9`](https://github.com/ljharb/faucet/commit/1e7a4f99d3d42a339acaed317eb3ceadf116ddd9)
- throw away EPIPE [`47a33b1`](https://github.com/ljharb/faucet/commit/47a33b178ceb2b03ac33a63feafc23c61a56f245)

## 0.0.0 - 2013-12-26

### Commits

- generating tap, more examples [`085e600`](https://github.com/ljharb/faucet/commit/085e6002832253d00e0c413511d32fd3ea3a4c65)
- basic thing just prints the results [`863eba9`](https://github.com/ljharb/faucet/commit/863eba9a129ed3cde27de5b2b40f9b0e3c7f5212)
- shell out to tape, check for files in test/ and tests/ [`87bc1e8`](https://github.com/ljharb/faucet/commit/87bc1e84aab8a9a1f4c45236bc970bfeca17476b)
- basic line replacement [`654d6c2`](https://github.com/ljharb/faucet/commit/654d6c2af22e3da3190f4261c4f1cf7ba277d922)
- factored out name updating [`b86b7da`](https://github.com/ljharb/faucet/commit/b86b7da64a1e15862a2bce9228fbbee89c76b117)
- hacks for mocha tap formatting [`1e629ea`](https://github.com/ljharb/faucet/commit/1e629eac5199ce8475397e1c10d96999bf76d279)
- passing green checkmarks too [`18daeba`](https://github.com/ljharb/faucet/commit/18daebad899eb31fd01d84f9c84e67bb3ba69124)
- skip back to mark a test as failed [`526ebe8`](https://github.com/ljharb/faucet/commit/526ebe8ca0f757db7ef099b098c4f6b2a54e710b)
- using \x1b[K, no need for strip-ansi anymore [`2d4d2e3`](https://github.com/ljharb/faucet/commit/2d4d2e3cea6dfb0c6f1d392c293317ef70fa9dc6)
- show error results and append a fail message [`6195366`](https://github.com/ljharb/faucet/commit/6195366992262f4cb635cbcbce311f3414b1e3cc)
- show extra lines of output after failed assertions [`ed4227a`](https://github.com/ljharb/faucet/commit/ed4227a7175b001ee3bcb68ec6ce2ea65cc587cc)
- set the exit code properly [`9f28030`](https://github.com/ljharb/faucet/commit/9f28030068a947ebf2d87a51e5fe40584ed29858)
- mocha example gif [`1ce0210`](https://github.com/ljharb/faucet/commit/1ce021017f258416f62b37701487ce9d32888be9)
- always show errors, fix bug reseting the column to pos 1 [`40b5d8a`](https://github.com/ljharb/faucet/commit/40b5d8a0b85ce2da6494d01f2c6f733a5c5cb5ff)
- show `not ok` messages in the final output [`5c56275`](https://github.com/ljharb/faucet/commit/5c56275a76207241dd667d99eaca4c8e4e8ebe58)
- show tests and pass lines without decoration [`14c67c6`](https://github.com/ljharb/faucet/commit/14c67c612b28ba8c4e06a8c51262cce3eba02110)
- update the last test accordingly [`9f67b8e`](https://github.com/ljharb/faucet/commit/9f67b8e458dd00d943e321f266fa61b603a57f32)
- guard against 0 tests [`6edd8a2`](https://github.com/ljharb/faucet/commit/6edd8a2519e009d60cbb529251921d3f2819d6db)
- example test gif output [`10f6b6c`](https://github.com/ljharb/faucet/commit/10f6b6cc923a3287afc6e8d133eb0985a45cae7d)
- no actual tests for now [`400137e`](https://github.com/ljharb/faucet/commit/400137e560b29f75a50391309c4481afa38a2f26)
- another hack for mocha to hide the `fail 0` [`8a603ac`](https://github.com/ljharb/faucet/commit/8a603ac6e063ce62b7e0c411b4a53a40df6b8ac0)
- more terse example output [`f28d234`](https://github.com/ljharb/faucet/commit/f28d234d1f131e3b54fd4e8b7d26941de3adbddb)
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"sideEffects": false,
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"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)\")\"",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"lint": "eslint --ext=js,mjs .",
Expand Down Expand Up @@ -64,11 +66,20 @@
"devDependencies": {
"@ljharb/eslint-config": "^21.0.0",
"aud": "^2.0.1",
"auto-changelog": "^2.4.0",
"eslint": "=8.8.0",
"in-publish": "^2.0.1",
"npmignore": "^0.3.0",
"safe-publish-latest": "^2.0.0"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"publishConfig": {
"ignore": [
".github/workflows",
Expand Down

0 comments on commit 7a01dd6

Please sign in to comment.