@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/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-prod");
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-prod") || "buddy-cli-prod dev stop";
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; }
@@ -1,4 +1,4 @@
1
- /* PROD Widget 编辑宿主。页面保持不透明沙箱,身份和记录操作由 CLI 代理。 */
1
+ /* SIT Widget 编辑宿主。页面保持不透明沙箱,身份和记录操作由 CLI 代理。 */
2
2
  (() => {
3
3
  const el = (tag, className = '', text) => {
4
4
  const node = document.createElement(tag); node.className = className;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@my-life-buddies/cli",
3
- "version": "0.23.0-rc.0",
3
+ "version": "0.24.0",
4
4
  "type": "module",
5
- "description": "搭搭 PROD 内测命令行工具",
5
+ "description": "搭搭 Developer Platform 命令行工具",
6
6
  "publishConfig": {
7
7
  "access": "public",
8
8
  "registry": "https://registry.npmjs.org/",
9
- "tag": "prod"
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-prod": "dist/bin/buddy.js"
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.23.0-rc.0",
45
- "@buddy/preview": "0.23.0-rc.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
  }