@ideasonpurpose/build-tools-wordpress 1.1.7 → 1.1.9
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/npm-publish.yml +3 -3
- package/.github/workflows/release-from-version-tag.yml +1 -1
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/bin/zip.js +12 -4
- package/package.json +1 -1
|
@@ -11,11 +11,11 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-22.04
|
|
12
12
|
steps:
|
|
13
13
|
# https://github.com/marketplace/actions/checkout
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
15
|
# https://github.com/actions/setup-node
|
|
16
|
-
- uses: actions/setup-node@
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
17
|
with:
|
|
18
|
-
node-version:
|
|
18
|
+
node-version: 20
|
|
19
19
|
registry-url: https://registry.npmjs.org/
|
|
20
20
|
# - run: npm ci
|
|
21
21
|
- run: npm publish
|
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
|
+
#### v1.1.8
|
|
8
|
+
|
|
9
|
+
> 4 March 2024
|
|
10
|
+
|
|
11
|
+
- quick remove readline function
|
|
12
|
+
|
|
13
|
+
#### v1.1.7
|
|
14
|
+
|
|
15
|
+
> 4 March 2024
|
|
16
|
+
|
|
17
|
+
- extracting the zip script, updated deps
|
|
18
|
+
- WIP example webpack.config.js file
|
|
19
|
+
- update readme
|
|
20
|
+
|
|
7
21
|
#### v1.1.6
|
|
8
22
|
|
|
9
23
|
> 30 January 2024
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ideasonpurpose/build-tools-wordpress
|
|
2
2
|
|
|
3
|
-
#### Version 1.1.
|
|
3
|
+
#### Version 1.1.9
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|

|
package/bin/zip.js
CHANGED
|
@@ -4,6 +4,8 @@ import { stat } from "node:fs/promises";
|
|
|
4
4
|
import { basename, dirname, join } from "node:path/posix";
|
|
5
5
|
import { createReadStream, createWriteStream, statSync } from "node:fs";
|
|
6
6
|
|
|
7
|
+
import { clearLine, cursorTo } from "node:readline";
|
|
8
|
+
|
|
7
9
|
import url from "url";
|
|
8
10
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
9
11
|
|
|
@@ -174,9 +176,12 @@ function foundReporter(file) {
|
|
|
174
176
|
outString += chalk.blue(cliTruncate(file.path, cols, { position: "middle" }));
|
|
175
177
|
|
|
176
178
|
if (fileCount % 25 == 0) {
|
|
177
|
-
process.stdout.clearLine();
|
|
178
|
-
|
|
179
|
+
// process.stdout.clearLine();
|
|
180
|
+
clearLine(stdout);
|
|
181
|
+
// process.stdout.cursorTo(0);
|
|
182
|
+
cursorTo(stdout, 0);
|
|
179
183
|
process.stdout.write(outString);
|
|
184
|
+
|
|
180
185
|
}
|
|
181
186
|
}
|
|
182
187
|
|
|
@@ -187,8 +192,11 @@ function finishReporter() {
|
|
|
187
192
|
const savedBytes = inBytes - outBytes;
|
|
188
193
|
const savedPercent = ((1 - outBytes / inBytes) * 100).toFixed(2);
|
|
189
194
|
|
|
190
|
-
process.stdout.clearLine();
|
|
191
|
-
|
|
195
|
+
// process.stdout.clearLine();
|
|
196
|
+
clearLine(stdout);
|
|
197
|
+
|
|
198
|
+
// process.stdout.cursorTo(0);
|
|
199
|
+
cursorTo(stdout, 0);
|
|
192
200
|
|
|
193
201
|
console.log(
|
|
194
202
|
"🔍 ",
|
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.9",
|
|
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": {
|