@instawp/cli 0.0.1-beta.6 → 0.0.1-beta.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/CHANGELOG.md +17 -0
- package/dist/index.js +0 -0
- package/dist/lib/windows-binaries.js +8 -3
- package/dist/lib/windows-binaries.js.map +1 -1
- package/package.json +2 -2
- /package/{bin → vendor}/win32/NOTICE.md +0 -0
- /package/{bin → vendor}/win32/busybox.exe +0 -0
- /package/{bin → vendor}/win32/msys-2.0.dll +0 -0
- /package/{bin → vendor}/win32/msys-crypto-3.dll +0 -0
- /package/{bin → vendor}/win32/msys-iconv-2.dll +0 -0
- /package/{bin → vendor}/win32/msys-intl-8.dll +0 -0
- /package/{bin → vendor}/win32/msys-lz4-1.dll +0 -0
- /package/{bin → vendor}/win32/msys-popt-0.dll +0 -0
- /package/{bin → vendor}/win32/msys-xxhash-0.dll +0 -0
- /package/{bin → vendor}/win32/msys-zstd-1.dll +0 -0
- /package/{bin → vendor}/win32/rsync.exe +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.1-beta.9 (2026-05-23)
|
|
4
|
+
|
|
5
|
+
### Internals
|
|
6
|
+
- CI smoke test now verifies the bundle by extracting the packed tarball directly (via `tar -xzf`) and running `rsync.exe` from the extract dir. Replaces the `npm install -g` step, which was failing on the GHA Windows runner due to Defender quarantine interactions (tamper protection prevented our exclusion settings from taking effect). Real-user installs are not affected — Defender on individual developer machines is configurable and the first reported Windows install showed the bundle landing at the correct path.
|
|
7
|
+
|
|
8
|
+
## 0.0.1-beta.8 (2026-05-23)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes (Windows)
|
|
11
|
+
- Moved bundled Windows binaries from `bin/win32/` to `vendor/win32/`. With `bin/` and the `bin` field in package.json both set, npm's global install on Windows dropped the `bin/win32/` subdirectory — leaving the CLI unable to find rsync.exe at runtime. macOS/Linux installs were unaffected. Renaming sidesteps the collision entirely.
|
|
12
|
+
|
|
13
|
+
## 0.0.1-beta.7 (2026-05-23)
|
|
14
|
+
|
|
15
|
+
### Internals
|
|
16
|
+
- Smoke-windows CI job now runs the bundled `rsync.exe` and `busybox.exe` directly from the workspace bundle **before** the npm-install step, so a passing smoke test proves the DLL chain is correct independent of whether antivirus interferes with the global install path.
|
|
17
|
+
- Adds Windows Defender exclusions before `npm i -g` to prevent msys DLLs from being quarantined during install.
|
|
18
|
+
- Publish job now skips on `workflow_dispatch` (manual triggers), so maintainers can re-test the smoke job without bumping the version.
|
|
19
|
+
|
|
3
20
|
## 0.0.1-beta.6 (2026-05-23)
|
|
4
21
|
|
|
5
22
|
### Bug Fixes (Windows)
|
package/dist/index.js
CHANGED
|
File without changes
|
|
@@ -4,10 +4,15 @@ import { resolveFromModule } from './paths.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* Path to the bundled Windows binaries directory, resolved relative to this
|
|
6
6
|
* module's location at runtime. After build, this module lives in
|
|
7
|
-
* `dist/lib/windows-binaries.js`, so `../../
|
|
8
|
-
* `<package-root>/
|
|
7
|
+
* `dist/lib/windows-binaries.js`, so `../../vendor/win32` lands at
|
|
8
|
+
* `<package-root>/vendor/win32`.
|
|
9
|
+
*
|
|
10
|
+
* NOTE: directory is named `vendor/win32` (not `bin/win32`) deliberately —
|
|
11
|
+
* npm's handling of the `bin` field interacts badly with a same-named `bin/`
|
|
12
|
+
* directory on Windows during global install (the subdir gets dropped),
|
|
13
|
+
* so we keep our bundled tools out of the conventional `bin/` slot.
|
|
9
14
|
*/
|
|
10
|
-
const WIN_BIN_DIR = resolveFromModule(import.meta.url, '..', '..', '
|
|
15
|
+
const WIN_BIN_DIR = resolveFromModule(import.meta.url, '..', '..', 'vendor', 'win32');
|
|
11
16
|
function bundled(name) {
|
|
12
17
|
if (process.platform !== 'win32')
|
|
13
18
|
return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"windows-binaries.js","sourceRoot":"","sources":["../../src/lib/windows-binaries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"windows-binaries.js","sourceRoot":"","sources":["../../src/lib/windows-binaries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C;;;;;;;;;;GAUG;AACH,MAAM,WAAW,GAAG,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AAEtF,SAAS,OAAO,CAAC,IAAY;IAC3B,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO;QAAE,OAAO,IAAI,CAAC;IAC9C,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;IAClC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY;IAC1B,OAAO,OAAO,CAAC,WAAW,CAAC,CAAC;AAC9B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,OAAO,CAAC,aAAa,CAAC,CAAC;AAChC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instawp/cli",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.9",
|
|
4
4
|
"description": "InstaWP CLI - Create and manage WordPress sites from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dist",
|
|
11
11
|
"!dist/__tests__",
|
|
12
12
|
"scripts/mysql2sqlite",
|
|
13
|
-
"
|
|
13
|
+
"vendor/win32/**",
|
|
14
14
|
"CHANGELOG.md"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|