@timurproko/a1 0.1.8-dev.130 → 0.1.8-dev.132
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 +14 -0
- package/dist/cli/version-stats.js +3 -1
- package/dist/native/darwin-arm64/manifest.json +1 -1
- package/dist/native/linux-x64/manifest.json +1 -1
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/native/win32-x64/process-guardian.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,6 +6,20 @@
|
|
|
6
6
|
npm install --global @timurproko/a1@latest
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
+
Any channel can also be installed or updated directly with npm, without the
|
|
10
|
+
`a1 update` commands:
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
# dev channel (next tag)
|
|
14
|
+
npm install -g @timurproko/a1@next
|
|
15
|
+
|
|
16
|
+
# stable release
|
|
17
|
+
npm install -g @timurproko/a1@latest
|
|
18
|
+
|
|
19
|
+
# exact version
|
|
20
|
+
npm install -g @timurproko/a1@0.1.8-dev.107
|
|
21
|
+
```
|
|
22
|
+
|
|
9
23
|
## Use
|
|
10
24
|
|
|
11
25
|
```sh
|
|
@@ -37,7 +37,9 @@ async function queryDistTags(runner) {
|
|
|
37
37
|
if (result.code !== 0)
|
|
38
38
|
return unavailable(`npm exited with status ${result.code ?? "unknown"}`);
|
|
39
39
|
try {
|
|
40
|
-
const
|
|
40
|
+
const parsed = JSON.parse(result.stdout);
|
|
41
|
+
// npm 12 wraps `npm view <pkg> dist-tags --json` output in a one-element array; older npm returns the bare object.
|
|
42
|
+
const metadata = Array.isArray(parsed) && parsed.length === 1 ? parsed[0] : parsed;
|
|
41
43
|
if (typeof metadata !== "object" || metadata === null || Array.isArray(metadata))
|
|
42
44
|
throw new TypeError("npm returned a non-object dist-tags value");
|
|
43
45
|
const tags = metadata;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"platform": "darwin",
|
|
6
6
|
"architecture": "arm64",
|
|
7
7
|
"capability": "unsupported",
|
|
8
|
-
"builtAt": "2026-08-
|
|
8
|
+
"builtAt": "2026-08-25T17:36:44.842Z",
|
|
9
9
|
"artifact": {
|
|
10
10
|
"filename": "process-guardian",
|
|
11
11
|
"sha256": "7524bf568992517f50ed53196c861c5edeba0d7275633bb4735ab45bd5963a28",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"platform": "linux",
|
|
6
6
|
"architecture": "x64",
|
|
7
7
|
"capability": "supported",
|
|
8
|
-
"builtAt": "2026-08-
|
|
8
|
+
"builtAt": "2026-08-25T17:37:08.874Z",
|
|
9
9
|
"artifact": {
|
|
10
10
|
"filename": "process-guardian",
|
|
11
11
|
"sha256": "29e22fe29de2828982bc67ef418c4adcaab1490281477b7bea592ec6fe621bcd",
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"platform": "win32",
|
|
6
6
|
"architecture": "x64",
|
|
7
7
|
"capability": "supported",
|
|
8
|
-
"builtAt": "2026-08-
|
|
8
|
+
"builtAt": "2026-08-25T17:37:16.993Z",
|
|
9
9
|
"artifact": {
|
|
10
10
|
"filename": "process-guardian.exe",
|
|
11
|
-
"sha256": "
|
|
11
|
+
"sha256": "b9edc03a251b1c0e851ff55227385f016241fc4f33aa0f5ee5f0415443d6a927",
|
|
12
12
|
"size": 172544
|
|
13
13
|
},
|
|
14
14
|
"provenance": {
|
|
Binary file
|