@ideasonpurpose/build-tools-wordpress 1.1.11 → 1.1.13
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 +13 -0
- package/README.md +4 -4
- package/bin/zip.js +2 -0
- package/lib/buildConfig.js +2 -1
- package/package.json +25 -24
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ 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.1.12
|
|
8
|
+
|
|
9
|
+
> 4 March 2024
|
|
10
|
+
|
|
11
|
+
- readme badge links
|
|
12
|
+
- were all these problems just a missing shebang?
|
|
13
|
+
|
|
14
|
+
#### v1.1.11
|
|
15
|
+
|
|
16
|
+
> 4 March 2024
|
|
17
|
+
|
|
18
|
+
- Remove version from plugin builds WIP
|
|
19
|
+
|
|
7
20
|
#### v1.1.10
|
|
8
21
|
|
|
9
22
|
> 4 March 2024
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @ideasonpurpose/build-tools-wordpress
|
|
2
2
|
|
|
3
|
-
#### Version 1.1.
|
|
3
|
+
#### Version 1.1.13
|
|
4
4
|
|
|
5
|
-

|
|
6
|
-

|
|
5
|
+
[](https://www.npmjs.com/package/@ideasonpurpose/build-tools-wordpress)
|
|
6
|
+
[](https://github.com/ideasonpurpose/build-tools-wordpress#readme)
|
|
7
7
|
|
|
8
8
|
Build scripts and dependencies for IOP's WordPress development environments.
|
|
9
9
|
|
|
@@ -17,7 +17,7 @@ Each project should have an **ideasonpurpose.config.js** file in the same direct
|
|
|
17
17
|
|
|
18
18
|
### Versioned Releases
|
|
19
19
|
|
|
20
|
-
IOP versions our
|
|
20
|
+
IOP versions our themes so every release creates a clear rollback snapshot. To accomplish this, every milestone build is generated into a versioned directory. This works well for themes where only one can be active, but fails for plugins where multiple versions can be simultaneously enabled so long as their directory names are different.
|
|
21
21
|
|
|
22
22
|
To work around this, a `type` property can be added to the config file. When `type` is `plugin`, builds will not add the version to directory names.
|
|
23
23
|
|
package/bin/zip.js
CHANGED
package/lib/buildConfig.js
CHANGED
|
@@ -3,7 +3,7 @@ import { posix as path } from "path";
|
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import url from "url";
|
|
5
5
|
|
|
6
|
-
import { findLocalPort } from "../index.js";
|
|
6
|
+
// import { findLocalPort } from "../index.js";
|
|
7
7
|
|
|
8
8
|
// import defaultConfig from "../default.config.js";
|
|
9
9
|
|
|
@@ -15,6 +15,7 @@ const defaultConfig = {
|
|
|
15
15
|
contentBase: "/dist/", // TODO: Should this be false?
|
|
16
16
|
manifestFile: "./dependency-manifest.json",
|
|
17
17
|
sass: "sass-embedded",
|
|
18
|
+
esTarget: "es2020",
|
|
18
19
|
devtool: false,
|
|
19
20
|
transpileDependencies: ["ansi-regex", "normalize-url"],
|
|
20
21
|
proxy: "wordpress",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ideasonpurpose/build-tools-wordpress",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
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": {
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
},
|
|
31
31
|
"prettier": "@ideasonpurpose/prettier-config",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ideasonpurpose/prettier-config": "^0.0.
|
|
33
|
+
"@ideasonpurpose/prettier-config": "^0.0.6",
|
|
34
34
|
"@prettier/plugin-php": "^0.22.2",
|
|
35
35
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
36
36
|
"@rollup/plugin-json": "^6.1.0",
|
|
37
37
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
38
38
|
"@svgr/webpack": "^8.1.0",
|
|
39
|
-
"@wordpress/dependency-extraction-webpack-plugin": "^5.
|
|
39
|
+
"@wordpress/dependency-extraction-webpack-plugin": "^5.6.0",
|
|
40
40
|
"ansi-html": "^0.0.9",
|
|
41
|
-
"archiver": "^7.0.
|
|
41
|
+
"archiver": "^7.0.1",
|
|
42
42
|
"auto-changelog": "^2.4.0",
|
|
43
|
-
"autoprefixer": "^10.4.
|
|
43
|
+
"autoprefixer": "^10.4.19",
|
|
44
44
|
"babel-loader": "^9.1.3",
|
|
45
45
|
"body-parser": "^1.20.2",
|
|
46
|
-
"caniuse-lite": "^1.0.
|
|
46
|
+
"caniuse-lite": "^1.0.30001608",
|
|
47
47
|
"chalk": "^5.3.0",
|
|
48
48
|
"chalk-cli": "^5.0.1",
|
|
49
49
|
"classnames": "^2.5.1",
|
|
@@ -52,48 +52,49 @@
|
|
|
52
52
|
"cosmiconfig": "^9.0.0",
|
|
53
53
|
"cross-env": "^7.0.3",
|
|
54
54
|
"css-loader": "^6.10.0",
|
|
55
|
-
"cssnano": "^6.
|
|
55
|
+
"cssnano": "^6.1.2",
|
|
56
56
|
"del": "^7.1.0",
|
|
57
57
|
"dotenv": "^16.4.5",
|
|
58
|
-
"esbuild-loader": "^4.0
|
|
59
|
-
"eslint": "^
|
|
60
|
-
"eslint-plugin-react": "^7.
|
|
61
|
-
"filesize": "^10.
|
|
58
|
+
"esbuild-loader": "^4.1.0",
|
|
59
|
+
"eslint": "^9.0.0",
|
|
60
|
+
"eslint-plugin-react": "^7.34.1",
|
|
61
|
+
"filesize": "^10.1.1",
|
|
62
62
|
"fs-extra": "^11.1.1",
|
|
63
63
|
"globby": "^14.0.1",
|
|
64
64
|
"http-proxy": "^1.18.1",
|
|
65
|
-
"humanize-duration": "^3.
|
|
65
|
+
"humanize-duration": "^3.32.0",
|
|
66
66
|
"image-minimizer-webpack-plugin": "^4.0.0",
|
|
67
67
|
"is-text-path": "^2.0.0",
|
|
68
68
|
"lodash": "^4.17.21",
|
|
69
69
|
"mini-css-extract-plugin": "^2.8.1",
|
|
70
70
|
"node-sass": "^9.0.0",
|
|
71
|
-
"postcss": "^8.4.
|
|
71
|
+
"postcss": "^8.4.38",
|
|
72
72
|
"postcss-loader": "^8.1.1",
|
|
73
73
|
"postcss-scss": "^4.0.9",
|
|
74
74
|
"prettier": "^3.2.5",
|
|
75
75
|
"prettier-eslint": "^16.3.0",
|
|
76
76
|
"pretty-hrtime": "^1.0.3",
|
|
77
|
+
"read-package-up": "^11.0.0",
|
|
77
78
|
"replacestream": "^4.0.3",
|
|
78
|
-
"sass": "^1.
|
|
79
|
-
"sass-embedded": "^1.
|
|
79
|
+
"sass": "^1.74.1",
|
|
80
|
+
"sass-embedded": "^1.74.1",
|
|
80
81
|
"sass-loader": "^14.1.1",
|
|
81
82
|
"semver": "^7.6.0",
|
|
82
|
-
"sharp": "^0.33.
|
|
83
|
-
"sort-package-json": "^2.
|
|
83
|
+
"sharp": "^0.33.3",
|
|
84
|
+
"sort-package-json": "^2.10.0",
|
|
84
85
|
"source-map-explorer": "^2.5.3",
|
|
85
86
|
"string-length": "^6.0.0",
|
|
86
|
-
"style-loader": "^
|
|
87
|
-
"stylelint": "^16.
|
|
87
|
+
"style-loader": "^4.0.0",
|
|
88
|
+
"stylelint": "^16.3.1",
|
|
88
89
|
"stylelint-order": "^6.0.4",
|
|
89
90
|
"stylelint-prettier": "^5.0.0",
|
|
90
91
|
"svgo": "^3.0.2",
|
|
91
92
|
"svgo-loader": "^4.0.0",
|
|
92
|
-
"version-everything": "^0.11.
|
|
93
|
-
"webpack": "^5.
|
|
93
|
+
"version-everything": "^0.11.2",
|
|
94
|
+
"webpack": "^5.91.0",
|
|
94
95
|
"webpack-bundle-analyzer": "^4.9.1",
|
|
95
96
|
"webpack-cli": "^5.1.4",
|
|
96
|
-
"webpack-dev-middleware": "^7.
|
|
97
|
+
"webpack-dev-middleware": "^7.2.1",
|
|
97
98
|
"webpack-dev-server": "^4.15.1"
|
|
98
99
|
},
|
|
99
100
|
"version-everything": {
|
|
@@ -102,7 +103,7 @@
|
|
|
102
103
|
]
|
|
103
104
|
},
|
|
104
105
|
"devDependencies": {
|
|
105
|
-
"@vitest/coverage-v8": "^1.
|
|
106
|
-
"vitest": "^1.
|
|
106
|
+
"@vitest/coverage-v8": "^1.4.0",
|
|
107
|
+
"vitest": "^1.4.0"
|
|
107
108
|
}
|
|
108
109
|
}
|