@playcraft/cli 0.1.44-beta → 0.1.45-beta
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.
|
@@ -79,7 +79,7 @@ export async function deliverBatchMember(state, body, options) {
|
|
|
79
79
|
catch {
|
|
80
80
|
throw new Error('batch_push_failed');
|
|
81
81
|
}
|
|
82
|
-
const remote = (await
|
|
82
|
+
const remote = (await gitWrite(root, ['ls-remote', 'origin', `refs/heads/${branch}`])).slice(0, savedCommit.length);
|
|
83
83
|
if (remote !== savedCommit)
|
|
84
84
|
throw new Error('batch_push_failed');
|
|
85
85
|
pushedCommit = savedCommit;
|
|
@@ -35,7 +35,7 @@ async function pushHiddenRef(cache, sourceRoot, remote, commit, ref) {
|
|
|
35
35
|
catch {
|
|
36
36
|
throw new Error('batch_source_push_failed');
|
|
37
37
|
}
|
|
38
|
-
const remoteHash = (await
|
|
38
|
+
const remoteHash = (await gitWrite(cache, ['ls-remote', remote, ref]).catch(() => '')).slice(0, commit.length);
|
|
39
39
|
if (remoteHash !== commit)
|
|
40
40
|
throw new Error('batch_source_push_failed');
|
|
41
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcraft/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.45-beta",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@gltf-transform/core": "^4.3.0",
|
|
52
52
|
"@gltf-transform/extensions": "^4.3.0",
|
|
53
53
|
"@gltf-transform/functions": "^4.3.0",
|
|
54
|
-
"@playcraft/build": "^0.1.
|
|
55
|
-
"@playcraft/common": "^0.1.
|
|
54
|
+
"@playcraft/build": "^0.1.45-beta",
|
|
55
|
+
"@playcraft/common": "^0.1.45-beta",
|
|
56
56
|
"better-sqlite3-pinned": "npm:better-sqlite3@13.0.3",
|
|
57
57
|
"chokidar": "^4.0.3",
|
|
58
58
|
"commander": "^13.1.0",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"skillRef": "platform/playcraft-project-management",
|
|
69
|
-
"version": "1.
|
|
70
|
-
"artifactHash": "
|
|
69
|
+
"version": "1.1.0",
|
|
70
|
+
"artifactHash": "8653eefd40bc3b5a84728522f778515332c2334e64d90407ce2f8846a1f72e98",
|
|
71
71
|
"surface": "portal-agent",
|
|
72
72
|
"mountPath": ".playcraft/skills/platform__playcraft-project-management"
|
|
73
73
|
},
|