zyrk 0.5.8 → 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/VERSION +1 -1
- package/dist/commands/deploy.js +2 -1
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v0.5.
|
|
1
|
+
v0.5.9
|
package/dist/commands/deploy.js
CHANGED
|
@@ -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(
|
|
987
|
+
workspaceContextId(installedGraph, key, String(state.projectId)),
|
|
987
988
|
workspaceContextId(productionGraph, key, String(state.projectId)),
|
|
988
989
|
]
|
|
989
990
|
: [contextIdFor(sourceGraph, key)];
|