@patternslib/dev 3.3.2 → 3.3.4

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/.release-it.js CHANGED
@@ -45,6 +45,13 @@ module.exports = {
45
45
  writerOpts: {
46
46
  commitPartial: commits_template,
47
47
  },
48
+ hooks: {
49
+ // Run `make build` after the version is bumped to get a build
50
+ // with the new version number comment in the entry scripts.
51
+ // Use the make target which does a check to not build if the
52
+ // package is this `@patternslib/dev` package.
53
+ "after:bump": "make build",
54
+ },
48
55
  },
49
56
  },
50
57
  };
package/CHANGES.md CHANGED
@@ -2,6 +2,73 @@
2
2
 
3
3
 
4
4
 
5
+ ## [3.3.4](https://github.com/patternslib/dev/compare/3.3.3...3.3.4) (2023-05-29)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+
11
+ * Include the correct bundle version in entry file header comment. ([ea32b4d](https://github.com/patternslib/dev/commit/ea32b4dd9e6bc02fcbc4011798174eb0e057dd82))
12
+
13
+ In order to have the correct version specifier in the bundle's entry
14
+ script header comment the bundle must be built after the version bump.
15
+ Use release-it hooks to do that.
16
+
17
+
18
+
19
+ ### Maintenance
20
+
21
+
22
+ * Upgrade dependencies. ([56eda65](https://github.com/patternslib/dev/commit/56eda655d463fa8c0e3fb36a4b35d258a22bf815))
23
+
24
+ ## [3.3.3](https://github.com/patternslib/dev/compare/3.3.2...3.3.3) (2023-05-28)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+
30
+ * Add pre-built bundles to the npm distribution again. ([c85dbdc](https://github.com/patternslib/dev/commit/c85dbdc22cf3a29017677020fcd8e2acc65803b7))
31
+
32
+ This was lost in a previous Makefile update.
33
+ Now you can again reference jsdelivr and and unpkg to include bundles.
34
+
35
+
36
+ * Change optional chaining babel plugin name. ([e57793a](https://github.com/patternslib/dev/commit/e57793a4abf59d3859aaa8ba757cbd0d41871396))
37
+
38
+
39
+
40
+ ### Maintenance
41
+
42
+
43
+ * Remove dependency on semver which is not needed since the recent Makefile improvements. ([1dd1c3a](https://github.com/patternslib/dev/commit/1dd1c3afc1494634f5a8f72f30c4ba5a138376b8))
44
+
45
+
46
+ * Upgrade dependencies. ([6d052b7](https://github.com/patternslib/dev/commit/6d052b7d6d7cbc52812d8483dd713d336c11aa54))
47
+
48
+ ## [3.3.3](https://github.com/patternslib/dev/compare/3.3.2...3.3.3) (2023-05-28)
49
+
50
+
51
+ ### Bug Fixes
52
+
53
+
54
+ * Add pre-built bundles to the npm distribution again. ([c85dbdc](https://github.com/patternslib/dev/commit/c85dbdc22cf3a29017677020fcd8e2acc65803b7))
55
+
56
+ This was lost in a previous Makefile update.
57
+ Now you can again reference jsdelivr and and unpkg to include bundles.
58
+
59
+
60
+ * Change optional chaining babel plugin name. ([e57793a](https://github.com/patternslib/dev/commit/e57793a4abf59d3859aaa8ba757cbd0d41871396))
61
+
62
+
63
+
64
+ ### Maintenance
65
+
66
+
67
+ * Remove dependency on semver which is not needed since the recent Makefile improvements. ([1dd1c3a](https://github.com/patternslib/dev/commit/1dd1c3afc1494634f5a8f72f30c4ba5a138376b8))
68
+
69
+
70
+ * Upgrade dependencies. ([6d052b7](https://github.com/patternslib/dev/commit/6d052b7d6d7cbc52812d8483dd713d336c11aa54))
71
+
5
72
  ## [3.3.2](https://github.com/patternslib/dev/compare/3.3.1...3.3.2) (2023-05-11)
6
73
 
7
74
 
package/Makefile CHANGED
@@ -55,8 +55,10 @@ bundle-pre:
55
55
 
56
56
 
57
57
  # Compile the bundle.
58
+ # NOTE: When using the normal workflow - e.g. `make release-minor`, the
59
+ # relase-it config runs `make build` after the version bump.
58
60
  .PHONY: bundle
59
- bundle: bundle-pre stamp-yarn
61
+ bundle: clean-dist bundle-pre stamp-yarn
60
62
  ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
61
63
  @# Do not build a bundle for @patternslib/dev
62
64
  $(YARN) run build
@@ -64,7 +66,7 @@ endif
64
66
 
65
67
 
66
68
  # Create a ZIP file from the bundle which is uploaded to the GitHub release tag.
67
- release-zip: clean-dist bundle
69
+ release-zip:
68
70
  ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
69
71
  @# Do not create a zip release for @patternslib/dev
70
72
  $(eval PACKAGE_VERSION := $(shell node -p "require('./package.json').version"))
package/babel.config.js CHANGED
@@ -26,7 +26,7 @@ module.exports = (env) => {
26
26
  },
27
27
  ],
28
28
  ],
29
- plugins: ["@babel/plugin-proposal-optional-chaining"],
29
+ plugins: ["@babel/plugin-transform-optional-chaining"],
30
30
  };
31
31
  }
32
32
 
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@patternslib/dev",
3
- "version": "3.3.2",
3
+ "version": "3.3.4",
4
4
  "description": "Development base files for working with Patternslib and add-ons.",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "@babel/core": "^7.21.8",
7
+ "@babel/core": "^7.22.1",
8
8
  "@babel/eslint-parser": "^7.21.8",
9
- "@babel/preset-env": "^7.21.5",
9
+ "@babel/preset-env": "^7.22.4",
10
10
  "@commitlint/cli": "^17.6.3",
11
11
  "@commitlint/config-conventional": "^17.6.3",
12
12
  "@release-it/conventional-changelog": "^5.1.1",
13
13
  "babel-loader": "^9.1.2",
14
- "css-loader": "^6.7.3",
15
- "eslint": "^8.40.0",
14
+ "css-loader": "^6.8.1",
15
+ "eslint": "^8.41.0",
16
16
  "eslint-config-prettier": "^8.8.0",
17
17
  "husky": "^8.0.3",
18
18
  "identity-obj-proxy": "^3.0.0",
@@ -23,12 +23,11 @@
23
23
  "regenerator-runtime": "^0.13.11",
24
24
  "release-it": "^15.10.3",
25
25
  "sass": "^1.62.1",
26
- "sass-loader": "^13.2.2",
27
- "semver": "^7.5.0",
28
- "style-loader": "^3.3.2",
29
- "terser-webpack-plugin": "^5.3.8",
26
+ "sass-loader": "^13.3.1",
27
+ "style-loader": "^3.3.3",
28
+ "terser-webpack-plugin": "^5.3.9",
30
29
  "timezone-mock": "^1.3.6",
31
- "webpack": "^5.82.1",
30
+ "webpack": "^5.84.1",
32
31
  "webpack-bundle-analyzer": "^4.8.0",
33
32
  "webpack-cli": "^5.1.1",
34
33
  "webpack-dev-server": "^4.15.0",