Skip to content

Commit 4bc6ec1

Browse files
committed
dev: Normalize changelog, tweak release scripts, tweak CI
1 parent 3aa3443 commit 4bc6ec1

File tree

3 files changed

+55
-39
lines changed

3 files changed

+55
-39
lines changed

.travis.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,35 @@ language: node_js
22
dist: xenial
33

44
node_js:
5-
- node
6-
- 16
7-
- 12
85
- 8
6+
- 12
7+
- 14
8+
- node
99

1010
os:
1111
- linux
12-
- windows
12+
13+
stages:
14+
- lint
15+
- test_windows
16+
- test
17+
- codecov
1318

1419
jobs:
1520
include:
16-
- name: lint
21+
- stage: lint
22+
name: ESlint
23+
node_js: node
24+
os: linux
1725
script: npm run lint
18-
- name: coveralls
26+
- stage: test_windows
27+
name: Oldest supported version on Windows
28+
node_js: 8
29+
os: windows
30+
- stage: codecov
31+
name: Coveralls
32+
node_js: node
33+
os: linux
1934
script: npm run test && npm run coveralls
2035

2136
script: npm run test

CHANGELOG.md

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
# 1.0.0 / 2018-10-17
1+
### Changelog
2+
3+
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4+
5+
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6+
7+
#### [Unreleased](https://github.com/metalsmith/metalsmith-collections/compare/v1.0.0...HEAD)
8+
9+
- Added better JSDoc types, return named plugin function [`3aa3443`](https://github.com/metalsmith/metalsmith-collections/commit/3aa3443802c2f814c90cf39c7b43de8fc3d3ff13)
10+
- Updated multimatch to 4.0.0, debug to 4.3.3 [`71d6f65`](https://github.com/metalsmith/metalsmith-collections/commit/71d6f65b9ec5572196e17dfebf5cff2361853f9d)
11+
- Added standardised code formatting and QA [`a5bca71`](https://github.com/metalsmith/metalsmith-collections/commit/a5bca71b3c01bef541d35fa3196fe4ac3810d215)
12+
- Updated History with v1 PRs [`ae74c41`](https://github.com/metalsmith/metalsmith-collections/commit/ae74c411d2b84b39d4575598c3596b6802028db1)
13+
14+
<!-- auto-changelog-above -->
15+
16+
# [1.0.0][] / 2018-10-17
217

318
- Fixed API and merged many PRs
419
- Allow metadata-based filtering with `filterBy` option
@@ -9,70 +24,56 @@
924
- Clear collections
1025
- Added multiple collections syntax to Readme.md
1126

12-
# 0.7.0 / 2015-02-07
27+
#### [0.7.0][] / 2015-02-07
1328

14-
- Allow front matter and pattern collections.
15-
- Added the ability to limit the size of a collection
16-
- Allow collections through metadata alone
17-
- add ability to disable next/previous references
29+
- Allow front matter and pattern collections.
30+
- Added the ability to limit the size of a collection
31+
- Allow collections through metadata alone
32+
- add ability to disable next/previous references
1833

19-
# 0.6.0 / 2014-08-12
34+
#### [0.6.0][] / 2014-08-12
2035

21-
* Added the ability to set multiple collections
36+
- Added the ability to set multiple collections
2237

23-
# 0.5.1 / 2014-08-05
38+
#### [0.5.1][] / 2014-08-05
2439

2540
- Fixed bug with require statement
2641

27-
# 0.5.0 / 2014-08-04
42+
#### [0.5.0][] / 2014-08-04
2843

2944
- Added the ability to add metadata to collections
3045

31-
## 0.4.1 - May 4, 2014
46+
#### [0.4.1][] - May 4, 2014
3247

3348
- fix empty collections
3449

35-
0.4.0 - March 25, 2014
36-
37-
---
50+
#### [0.4.0][] - March 25, 2014
3851

3952
- add option for `sortBy` to be a sorting function
4053

41-
0.3.0 - March 24, 2014
42-
43-
---
54+
#### [0.3.0][] - March 24, 2014
4455

4556
- add `collection` property to each file for pattern matches
4657

47-
0.2.0 - March 20, 2014
48-
49-
---
58+
#### [0.2.0][] - March 20, 2014
5059

5160
- add collections dictionary to global metadata
5261

53-
0.1.0 - March 6, 2014
54-
55-
---
62+
#### [0.1.0][] - March 6, 2014
5663

5764
- add matching by pattern
5865
- add shorthand for pattern matching
5966
- add previous and next references
6067

61-
0.0.3 - February 6, 2014
62-
63-
---
68+
#### [0.0.3][] - February 6, 2014
6469

6570
- add debug statements
6671
- swap to `extend` from `defaults` to avoid cloning
6772

68-
0.0.2 - February 6, 2014
69-
70-
---
73+
#### [0.0.2][] - February 6, 2014
7174

7275
- swap to `merge` to not act on clones
7376

74-
0.0.1 - February 5, 2014
75-
76-
---
77+
#### [0.0.1][] - February 5, 2014
7778

7879
:sparkles:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"lib/*"
4646
],
4747
"scripts": {
48-
"changelog": "auto-changelog -u --sort-commits date --starting-date 2021-12-01 --commit-limit false --ignore-commit-pattern '(skip changelog|Release)'",
48+
"changelog": "auto-changelog -u --starting-date 2021-12-01 --sort-commits date-desc --commit-limit false --ignore-commit-pattern '(dev|Release|Merge)'",
4949
"test": "nyc mocha",
5050
"coverage": "nyc report --reporter=text-lcov > ./coverage.info",
5151
"coveralls": "npm run coverage && cat ./coverage.info | coveralls",

0 commit comments

Comments
 (0)