@bugsee/cli 0.7.6 → 0.7.7
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/README.md +2 -1
- package/lib/index.js +1 -1
- package/lib/platforms.js +16 -8
- package/package.json +7 -6
- package/scripts/postinstall.js +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ npx bugsee-cli --version
|
|
|
12
12
|
|
|
13
13
|
## How the binary gets here
|
|
14
14
|
|
|
15
|
-
The binary is **not** in this package. It ships in
|
|
15
|
+
The binary is **not** in this package. It ships in six per-platform packages,
|
|
16
16
|
declared as `optionalDependencies`:
|
|
17
17
|
|
|
18
18
|
| Package | `os` / `cpu` |
|
|
@@ -22,6 +22,7 @@ declared as `optionalDependencies`:
|
|
|
22
22
|
| `@bugsee/cli-linux-arm64` | `linux` / `arm64` |
|
|
23
23
|
| `@bugsee/cli-linux-x64` | `linux` / `x64` |
|
|
24
24
|
| `@bugsee/cli-win32-x64` | `win32` / `x64` |
|
|
25
|
+
| `@bugsee/cli-win32-arm64` | `win32` / `arm64` |
|
|
25
26
|
|
|
26
27
|
npm installs only the one matching your machine and skips the rest. Nothing is
|
|
27
28
|
downloaded at install time, so this works with `--ignore-scripts`, with a
|
package/lib/index.js
CHANGED
|
@@ -29,7 +29,7 @@ function vendorPath(triple) {
|
|
|
29
29
|
*
|
|
30
30
|
* 1. The platform package installed as an optionalDependency. This is the
|
|
31
31
|
* normal path and the whole point of the package split: npm picks exactly
|
|
32
|
-
* one of the
|
|
32
|
+
* one of the six by `os`/`cpu`, and it works under `--ignore-scripts`
|
|
33
33
|
* because nothing had to run to put the binary there.
|
|
34
34
|
* 2. `vendor/`, where the postinstall fallback downloads to when (1) is
|
|
35
35
|
* unavailable — `--no-optional`, a registry mirror that carries only the
|
package/lib/platforms.js
CHANGED
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
// release.yml. Check the plan with `dist plan --output-format=json` — see the
|
|
18
18
|
// `allow-dirty` comment in Cargo.toml.)
|
|
19
19
|
//
|
|
20
|
-
//
|
|
21
|
-
// bugsee/bugsee-cli#20
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
//
|
|
20
|
+
// Windows arm64 (`aarch64-pc-windows-msvc`) IS published as of 0.7.7 — see
|
|
21
|
+
// bugsee/bugsee-cli#20 for why it was absent before. It cross-compiles under
|
|
22
|
+
// cargo-xwin only if `ring` can assemble its ARM64 Windows `.S` files, which it
|
|
23
|
+
// cannot, so that leg builds NATIVELY on a `windows-11-arm` runner instead
|
|
24
|
+
// (`[workspace.metadata.dist.github-custom-runners]` in Cargo.toml). ci.yml
|
|
25
|
+
// build-checks the target on every PR so the leg cannot break a tag release:
|
|
26
|
+
// dist's `host` job needs EVERY build-local-artifacts leg, and a failing leg
|
|
27
|
+
// means no GitHub Release, hence no S3 mirror and no npm publish.
|
|
28
28
|
|
|
29
29
|
"use strict";
|
|
30
30
|
|
|
@@ -76,6 +76,14 @@ const PLATFORMS = Object.freeze({
|
|
|
76
76
|
archiveExt: ".zip",
|
|
77
77
|
label: "Windows x86_64",
|
|
78
78
|
},
|
|
79
|
+
"aarch64-pc-windows-msvc": {
|
|
80
|
+
pkg: "@bugsee/cli-win32-arm64",
|
|
81
|
+
os: "win32",
|
|
82
|
+
cpu: "arm64",
|
|
83
|
+
bin: "bugsee-cli.exe",
|
|
84
|
+
archiveExt: ".zip",
|
|
85
|
+
label: "Windows arm64",
|
|
86
|
+
},
|
|
79
87
|
});
|
|
80
88
|
|
|
81
89
|
/** Release-asset filename cargo-dist publishes for a triple. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bugsee/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "Bugsee CLI — cross-platform symbol collection, conversion, and upload.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bugsee",
|
|
@@ -34,10 +34,11 @@
|
|
|
34
34
|
"node": ">=14.18"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@bugsee/cli-darwin-arm64": "0.7.
|
|
38
|
-
"@bugsee/cli-darwin-x64": "0.7.
|
|
39
|
-
"@bugsee/cli-linux-arm64": "0.7.
|
|
40
|
-
"@bugsee/cli-linux-x64": "0.7.
|
|
41
|
-
"@bugsee/cli-win32-
|
|
37
|
+
"@bugsee/cli-darwin-arm64": "0.7.7",
|
|
38
|
+
"@bugsee/cli-darwin-x64": "0.7.7",
|
|
39
|
+
"@bugsee/cli-linux-arm64": "0.7.7",
|
|
40
|
+
"@bugsee/cli-linux-x64": "0.7.7",
|
|
41
|
+
"@bugsee/cli-win32-arm64": "0.7.7",
|
|
42
|
+
"@bugsee/cli-win32-x64": "0.7.7"
|
|
42
43
|
}
|
|
43
44
|
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// - `npm install --no-optional` / `--omit=optional` (and the CI images that
|
|
8
8
|
// bake that in), where npm never even looks at the platform packages;
|
|
9
9
|
// - an internal registry mirror or proxy that carries @bugsee/cli but not
|
|
10
|
-
// the
|
|
10
|
+
// the six @bugsee/cli-<platform> scopes, where npm silently skips the
|
|
11
11
|
// optional dependency and leaves nothing behind;
|
|
12
12
|
// - a platform we publish no package for at all.
|
|
13
13
|
//
|