@patternslib/dev 3.5.2 → 3.6.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/.github/workflows/test.yml +3 -3
- package/CHANGES.md +56 -1
- package/babel.config.js +0 -1
- package/package.json +22 -22
- package/webpack/webpack.config.js +3 -3
|
@@ -11,9 +11,9 @@ jobs:
|
|
|
11
11
|
name: test
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
15
|
-
- uses: actions/setup-node@
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/setup-node@v4
|
|
16
16
|
with:
|
|
17
|
-
node-version: '
|
|
17
|
+
node-version: '20'
|
|
18
18
|
cache: 'yarn'
|
|
19
19
|
- run: make check
|
package/CHANGES.md
CHANGED
|
@@ -2,6 +2,61 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [3.6.0](https://github.com/patternslib/dev/compare/3.5.3...3.6.0) (2024-08-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
* Add husky commitlint also to this package. ([1bdcf63](https://github.com/patternslib/dev/commit/1bdcf636324a0a05946754af84faa78c4c7f71f4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* Add WebP as asset/resource along to the other formats for the Webpack loader. ([58f369c](https://github.com/patternslib/dev/commit/58f369c256eadd3f631f0ea79ed509a93fdfd3d1))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
* Do not upgrade husky and keep at pre 9.x. ([fe89852](https://github.com/patternslib/dev/commit/fe8985223c11cc4258e44e475aeebaa1926ed327))
|
|
22
|
+
|
|
23
|
+
Husky has some breaking changes which we should only upgrade with the next major release of @patternslib/dev.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* Require minimum node v18.18. ([807147a](https://github.com/patternslib/dev/commit/807147a98527520b7455061629a04ebac6941740))
|
|
27
|
+
|
|
28
|
+
This is Webpack's minimum required version.
|
|
29
|
+
Note: As time of this commit, versions below 18 are unmaintained.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Maintenance
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
* Remove plugin-transform-optional-chaining from babel. ([9facee8](https://github.com/patternslib/dev/commit/9facee8b35a9f09c24c6e466228503d0a257445b))
|
|
37
|
+
|
|
38
|
+
The optional chaining feature is already included in preset-env ES2020.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
* Upgrade dependencies. ([c3d64fd](https://github.com/patternslib/dev/commit/c3d64fdd0c543e199e04088fc661c7bd9315bbe3))
|
|
42
|
+
|
|
43
|
+
Upgrade all except eslint, which needs to migrate from `.eslintrc.js` to
|
|
44
|
+
`eslint.config.js`. This will be done in an upcoming major release.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
* Upgrade GitHub Actions node version. ([4c96faa](https://github.com/patternslib/dev/commit/4c96faa2e34b4fdf50d2d38b6a230704f7d9c7ed))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
* Upgrade GitHub Actions. ([f687bee](https://github.com/patternslib/dev/commit/f687bee3dcd94b50b14fd5df3370aa9ecf245943))
|
|
51
|
+
|
|
52
|
+
## [3.5.3](https://github.com/patternslib/dev/compare/3.5.2...3.5.3) (2023-11-22)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Maintenance
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
* Upgrade dependencies. ([8c20da1](https://github.com/patternslib/dev/commit/8c20da1249a793c6deac64f4cddcb46932e8efa4))
|
|
59
|
+
|
|
5
60
|
## [3.5.2](https://github.com/patternslib/dev/compare/3.5.1...3.5.2) (2023-10-16)
|
|
6
61
|
|
|
7
62
|
|
|
@@ -639,4 +694,4 @@ all dependencies will be installed.
|
|
|
639
694
|
|
|
640
695
|
* Initial dev setup, based on @patternslib/patternslib. ([12968fb](https://github.com/patternslib/dev/commit/12968fb0c9ee8d0b858acc88d8d3077a70cfa6d2))
|
|
641
696
|
|
|
642
|
-
* Upgrade dependencies. ([134295d](https://github.com/patternslib/dev/commit/134295d67fe7c479c73c7878fd1d3ef0a07e5a83))
|
|
697
|
+
* Upgrade dependencies. ([134295d](https://github.com/patternslib/dev/commit/134295d67fe7c479c73c7878fd1d3ef0a07e5a83))
|
package/babel.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternslib/dev",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Development base files for working with Patternslib and add-ons.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@babel/core": "^7.
|
|
8
|
-
"@babel/eslint-parser": "^7.
|
|
9
|
-
"@babel/preset-env": "^7.
|
|
10
|
-
"@commitlint/cli": "^
|
|
11
|
-
"@commitlint/config-conventional": "^
|
|
12
|
-
"@release-it/conventional-changelog": "^
|
|
7
|
+
"@babel/core": "^7.25.2",
|
|
8
|
+
"@babel/eslint-parser": "^7.25.1",
|
|
9
|
+
"@babel/preset-env": "^7.25.3",
|
|
10
|
+
"@commitlint/cli": "^19.4.0",
|
|
11
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
12
|
+
"@release-it/conventional-changelog": "^8.0.1",
|
|
13
13
|
"babel-loader": "^9.1.3",
|
|
14
|
-
"css-loader": "^
|
|
15
|
-
"eslint": "^8.
|
|
16
|
-
"eslint-config-prettier": "^9.
|
|
14
|
+
"css-loader": "^7.1.2",
|
|
15
|
+
"eslint": "^8.57.0",
|
|
16
|
+
"eslint-config-prettier": "^9.1.0",
|
|
17
17
|
"husky": "^8.0.3",
|
|
18
18
|
"identity-obj-proxy": "^3.0.0",
|
|
19
19
|
"jest": "^29.7.0",
|
|
20
20
|
"jest-environment-jsdom": "^29.7.0",
|
|
21
21
|
"jest-watch-typeahead": "^2.2.2",
|
|
22
|
-
"prettier": "^3.
|
|
23
|
-
"regenerator-runtime": "^0.14.
|
|
24
|
-
"release-it": "^
|
|
25
|
-
"sass": "^1.
|
|
26
|
-
"sass-loader": "^
|
|
27
|
-
"style-loader": "^
|
|
28
|
-
"terser-webpack-plugin": "^5.3.
|
|
22
|
+
"prettier": "^3.3.3",
|
|
23
|
+
"regenerator-runtime": "^0.14.1",
|
|
24
|
+
"release-it": "^17.6.0",
|
|
25
|
+
"sass": "^1.77.8",
|
|
26
|
+
"sass-loader": "^16.0.0",
|
|
27
|
+
"style-loader": "^4.0.0",
|
|
28
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
29
29
|
"timezone-mock": "^1.3.6",
|
|
30
|
-
"webpack": "^5.
|
|
31
|
-
"webpack-bundle-analyzer": "^4.
|
|
30
|
+
"webpack": "^5.93.0",
|
|
31
|
+
"webpack-bundle-analyzer": "^4.10.2",
|
|
32
32
|
"webpack-cli": "^5.1.4",
|
|
33
|
-
"webpack-dev-server": "^
|
|
33
|
+
"webpack-dev-server": "^5.0.4",
|
|
34
34
|
"whybundled": "^2.0.0",
|
|
35
|
-
"yarn": "^1.22.
|
|
35
|
+
"yarn": "^1.22.22"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
|
-
"node": ">=
|
|
38
|
+
"node": ">=18.18"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"test": "jest"
|
|
@@ -72,7 +72,7 @@ const config_factory = (env, argv, config, babel_include = [], package_json) =>
|
|
|
72
72
|
type: "asset/source",
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
test: /\.(eot|woff|woff2|ttf|png|jpe?g|gif)$/i,
|
|
75
|
+
test: /\.(eot|woff|woff2|ttf|png|jpe?g|gif|webp)$/i,
|
|
76
76
|
type: "asset/resource",
|
|
77
77
|
},
|
|
78
78
|
],
|
|
@@ -89,12 +89,12 @@ const config_factory = (env, argv, config, babel_include = [], package_json) =>
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
if (package_json && package_json.version && package_json.name) {
|
|
92
|
-
// Add a banner to generated
|
|
92
|
+
// Add a banner to the generated bundle with the bundle name and version.
|
|
93
93
|
base_config.plugins.push(
|
|
94
94
|
new webpack.BannerPlugin({
|
|
95
95
|
banner: `${package_json.name} ${package_json.version}`,
|
|
96
96
|
entryOnly: true,
|
|
97
|
-
})
|
|
97
|
+
}),
|
|
98
98
|
);
|
|
99
99
|
}
|
|
100
100
|
|