@ideasonpurpose/build-tools-wordpress 2.5.1 → 2.6.1
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.
|
@@ -6,9 +6,9 @@ on:
|
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
8
|
build:
|
|
9
|
-
# https://github.com/actions/runner-images
|
|
10
9
|
name: Build Release
|
|
11
10
|
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
|
|
11
|
+
# https://github.com/actions/runner-images
|
|
12
12
|
runs-on: ubuntu-24.04
|
|
13
13
|
|
|
14
14
|
steps:
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### v2.6.0
|
|
8
|
+
|
|
9
|
+
> 13 March 2026
|
|
10
|
+
|
|
11
|
+
- bump deps, remove debug logs, resulve from sass & styles
|
|
12
|
+
|
|
13
|
+
#### v2.5.1
|
|
14
|
+
|
|
15
|
+
> 8 March 2026
|
|
16
|
+
|
|
17
|
+
- add rimraf
|
|
18
|
+
- add SVG processing details to README
|
|
19
|
+
- add comment for runner images in release workflow
|
|
20
|
+
|
|
7
21
|
#### v2.5.0
|
|
8
22
|
|
|
9
23
|
> 7 March 2026
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ideasonpurpose/build-tools-wordpress
|
|
2
2
|
|
|
3
|
-
#### Version 2.
|
|
3
|
+
#### Version 2.6.1
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@ideasonpurpose/build-tools-wordpress)
|
|
6
6
|
[](https://github.com/ideasonpurpose/build-tools-wordpress#readme)
|
package/config/webpack.config.js
CHANGED
|
@@ -186,6 +186,7 @@ export default async (env) => {
|
|
|
186
186
|
|
|
187
187
|
loadPaths: [
|
|
188
188
|
path.resolve(config.src, "sass"),
|
|
189
|
+
path.resolve(config.src, "styles"),
|
|
189
190
|
path.resolve(siteDir, "node_modules"),
|
|
190
191
|
],
|
|
191
192
|
},
|
|
@@ -302,9 +303,10 @@ export default async (env) => {
|
|
|
302
303
|
hot: true, // Enable hot module replacement with fallback to full reload
|
|
303
304
|
|
|
304
305
|
// hot: "only",
|
|
305
|
-
static:
|
|
306
|
-
watch: false,
|
|
307
|
-
|
|
306
|
+
static: [
|
|
307
|
+
{ directory: config.dist, watch: false },
|
|
308
|
+
{ directory: config.src, publicPath: config.publicPath.replace('/dist/', '/src/'), watch: false },
|
|
309
|
+
],
|
|
308
310
|
|
|
309
311
|
client: {
|
|
310
312
|
logging: "verbose",
|
|
@@ -486,7 +488,7 @@ export default async (env) => {
|
|
|
486
488
|
dot: true, // TODO: Dangerous? Why is this ever necessary?!
|
|
487
489
|
ignore: [
|
|
488
490
|
"**/{.gitignore,.DS_Store,*:Zone.Identifier}",
|
|
489
|
-
config.src + "/{block,blocks,fonts,js,sass}/**",
|
|
491
|
+
config.src + "/{block,blocks,fonts,js,sass,styles}/**",
|
|
490
492
|
],
|
|
491
493
|
},
|
|
492
494
|
noErrorOnMissing: true,
|
|
@@ -24,7 +24,7 @@ export class DependencyManifestPlugin {
|
|
|
24
24
|
// Object.keys(compilation),
|
|
25
25
|
// );
|
|
26
26
|
|
|
27
|
-
console.log(Array.from(compilation.namedChunkGroups.keys()))
|
|
27
|
+
// console.log(Array.from(compilation.namedChunkGroups.keys()))
|
|
28
28
|
|
|
29
29
|
Array.from(compilation.namedChunkGroups.entries()).forEach(
|
|
30
30
|
([key, group]) => {
|
|
@@ -76,7 +76,7 @@ export class DependencyManifestPlugin {
|
|
|
76
76
|
},
|
|
77
77
|
);
|
|
78
78
|
|
|
79
|
-
console.log(this.manifest);
|
|
79
|
+
// console.log(this.manifest);
|
|
80
80
|
|
|
81
81
|
callback();
|
|
82
82
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ideasonpurpose/build-tools-wordpress",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Build scripts and dependencies for IOP's WordPress development environments.",
|
|
5
5
|
"homepage": "https://github.com/ideasonpurpose/build-tools-wordpress#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"@rollup/plugin-json": "^6.1.0",
|
|
41
41
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
42
42
|
"@svgr/webpack": "^8.1.0",
|
|
43
|
-
"@wordpress/dependency-extraction-webpack-plugin": "^6.
|
|
43
|
+
"@wordpress/dependency-extraction-webpack-plugin": "^6.42.0",
|
|
44
44
|
"ansi-html": "^0.0.9",
|
|
45
45
|
"archiver": "^7.0.1",
|
|
46
46
|
"auto-changelog": "^2.5.0",
|
|
47
47
|
"autoprefixer": "^10.4.27",
|
|
48
|
-
"babel-loader": "^10.1.
|
|
49
|
-
"caniuse-lite": "^1.0.
|
|
48
|
+
"babel-loader": "^10.1.1",
|
|
49
|
+
"caniuse-lite": "^1.0.30001781",
|
|
50
50
|
"chalk": "^5.6.2",
|
|
51
51
|
"chalk-cli": "^6.0.0",
|
|
52
52
|
"classnames": "^2.5.1",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"cssnano": "^7.1.3",
|
|
59
59
|
"dotenv": "^17.3.1",
|
|
60
60
|
"esbuild-loader": "^4.4.2",
|
|
61
|
-
"eslint": "^10.0
|
|
61
|
+
"eslint": "^10.1.0",
|
|
62
62
|
"filesize": "^11.0.13",
|
|
63
63
|
"fs-extra": "^11.3.4",
|
|
64
64
|
"globby": "^16.1.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"image-minimizer-webpack-plugin": "^5.0.0",
|
|
69
69
|
"is-text-path": "^3.0.0",
|
|
70
70
|
"lodash": "^4.17.23",
|
|
71
|
-
"mini-css-extract-plugin": "^2.10.
|
|
71
|
+
"mini-css-extract-plugin": "^2.10.1",
|
|
72
72
|
"ora": "^9.3.0",
|
|
73
73
|
"postcss": "^8.5.8",
|
|
74
74
|
"postcss-loader": "^8.2.1",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"read-package-up": "^12.0.0",
|
|
79
79
|
"replacestream": "^4.0.3",
|
|
80
80
|
"rimraf": "^6.1.3",
|
|
81
|
-
"sass-embedded": "^1.
|
|
81
|
+
"sass-embedded": "^1.98.0",
|
|
82
82
|
"sass-loader": "^16.0.7",
|
|
83
83
|
"semver": "^7.7.4",
|
|
84
84
|
"sharp": "^0.34.5",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"version-everything": "^0.11.4",
|
|
91
91
|
"webpack": "^5.105.4",
|
|
92
92
|
"webpack-bundle-analyzer": "^5.2.0",
|
|
93
|
-
"webpack-dev-middleware": "^
|
|
93
|
+
"webpack-dev-middleware": "^8.0.0",
|
|
94
94
|
"webpack-dev-server": "^5.2.3",
|
|
95
95
|
"webpack-manifest-plugin": "^6.0.1"
|
|
96
96
|
},
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"webpack-cli": "^6.0.1"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@vitest/coverage-v8": "^4.0
|
|
102
|
-
"vitest": "^4.0
|
|
101
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
102
|
+
"vitest": "^4.1.0"
|
|
103
103
|
},
|
|
104
104
|
"version-everything": {
|
|
105
105
|
"files": [
|