zyrk 0.5.7 → 0.5.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/README.md CHANGED
@@ -395,3 +395,9 @@ Install resolution has a five-minute deadline; each archive extraction has a
395
395
  two-minute deadline. Set `ZYRK_RESOLVE_TIMEOUT_MS` or `ZYRK_EXTRACT_TIMEOUT_MS`
396
396
  to an integer from `1` to `900000` milliseconds to adjust these timeouts.
397
397
  Graph, archive-entry, and byte limits still apply.
398
+
399
+ Platform gates run the complete check on Ubuntu and macOS/Node 24 and a
400
+ Windows CLI/artifact contract suite, including paths with spaces and Unicode.
401
+ Windows shared-store installation remains blocked until ACL isolation is
402
+ implemented and verified. See [compatibility gates](docs/compatibility-gates.md)
403
+ for the exact scope; passing portable-lock fixtures is separate from OS support.
package/VERSION CHANGED
@@ -1 +1 @@
1
- v0.5.7
1
+ v0.5.9
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAe,SAAS,EAAe,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,EAAoB,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAExE,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAqC,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAEhF,eAAO,MAAM,uBAAuB,IAAI,CAAC;AA2DzC,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAwBhD;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA6EF;;;GAGG;AACH,wBAAgB,QAAQ,CACtB,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE;IAAE,OAAO,EAAE,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AM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AA6EF;;;GAGG;AACH,wBAAgB,QAAQ,CACtB,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAA;CAAE,GACnD,SAAS,CAgDX;AAmBD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IACvB,MAAM,EAAE;QAAE,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAC1C,MAAM,EAAE;QAAE,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAC3D,WAAW,CAAC,EAAE,MAAM,MAAM,CAAC;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;CACxC,CAAC;AAEF,gFAAgF;AAChF,wBAAsB,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CA4ZpE"}
package/dist/cli/main.js CHANGED
@@ -97,7 +97,7 @@ export function helpText(version) {
97
97
  }
98
98
  lines.push("", "Registry publishing and account commands (via your npm):");
99
99
  lines.push(...delegatedHelpLines());
100
- lines.push("", "zyrk never installs packages globally and never runs npm to do it.", "Need a global package? Run npm directly: npm install --global <package-spec>");
100
+ lines.push("", "Install timeouts: ZYRK_RESOLVE_TIMEOUT_MS and ZYRK_EXTRACT_TIMEOUT_MS (1..900000 ms).", "zyrk never installs packages globally and never runs npm to do it.", "Need a global package? Run npm directly: npm install --global <package-spec>");
101
101
  return `${lines.join("\n")}\n`;
102
102
  }
103
103
  function ok(stdout, parsed) {
@@ -837,6 +837,7 @@ async function exportWorkspace(options, project, manifest, state, out, parent, f
837
837
  throw error("ZYRK_DEPLOY_ESCAPE", "Deployment output must be outside the managed store.");
838
838
  const barrier = await acquireLock(path.join(store.paths.locksDir, "liveness.lock"), { name: "workspace deployment retention" });
839
839
  try {
840
+ const installedGraph = selectWorkspacePlatform(locked.graph, undefined, state.omitDev === true);
840
841
  const graph = selectWorkspacePlatform(locked.graph, undefined, true), byKey = new Map(graph.nodes.map((n) => [n.key, n]));
841
842
  const selected = new Set();
842
843
  const visit = (key) => {
@@ -983,7 +984,7 @@ async function exportWorkspace(options, project, manifest, state, out, parent, f
983
984
  else {
984
985
  const expectedContexts = privateKeys.has(key)
985
986
  ? [
986
- workspaceContextId(graph, key, String(state.projectId)),
987
+ workspaceContextId(installedGraph, key, String(state.projectId)),
987
988
  workspaceContextId(productionGraph, key, String(state.projectId)),
988
989
  ]
989
990
  : [contextIdFor(sourceGraph, key)];
@@ -713,7 +713,7 @@ function internal(message) {
713
713
  }
714
714
  function budgetError(reason) {
715
715
  return new ZyrkError("ZYRK_RESOLUTION_FAILED", `Cannot resolve dependencies (${reason}).`, {
716
- remedy: "Review the dependency graph or explicitly increase the resolver limits for this operation.",
716
+ remedy: "Review the dependency graph. For a slow registry, set ZYRK_RESOLVE_TIMEOUT_MS to at most 900000 milliseconds before retrying; graph limits remain enforced.",
717
717
  });
718
718
  }
719
719
  class PlatformMismatch extends ZyrkError {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zyrk",
3
- "version": "0.5.7",
3
+ "version": "0.5.9",
4
4
  "description": "Storage-efficient Node package manager: one verified store per user, shared across projects through links.",
5
5
  "license": "MIT",
6
6
  "type": "module",