@patternslib/dev 3.1.12 → 3.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
 
4
4
 
5
+ ## [3.1.13](https://github.com/patternslib/dev/compare/3.1.12...3.1.13) (2023-04-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+
11
+ * Improve the release-it commit template to include a newline between each commit and add any commit references to the end. ([1603d0b](https://github.com/patternslib/dev/commit/1603d0b1a08aab290f021b20562c92dab45f75c1))
12
+
13
+
14
+ * Improve the release-it commit template to include a newline between header and body text. ([14ace2b](https://github.com/patternslib/dev/commit/14ace2b2c2c2dd2bc77c4cd0cf9b47744d5ca1c1))
15
+
16
+
17
+ * Include all changes since last regular release only in GitHub releases. ([ec86755](https://github.com/patternslib/dev/commit/ec8675589217f5c66ffcfab273942c11b845a79c))
18
+
19
+ When doing regular releases include all the changes since the last
20
+ regular release - including changes from pre-releases in the release
21
+ notes on GitHub, but not in the CHANGES.md file. In the CHANGES.md file
22
+ every change can be seen at once. Including all the changes since the
23
+ previous regular release is useful for the GitHub release page only.
24
+
25
+
26
+
27
+ ### Maintenance
28
+
29
+
30
+ * Update dependencies. ([b02c37b](https://github.com/patternslib/dev/commit/b02c37b0a41a347f955a7a7a8fb47d8e1f4c4f11))
31
+
5
32
  ## [3.1.12](https://github.com/patternslib/dev/compare/3.1.11...3.1.12) (2023-04-03)
6
33
 
7
34
 
package/Makefile CHANGED
@@ -91,9 +91,9 @@ prepare-release:
91
91
  ifeq ($(LEVEL),$(filter $(LEVEL), alpha beta))
92
92
  @# case alpha or beta pre-release
93
93
 
94
- @# Include all changes from the previous release in the changelog by using
95
- @# the release-it default setting.
96
- $(eval RELEASE_IT_EXTRA_OPTIONS := "")
94
+ @# Changelog for the GitHub release when doing prereleases:
95
+ @# Include all the changes since the previous pre- or regular release.
96
+ $(eval RELEASE_IT_GITHUB_OPTIONS := "")
97
97
  @# Set level argument for release-it.
98
98
  $(eval RELEASE_IT_LEVEL := "--preRelease=$(LEVEL)")
99
99
  @# Get the next version via semver.
@@ -101,9 +101,11 @@ ifeq ($(LEVEL),$(filter $(LEVEL), alpha beta))
101
101
  else
102
102
  @# case normal major/minor/patch release
103
103
 
104
- @# Include all changes from the previous non-prerelease in the changelog.
104
+ @# Changelog for the GitHub release when doing regular releases:
105
+ @# Include all changes since the previous regular release, also including
106
+ @# changes from pre-releases.
105
107
  @# See: https://github.com/release-it/release-it/blob/master/docs/pre-releases.md
106
- $(eval RELEASE_IT_EXTRA_OPTIONS := "--git.tagExclude='*[-]*'")
108
+ $(eval RELEASE_IT_GITHUB_OPTIONS := "--git.tagExclude='*[-]*'")
107
109
  @# Set level argument for release-it.
108
110
  $(eval RELEASE_IT_LEVEL := $(LEVEL))
109
111
  @# Get the next version via semver.
@@ -129,7 +131,7 @@ release: clean install check prepare-release release-zip
129
131
  @# 1) Release on npm.
130
132
  @# 2) When successful, update release on GitHub
131
133
  @# 3) Checkout CHANGES.md, which was modified by step 2)
132
- npx release-it $(RELEASE_IT_LEVEL) $(RELEASE_IT_EXTRA_OPTIONS) \
134
+ npx release-it $(RELEASE_IT_LEVEL) \
133
135
  && npx release-it \
134
136
  --github.release \
135
137
  --github.update \
@@ -138,6 +140,7 @@ release: clean install check prepare-release release-zip
138
140
  --no-github.draft \
139
141
  --no-git \
140
142
  --no-npm \
143
+ $(RELEASE_IT_GITHUB_OPTIONS) \
141
144
  && git checkout CHANGES.md
142
145
 
143
146
  @# Remove the bundle from release-zip again.
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@patternslib/dev",
3
- "version": "3.1.12",
3
+ "version": "3.1.13",
4
4
  "description": "Development base files for working with Patternslib and add-ons.",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
7
  "@babel/core": "^7.21.4",
8
8
  "@babel/eslint-parser": "^7.21.3",
9
9
  "@babel/preset-env": "^7.21.4",
10
- "@commitlint/cli": "^17.5.1",
11
- "@commitlint/config-conventional": "^17.4.4",
10
+ "@commitlint/cli": "^17.6.1",
11
+ "@commitlint/config-conventional": "^17.6.1",
12
12
  "@release-it/conventional-changelog": "^5.1.1",
13
13
  "babel-loader": "^9.1.2",
14
14
  "css-loader": "^6.7.3",
15
- "eslint": "^8.37.0",
15
+ "eslint": "^8.38.0",
16
16
  "eslint-config-prettier": "^8.8.0",
17
17
  "husky": "^8.0.3",
18
18
  "identity-obj-proxy": "^3.0.0",
@@ -22,16 +22,16 @@
22
22
  "prettier": "^2.8.7",
23
23
  "regenerator-runtime": "^0.13.11",
24
24
  "release-it": "^15.10.1",
25
- "sass": "^1.60.0",
25
+ "sass": "^1.62.0",
26
26
  "sass-loader": "^13.2.2",
27
- "semver": "^7.3.8",
27
+ "semver": "^7.4.0",
28
28
  "style-loader": "^3.3.2",
29
29
  "terser-webpack-plugin": "^5.3.7",
30
30
  "timezone-mock": "^1.3.6",
31
- "webpack": "^5.77.0",
31
+ "webpack": "^5.79.0",
32
32
  "webpack-bundle-analyzer": "^4.8.0",
33
33
  "webpack-cli": "^5.0.1",
34
- "webpack-dev-server": "^4.13.2",
34
+ "webpack-dev-server": "^4.13.3",
35
35
  "whybundled": "^2.0.0",
36
36
  "yarn": "^1.22.19"
37
37
  },
@@ -24,9 +24,19 @@
24
24
  {{~hash}}
25
25
  {{~/if}}
26
26
 
27
+ {{#if body}}
28
+
29
+ {{body}}
30
+ {{/if}}
31
+ {{#if footer}}
32
+
33
+ {{footer}}
34
+ {{/if}}
35
+
27
36
  {{~!-- commit references --}}
28
37
  {{~#if references~}}
29
- , closes
38
+
39
+ closes
30
40
  {{~#each references}} {{#if @root.linkReferences~}}
31
41
  [
32
42
  {{~#if this.owner}}
@@ -59,12 +69,4 @@
59
69
  {{~this.repository}}#{{this.issue}}
60
70
  {{~/if}}{{/each}}
61
71
  {{~/if}}
62
- {{#if body}}
63
-
64
- {{~body}}
65
- {{~/if}}
66
- {{#if footer}}
67
-
68
- {{~footer}}
69
- {{~/if}}
70
72