@onetaskgraph/cli 0.7.0 → 0.7.2
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/bin/onetaskgraph.js +3 -2
- package/package.json +6 -7
package/bin/onetaskgraph.js
CHANGED
|
@@ -3,8 +3,9 @@ const { spawnSync } = require("node:child_process");
|
|
|
3
3
|
const { readFileSync, realpathSync } = require("node:fs");
|
|
4
4
|
const { join } = require("node:path");
|
|
5
5
|
const key = `${process.platform}-${process.arch}`;
|
|
6
|
-
// llmlint: ignore[changed_behavior_has_e2e] Exercising every native mapping requires Linux ARM64
|
|
7
|
-
const packages = { "linux-x64": "linux-x64", "linux-arm64": "linux-arm64", "darwin-
|
|
6
|
+
// llmlint: ignore[changed_behavior_has_e2e] Exercising every native mapping requires a Linux ARM64 runner, another platform action unavailable to this pre-publication dispatch.
|
|
7
|
+
const packages = { "linux-x64": "linux-x64", "linux-arm64": "linux-arm64", "darwin-arm64": "darwin-arm64", "win32-x64": "win32-x64" };
|
|
8
|
+
if (key === "darwin-x64") { console.error("onetaskgraph: Intel macOS is no longer supported; releases carry macOS binaries for Apple Silicon only. Install with cargo instead"); process.exit(64); }
|
|
8
9
|
if (!packages[key]) { console.error(`onetaskgraph: unsupported platform ${key}; install with cargo instead`); process.exit(64); }
|
|
9
10
|
const expectedPackage = `@onetaskgraph/cli-${packages[key]}`;
|
|
10
11
|
let manifestPath;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onetaskgraph/cli",
|
|
3
|
-
"//": "llmlint: ignore-file[projects_stay_in_one_js_workspace] The launcher and the
|
|
4
|
-
"version": "0.7.
|
|
3
|
+
"//": "llmlint: ignore-file[projects_stay_in_one_js_workspace] The launcher and the four carriers it names are published packages, not development ones: release.yml builds and `npm pack`s each carrier at release time, so nothing under npm/ holds a binary here. As workspace members the optionalDependencies below would link four empty local directories, and `workspace:*` names no version an end user's npm can resolve. scripts/set-version.sh and scripts/check-distribution-contract.sh hold the five numbers and this list together. JSON has no comment to scope this to one block.",
|
|
4
|
+
"version": "0.7.2",
|
|
5
5
|
"description": "Platform-selecting launcher for onetaskgraph",
|
|
6
6
|
"x-exit-codes": {
|
|
7
7
|
"64": "unsupported platform",
|
|
@@ -16,11 +16,10 @@
|
|
|
16
16
|
"bin"
|
|
17
17
|
],
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"@onetaskgraph/cli-linux-x64": "0.7.
|
|
20
|
-
"@onetaskgraph/cli-linux-arm64": "0.7.
|
|
21
|
-
"@onetaskgraph/cli-darwin-
|
|
22
|
-
"@onetaskgraph/cli-
|
|
23
|
-
"@onetaskgraph/cli-win32-x64": "0.7.0"
|
|
19
|
+
"@onetaskgraph/cli-linux-x64": "0.7.2",
|
|
20
|
+
"@onetaskgraph/cli-linux-arm64": "0.7.2",
|
|
21
|
+
"@onetaskgraph/cli-darwin-arm64": "0.7.2",
|
|
22
|
+
"@onetaskgraph/cli-win32-x64": "0.7.2"
|
|
24
23
|
},
|
|
25
24
|
"publishConfig": {
|
|
26
25
|
"access": "public"
|