@ideasonpurpose/build-tools-wordpress 1.1.7 → 1.1.8

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 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
+ #### v1.1.7
8
+
9
+ > 4 March 2024
10
+
11
+ - extracting the zip script, updated deps
12
+ - WIP example webpack.config.js file
13
+ - update readme
14
+
7
15
  #### v1.1.6
8
16
 
9
17
  > 30 January 2024
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @ideasonpurpose/build-tools-wordpress
2
2
 
3
- #### Version 1.1.7
3
+ #### Version 1.1.8
4
4
 
5
5
  ![NPM Version](https://img.shields.io/npm/v/%40ideasonpurpose%2Fbuild-tools-wordpress?logo=npm)
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)
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
- process.stdout.cursorTo(0);
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ideasonpurpose/build-tools-wordpress",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
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": {