@coze-arch/cli 0.0.33-alpha.eeae5b → 0.0.35

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.
@@ -258,4 +258,4 @@ import { Screen } from '../../../components/Screen';
258
258
 
259
259
  ## 本地开发
260
260
 
261
- `coze dev`:用来首次启动前后端服务,也可以用来重启前后端服务(该命令会先尝试杀掉占用端口的进程,再启动服务)
261
+ `coze-dev dev`:用来首次启动前后端服务,也可以用来重启前后端服务(该命令会先尝试杀掉占用端口的进程,再启动服务)
@@ -6,7 +6,7 @@
6
6
  // start_aigc
7
7
  const config = {
8
8
  description:
9
- 'Native Static(纯静态):`coze init ${COZE_WORKSPACE_PATH} --template native-static`\n' +
9
+ 'Native Static(纯静态):`coze-dev init ${COZE_WORKSPACE_PATH} --template native-static`\n' +
10
10
  '- 适用:纯静态 HTML/CSS/JS 项目、静态网站\n' +
11
11
  '- 使用 Python http.server 作为开发服务器\n' +
12
12
  '- 不需要 Node.js 环境,适合简单静态内容',
@@ -7,7 +7,7 @@
7
7
  ### 启动开发服务器
8
8
 
9
9
  ```bash
10
- coze dev
10
+ coze-dev dev
11
11
  ```
12
12
 
13
13
  启动后,在浏览器中打开 [http://localhost:<%= port %>](http://localhost:<%= port %>) 查看应用。
@@ -17,13 +17,13 @@ coze dev
17
17
  ### 构建生产版本
18
18
 
19
19
  ```bash
20
- coze build
20
+ coze-dev build
21
21
  ```
22
22
 
23
23
  ### 启动生产服务器
24
24
 
25
25
  ```bash
26
- coze start
26
+ coze-dev start
27
27
  ```
28
28
 
29
29
  ## 项目结构
@@ -7,6 +7,6 @@ cd "${COZE_WORKSPACE_PATH}"
7
7
 
8
8
  echo "Installing dependencies..."
9
9
  pnpm install --prefer-frozen-lockfile --prefer-offline --loglevel debug --reporter=append-only
10
- if command -v coze > /dev/null 2>&1 && coze check-bins --help > /dev/null 2>&1; then
11
- coze check-bins --fix
10
+ if command -v coze-dev > /dev/null 2>&1 && coze-dev check-bins --help > /dev/null 2>&1; then
11
+ coze-dev check-bins --fix
12
12
  fi
@@ -9,7 +9,7 @@ import { appendFileSync, openSync, closeSync, mkdirSync } from 'fs';
9
9
 
10
10
 
11
11
 
12
- const description = `Next.js(复杂项目):\`coze init \${COZE_WORKSPACE_PATH} --template nextjs\`
12
+ const description = `Next.js(复杂项目):\`coze-dev init \${COZE_WORKSPACE_PATH} --template nextjs\`
13
13
  - 适用:全栈应用、复杂多页面等复杂项目
14
14
  - 使用默认nextjs项目规范
15
15
  - **目录规范**: 默认开启src目录(打开--src-dir选项):项目文件(如 app 目录、pages 目录、components 等)初始化到 src/ 目录下。
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@nuxt/image": "^1.8.1",
21
- "nuxt": "^4.3.1",
21
+ "nuxt": "4.4.8",
22
22
  "tailwind-merge": "^2.6.0",
23
23
  "vue": "^3.5.30",
24
24
  "vue-router": "^4.6.4"
@@ -36,7 +36,8 @@
36
36
  "stylelint": "^16.4.0",
37
37
  "stylelint-config-standard": "^38.0.0",
38
38
  "tailwindcss": "^3.4.17",
39
- "typescript": "^5",
39
+ "typescript": "5.9.3",
40
+ "vue-tsc": "3.3.9",
40
41
  "typescript-eslint": "^8"
41
42
  },
42
43
  "packageManager": "pnpm@9.0.0",