@patternslib/dev 3.3.3 → 3.3.5

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
@@ -47,4 +47,11 @@ module.exports = {
47
47
  },
48
48
  },
49
49
  },
50
+ hooks: {
51
+ // Run `make bundle` after the version is bumped to get a build with
52
+ // the new version number comment in the entry scripts.
53
+ // Use the make target which does a check to not build if the package
54
+ // is this `@patternslib/dev` package.
55
+ "after:bump": "make bundle",
56
+ },
50
57
  };
package/CHANGES.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
 
4
4
 
5
+ ## [3.3.5](https://github.com/patternslib/dev/compare/3.3.4...3.3.5) (2023-05-29)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+
11
+ * Fix hook config from 3.3.4. ([b4f02f6](https://github.com/patternslib/dev/commit/b4f02f69fda38b8c6a0ef8402511fc8cd87eff9d))
12
+
13
+ ## [3.3.4](https://github.com/patternslib/dev/compare/3.3.3...3.3.4) (2023-05-29)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+
19
+ * Include the correct bundle version in entry file header comment. ([ea32b4d](https://github.com/patternslib/dev/commit/ea32b4dd9e6bc02fcbc4011798174eb0e057dd82))
20
+
21
+ In order to have the correct version specifier in the bundle's entry
22
+ script header comment the bundle must be built after the version bump.
23
+ Use release-it hooks to do that.
24
+
25
+
26
+
27
+ ### Maintenance
28
+
29
+
30
+ * Upgrade dependencies. ([56eda65](https://github.com/patternslib/dev/commit/56eda655d463fa8c0e3fb36a4b35d258a22bf815))
31
+
32
+
5
33
  ## [3.3.3](https://github.com/patternslib/dev/compare/3.3.2...3.3.3) (2023-05-28)
6
34
 
7
35
 
package/Makefile CHANGED
@@ -55,6 +55,8 @@ 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
61
  bundle: clean-dist bundle-pre stamp-yarn
60
62
  ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
@@ -128,7 +130,7 @@ release-github: prepare-release release-zip
128
130
  -rm $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip
129
131
 
130
132
 
131
- release: clean install check bundle release-npm release-github
133
+ release: clean install check release-npm release-github
132
134
  @# Note: If you want to include the compiled bundle in your npm package you
133
135
  @# have to allow it in a .npmignore file.
134
136
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@patternslib/dev",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
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.22.1",
8
8
  "@babel/eslint-parser": "^7.21.8",
9
- "@babel/preset-env": "^7.22.2",
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",