@my-life-buddies/cli 0.23.0-rc.0 → 0.24.0
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 +76 -101
- package/dist/bin/buddy.js +39 -55
- package/dist/bin/buddy.js.map +2 -2
- package/dist/bin/core.js +1218 -1084
- package/dist/bin/core.js.map +4 -4
- package/dist/web/app.js +2 -2
- package/dist/web/widgets.js +1 -1
- package/package.json +11 -6
package/dist/web/app.js
CHANGED
|
@@ -961,9 +961,9 @@
|
|
|
961
961
|
if (!response.ok) throw new Error(value.error || "连接状态读取失败");
|
|
962
962
|
if (epoch !== connectionEpoch) return;
|
|
963
963
|
connectionChecked = true; connectionFailure = "";
|
|
964
|
-
$("#connect-command").textContent = value.command.replace(/^buddy-cli(?= )/, "buddy-cli
|
|
964
|
+
$("#connect-command").textContent = value.command.replace(/^buddy-cli(?= )/, "buddy-cli");
|
|
965
965
|
$("#copy-connect-command").disabled = false;
|
|
966
|
-
$("#stop-command").textContent = value.stopCommand?.replace(/^buddy-cli(?= )/, "buddy-cli
|
|
966
|
+
$("#stop-command").textContent = value.stopCommand?.replace(/^buddy-cli(?= )/, "buddy-cli") || "buddy-cli dev stop";
|
|
967
967
|
if (value.projectRoot) $("#project-root").textContent = value.projectRoot;
|
|
968
968
|
if (value.machineName) $("#machine-name").textContent = value.machineName;
|
|
969
969
|
if (!value.connected) { connectionInstance = value.instanceId || ""; disconnected(); return; }
|
package/dist/web/widgets.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@my-life-buddies/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "搭搭
|
|
5
|
+
"description": "搭搭 Developer Platform 命令行工具",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
8
8
|
"registry": "https://registry.npmjs.org/",
|
|
9
|
-
"tag": "
|
|
9
|
+
"tag": "latest"
|
|
10
10
|
},
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=24"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"darwin"
|
|
16
16
|
],
|
|
17
17
|
"bin": {
|
|
18
|
-
"buddy-cli
|
|
18
|
+
"buddy-cli": "dist/bin/buddy.js"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"dist/bin",
|
|
@@ -41,7 +41,12 @@
|
|
|
41
41
|
"ws": "8.21.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@buddy/cli-core": "0.
|
|
45
|
-
"@buddy/preview": "0.
|
|
44
|
+
"@buddy/cli-core": "0.24.0",
|
|
45
|
+
"@buddy/preview": "0.24.0"
|
|
46
|
+
},
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+ssh://git@code.devops.xiaohongshu.com/dada/cli.git",
|
|
50
|
+
"directory": "apps/cli"
|
|
46
51
|
}
|
|
47
52
|
}
|