@ideasonpurpose/build-tools-wordpress 1.2.0 ā 1.2.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.
- package/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/config/webpack.config.js +13 -10
- package/lib/AfterDoneReporterPlugin.js +1 -1
- package/lib/WatchRunReporterPlugin.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ 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
|
+
#### v1.2.0
|
|
8
|
+
|
|
9
|
+
> 19 September 2024
|
|
10
|
+
|
|
11
|
+
- deprecation free build! closes #5
|
|
12
|
+
- bump deps, remove some for deprecations. Ref #5
|
|
13
|
+
- bump deps, update examples and testing
|
|
14
|
+
- export webpackConfig
|
|
15
|
+
|
|
7
16
|
#### v1.1.14
|
|
8
17
|
|
|
9
18
|
> 6 May 2024
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ideasonpurpose/build-tools-wordpress
|
|
2
2
|
|
|
3
|
-
#### Version 1.2.
|
|
3
|
+
#### Version 1.2.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
|
@@ -59,6 +59,7 @@ const stats = {
|
|
|
59
59
|
// colors: true,
|
|
60
60
|
// depth: false,
|
|
61
61
|
// env: true,
|
|
62
|
+
hash: true,
|
|
62
63
|
// orphanModules: false,
|
|
63
64
|
// dependentModules: true,
|
|
64
65
|
modules: false,
|
|
@@ -75,8 +76,8 @@ const stats = {
|
|
|
75
76
|
// optimizationBailout: true,
|
|
76
77
|
// loggingTrace: false,
|
|
77
78
|
performance: true,
|
|
78
|
-
reasons:
|
|
79
|
-
relatedAssets:
|
|
79
|
+
reasons: false,
|
|
80
|
+
relatedAssets: false,
|
|
80
81
|
timings: true,
|
|
81
82
|
version: true,
|
|
82
83
|
warnings: true,
|
|
@@ -106,6 +107,9 @@ export default async (env) => {
|
|
|
106
107
|
* since they don't support file-watching (no inotify events), if there's
|
|
107
108
|
* something clean, use that instead. For now, this will force-enable polling.
|
|
108
109
|
*
|
|
110
|
+
* TODO: usePolling is likely no longer needed since webpack is running from node and
|
|
111
|
+
* not Docker
|
|
112
|
+
*
|
|
109
113
|
* TODO: Why so much dancing around defaults when this could just inherit from default.config?
|
|
110
114
|
*/
|
|
111
115
|
const usePolling = Boolean(config.usePolling); // likely undefined, coerced to false
|
|
@@ -121,11 +125,11 @@ export default async (env) => {
|
|
|
121
125
|
? { implementation: config.sass }
|
|
122
126
|
: {};
|
|
123
127
|
|
|
124
|
-
console.log({
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
128
|
+
// console.log({
|
|
129
|
+
// metaurl: new URL("webpack/stats/index.html", import.meta.url),
|
|
130
|
+
// config,
|
|
131
|
+
// // devServerProxy: await devserverProxy(config),
|
|
132
|
+
// });
|
|
129
133
|
|
|
130
134
|
return {
|
|
131
135
|
// stats: "errors-warnings",
|
|
@@ -461,6 +465,8 @@ export default async (env) => {
|
|
|
461
465
|
// throw new Error("webpack-dev-server is not defined");
|
|
462
466
|
// }
|
|
463
467
|
|
|
468
|
+
// devServer.internalIP('v4').then(ip => console.log('!!!!!!', ip));
|
|
469
|
+
|
|
464
470
|
/**
|
|
465
471
|
* The `/inform` route is an annoying bit of code. Here's why:
|
|
466
472
|
* Ubiquity Wi-fi hardware frequently spams the shit out of their
|
|
@@ -515,9 +521,6 @@ export default async (env) => {
|
|
|
515
521
|
},
|
|
516
522
|
},
|
|
517
523
|
|
|
518
|
-
// ...(await devserverProxy(config)),
|
|
519
|
-
// TODO: Move
|
|
520
|
-
// ...(isProduction ? {} : await devserverProxy(config)),
|
|
521
524
|
...proxy,
|
|
522
525
|
},
|
|
523
526
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ideasonpurpose/build-tools-wordpress",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.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": {
|