@ideasonpurpose/build-tools-wordpress 2.5.1 → 2.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.
@@ -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,14 @@ 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.5.1
8
+
9
+ > 8 March 2026
10
+
11
+ - add rimraf
12
+ - add SVG processing details to README
13
+ - add comment for runner images in release workflow
14
+
7
15
  #### v2.5.0
8
16
 
9
17
  > 7 March 2026
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @ideasonpurpose/build-tools-wordpress
2
2
 
3
- #### Version 2.5.1
3
+ #### Version 2.6.0
4
4
 
5
5
  [![NPM Version](https://img.shields.io/npm/v/%40ideasonpurpose%2Fbuild-tools-wordpress?logo=npm)](https://www.npmjs.com/package/@ideasonpurpose/build-tools-wordpress)
6
6
  [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ideasonpurpose/build-tools-wordpress/npm-publish.yml?logo=github&logoColor=white)](https://github.com/ideasonpurpose/build-tools-wordpress#readme)
@@ -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.5.1",
3
+ "version": "2.6.0",
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": {
@@ -45,8 +45,8 @@
45
45
  "archiver": "^7.0.1",
46
46
  "auto-changelog": "^2.5.0",
47
47
  "autoprefixer": "^10.4.27",
48
- "babel-loader": "^10.1.0",
49
- "caniuse-lite": "^1.0.30001777",
48
+ "babel-loader": "^10.1.1",
49
+ "caniuse-lite": "^1.0.30001778",
50
50
  "chalk": "^5.6.2",
51
51
  "chalk-cli": "^6.0.0",
52
52
  "classnames": "^2.5.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.0",
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.97.3",
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",
@@ -98,8 +98,8 @@
98
98
  "webpack-cli": "^6.0.1"
99
99
  },
100
100
  "devDependencies": {
101
- "@vitest/coverage-v8": "^4.0.18",
102
- "vitest": "^4.0.18"
101
+ "@vitest/coverage-v8": "^4.1.0",
102
+ "vitest": "^4.1.0"
103
103
  },
104
104
  "version-everything": {
105
105
  "files": [