@patternslib/dev 4.3.0 → 4.4.0

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/.node-version ADDED
@@ -0,0 +1 @@
1
+ 24
package/CHANGES.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.4.0](https://github.com/Patternslib/dev/compare/4.3.0...4.4.0) (2026-11-05)
4
+
5
+ ### Features
6
+
7
+ - Add "update" Makefile target. ([846adbe](https://github.com/Patternslib/dev/commit/846adbe65593309cd8031a5f60f6ec3f4e139418))
8
+
9
+ `make update` will update pnpm version and project dependencies
10
+ individually and create 3 separate commits.
11
+
12
+ - Use the dependencies-update branch for make update. ([6f9523d](https://github.com/Patternslib/dev/commit/6f9523dfbd527773a4996e434fd6059daf6ce743))
13
+
14
+ ### Maintenance
15
+
16
+ - Update dependencies. ([1e805ee](https://github.com/Patternslib/dev/commit/1e805ee1486fb802c6f38afc7ef98c95f16ab5a3))
17
+ - Update dependencies. ([5a2e7c8](https://github.com/Patternslib/dev/commit/5a2e7c85e1ce628d2cb575b00acdec64f8677a82))
18
+ - Update pnpm. ([50a976b](https://github.com/Patternslib/dev/commit/50a976b082ae5978b28d9f94135084f68eb1f47c))
19
+
3
20
  ## [4.3.0](https://github.com/Patternslib/dev/compare/4.2.1...4.3.0) (2026-09-22)
4
21
 
5
22
  ### Features
package/Makefile CHANGED
@@ -26,6 +26,26 @@ BUNDLE_NAME := $(subst @patternslib/,,$(subst @plone/,,$(PACKAGE_NAME)))
26
26
  pnpm-lock.yaml install: .git/hooks/commit-msg
27
27
  $(PNPM) install
28
28
 
29
+ # Update dependencies
30
+ # Update pnpm version and project dependencies individually and create 3 separate commits.
31
+ # Don't fail if nothing needs a commit.
32
+ .PHONY: update
33
+ update:
34
+ @if ! git diff --quiet -- package.json || ! git diff --cached --quiet -- package.json; then \
35
+ echo "Warning: package.json has uncommitted changes. Commit or stash them before running make update." >&2; \
36
+ exit 1; \
37
+ fi
38
+ @if ! git checkout -b dependencies-update; then \
39
+ echo ""; \
40
+ echo "Warning: the branch dependencies-update already exists. If it was already merged, you might want to delete if locally with \`git branch -D dependencies-update\`." >&2; \
41
+ echo ""; \
42
+ exit 1; \
43
+ fi
44
+ $(PNPM) self-update
45
+ -git commit package.json -m"maint: Update pnpm."
46
+ $(PNPM) update --latest --interactive
47
+ -git commit package.json -m"maint: Update dependencies."
48
+ -git commit pnpm-lock.yaml -m"pnpm-lock.yaml: Update." -n
29
49
 
30
50
  .git/hooks/commit-msg:
31
51
  echo "npx commitlint --edit" > .git/hooks/commit-msg
package/README.md CHANGED
@@ -4,6 +4,10 @@ This repository includes base files which are extended in Patternslib, Mockup or
4
4
 
5
5
  It includes a Makefile which helps in installing and releasing packages.
6
6
 
7
+ ## Updating dependencies
8
+
9
+ Run `make update` to update the dependencies in this or your dependent project.
10
+
7
11
  ## Upgrading
8
12
 
9
13
  Run `make upgrade` in your project.
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
1
  {
2
2
  "name": "@patternslib/dev",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "Development base files for working with Patternslib and add-ons.",
5
5
  "license": "MIT",
6
- "packageManager": "pnpm@12.3.4",
6
+ "packageManager": "pnpm@12.16.1",
7
7
  "dependencies": {
8
- "@babel/core": "^8.0.6",
9
- "@babel/preset-env": "^8.0.6",
10
- "@commitlint/cli": "^21.2.3",
11
- "@commitlint/config-conventional": "^21.2.3",
8
+ "@babel/core": "^8.1.0",
9
+ "@babel/preset-env": "^8.0.7",
10
+ "@commitlint/cli": "^21.2.4",
11
+ "@commitlint/config-conventional": "^21.2.4",
12
12
  "@eslint/js": "^10.0.1",
13
13
  "@release-it/conventional-changelog": "^12.0.2",
14
14
  "babel-loader": "^10.1.1",
15
15
  "css-loader": "^7.1.5",
16
- "eslint": "^10.11.0",
16
+ "eslint": "^10.14.0",
17
17
  "eslint-config-prettier": "^10.1.8",
18
- "globals": "^17.12.0",
18
+ "globals": "^17.14.0",
19
19
  "identity-obj-proxy": "^3.0.0",
20
20
  "jest": "^30.5.2",
21
21
  "jest-environment-jsdom": "^30.5.2",
22
22
  "jest-watch-typeahead": "^3.0.1",
23
- "prettier": "^3.9.8",
23
+ "prettier": "^3.9.10",
24
24
  "regenerator-runtime": "^0.14.1",
25
- "release-it": "^21.1.0",
26
- "sass": "^1.104.1",
27
- "sass-loader": "^17.0.1",
25
+ "release-it": "^21.1.2",
26
+ "sass": "^1.107.1",
27
+ "sass-loader": "^17.1.0",
28
28
  "style-loader": "^4.0.0",
29
29
  "terser-webpack-plugin": "^5.6.1",
30
30
  "timezone-mock": "^1.4.3",
31
- "webpack": "^5.111.1",
32
- "webpack-bundle-analyzer": "^5.4.0",
33
- "webpack-cli": "^7.2.3",
34
- "webpack-dev-server": "^6.0.0",
31
+ "webpack": "^5.112.2",
32
+ "webpack-bundle-analyzer": "^5.4.1",
33
+ "webpack-cli": "^7.3.1",
34
+ "webpack-dev-server": "^6.1.0",
35
35
  "whybundled": "^2.0.0"
36
36
  },
37
37
  "engines": {