@patternslib/dev 3.3.1 → 3.3.3

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,28 +2,45 @@
2
2
 
3
3
 
4
4
 
5
- ## [3.3.1](https://github.com/patternslib/dev/compare/3.3.0...3.3.1) (2023-04-21)
6
-
7
- ## [3.3.0](https://github.com/patternslib/dev/compare/3.2.0...3.3.0) (2023-04-17)
5
+ ## [3.3.3](https://github.com/patternslib/dev/compare/3.3.2...3.3.3) (2023-05-28)
8
6
 
9
7
 
10
8
  ### Bug Fixes
11
9
 
12
10
 
13
- * Simplify release make commands. ([49077d2](https://github.com/patternslib/dev/commit/49077d2c6d79d7b98898c6576d0aaa01e003a0d6))
11
+ * Add pre-built bundles to the npm distribution again. ([c85dbdc](https://github.com/patternslib/dev/commit/c85dbdc22cf3a29017677020fcd8e2acc65803b7))
12
+
13
+ This was lost in a previous Makefile update.
14
+ Now you can again reference jsdelivr and and unpkg to include bundles.
15
+
16
+
17
+ * Change optional chaining babel plugin name. ([e57793a](https://github.com/patternslib/dev/commit/e57793a4abf59d3859aaa8ba757cbd0d41871396))
18
+
19
+
20
+
21
+ ### Maintenance
22
+
23
+
24
+ * Remove dependency on semver which is not needed since the recent Makefile improvements. ([1dd1c3a](https://github.com/patternslib/dev/commit/1dd1c3afc1494634f5a8f72f30c4ba5a138376b8))
25
+
26
+
27
+ * Upgrade dependencies. ([6d052b7](https://github.com/patternslib/dev/commit/6d052b7d6d7cbc52812d8483dd713d336c11aa54))
28
+
29
+ ## [3.3.2](https://github.com/patternslib/dev/compare/3.3.1...3.3.2) (2023-05-11)
30
+
31
+
32
+ ### Maintenance
33
+
34
+
35
+ * Upgrade dependencies. ([0075b94](https://github.com/patternslib/dev/commit/0075b947c5f3490627b2a20fea46c6acac71dd52))
36
+
37
+ ## [3.3.1](https://github.com/patternslib/dev/compare/3.3.0...3.3.1) (2023-04-21)
38
+
39
+
40
+ ### Maintenance
41
+
42
+ * Upgrade dependencies. ([2797100](https://github.com/patternslib/dev/commit/2797100e3ece150f8b58d5a7f62205a59601c489))
14
43
 
15
- Change the prerelease commands back to pre-3.2.0 names.
16
- This was necessary because the previous change did create for each
17
- command a new increment, which was not what we wanted.
18
- Instead the Makefile is now restructured:
19
- - First the npm release is done and the package.json written with the
20
- correct version. If no increment is given (in case of the prerelease
21
- targets) an interactive prompt asks the user to define one.
22
- - Second the GitHub release is done. It's no more necessary to guess the
23
- next version before the npm version was done. Instead we now rely on
24
- release-it choosing it for us.
25
- Now we do have again the "prerelease-alpha" and "prerelease-beta"
26
- Makefile targets.
27
44
 
28
45
  ## [3.3.0](https://github.com/patternslib/dev/compare/3.2.0...3.3.0) (2023-04-17)
29
46
 
package/Makefile CHANGED
@@ -56,7 +56,7 @@ bundle-pre:
56
56
 
57
57
  # Compile the bundle.
58
58
  .PHONY: bundle
59
- bundle: bundle-pre stamp-yarn
59
+ bundle: clean-dist bundle-pre stamp-yarn
60
60
  ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
61
61
  @# Do not build a bundle for @patternslib/dev
62
62
  $(YARN) run build
@@ -64,7 +64,7 @@ endif
64
64
 
65
65
 
66
66
  # Create a ZIP file from the bundle which is uploaded to the GitHub release tag.
67
- release-zip: clean-dist bundle
67
+ release-zip:
68
68
  ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
69
69
  @# Do not create a zip release for @patternslib/dev
70
70
  $(eval PACKAGE_VERSION := $(shell node -p "require('./package.json').version"))
@@ -111,13 +111,13 @@ release-github: prepare-release release-zip
111
111
  @# NOTE: PACKAGE_VERSION is defined in release-zip
112
112
 
113
113
  npx release-it \
114
+ --no-increment \
115
+ --no-git \
116
+ --no-npm \
114
117
  --github.release \
115
118
  --github.update \
116
119
  --github.assets=$(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip \
117
- --no-increment \
118
120
  --no-github.draft \
119
- --no-git \
120
- --no-npm \
121
121
  $(RELEASE_IT_GITHUB_OPTIONS)
122
122
 
123
123
  @# Checkout CHANGES.md, which was modified just before
@@ -128,7 +128,7 @@ release-github: prepare-release release-zip
128
128
  -rm $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip
129
129
 
130
130
 
131
- release: clean install check release-npm release-github
131
+ release: clean install check bundle release-npm release-github
132
132
  @# Note: If you want to include the compiled bundle in your npm package you
133
133
  @# have to allow it in a .npmignore file.
134
134
 
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,37 +1,36 @@
1
1
  {
2
2
  "name": "@patternslib/dev",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
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.4",
8
- "@babel/eslint-parser": "^7.21.3",
9
- "@babel/preset-env": "^7.21.4",
10
- "@commitlint/cli": "^17.6.1",
11
- "@commitlint/config-conventional": "^17.6.1",
7
+ "@babel/core": "^7.22.1",
8
+ "@babel/eslint-parser": "^7.21.8",
9
+ "@babel/preset-env": "^7.22.2",
10
+ "@commitlint/cli": "^17.6.3",
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.38.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",
19
19
  "jest": "^29.5.0",
20
20
  "jest-environment-jsdom": "^29.5.0",
21
21
  "jest-watch-typeahead": "^2.2.2",
22
- "prettier": "^2.8.7",
22
+ "prettier": "^2.8.8",
23
23
  "regenerator-runtime": "^0.13.11",
24
- "release-it": "^15.10.1",
25
- "sass": "^1.62.0",
26
- "sass-loader": "^13.2.2",
27
- "semver": "^7.5.0",
28
- "style-loader": "^3.3.2",
29
- "terser-webpack-plugin": "^5.3.7",
24
+ "release-it": "^15.10.3",
25
+ "sass": "^1.62.1",
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.80.0",
30
+ "webpack": "^5.84.1",
32
31
  "webpack-bundle-analyzer": "^4.8.0",
33
- "webpack-cli": "^5.0.1",
34
- "webpack-dev-server": "^4.13.3",
32
+ "webpack-cli": "^5.1.1",
33
+ "webpack-dev-server": "^4.15.0",
35
34
  "whybundled": "^2.0.0",
36
35
  "yarn": "^1.22.19"
37
36
  },