@coze-arch/cli 0.0.1-alpha.1fb1dc → 0.0.1-alpha.21f492

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.
@@ -33,9 +33,9 @@ export const metadata: Metadata = {
33
33
  ],
34
34
  authors: [{ name: 'Coze Code Team', url: 'https://code.coze.cn' }],
35
35
  generator: 'Coze Code',
36
- icons: {
37
- icon: '',
38
- },
36
+ // icons: {
37
+ // icon: '',
38
+ // },
39
39
  openGraph: {
40
40
  title: '扣子编程 | 你的 AI 工程师已就位',
41
41
  description:
@@ -44,22 +44,22 @@ export const metadata: Metadata = {
44
44
  siteName: '扣子编程',
45
45
  locale: 'zh_CN',
46
46
  type: 'website',
47
- images: [
48
- {
49
- url: '',
50
- width: 1200,
51
- height: 630,
52
- alt: '扣子编程 - 你的 AI 工程师',
53
- },
54
- ],
55
- },
56
- twitter: {
57
- card: 'summary_large_image',
58
- title: 'Coze Code | Your AI Engineer is Here',
59
- description:
60
- 'Build and deploy full-stack applications through AI conversation. No env setup, just flow.',
61
- images: [''],
47
+ // images: [
48
+ // {
49
+ // url: '',
50
+ // width: 1200,
51
+ // height: 630,
52
+ // alt: '扣子编程 - 你的 AI 工程师',
53
+ // },
54
+ // ],
62
55
  },
56
+ // twitter: {
57
+ // card: 'summary_large_image',
58
+ // title: 'Coze Code | Your AI Engineer is Here',
59
+ // description:
60
+ // 'Build and deploy full-stack applications through AI conversation. No env setup, just flow.',
61
+ // // images: [''],
62
+ // },
63
63
  robots: {
64
64
  index: true,
65
65
  follow: true,
@@ -52,6 +52,13 @@
52
52
  "port": {
53
53
  "type": "number",
54
54
  "description": "Development server port",
55
+ "default": 5000,
56
+ "minimum": 1024,
57
+ "maximum": 65535
58
+ },
59
+ "hmrPort": {
60
+ "type": "number",
61
+ "description": "Development HMR server port",
55
62
  "default": 6000,
56
63
  "minimum": 1024,
57
64
  "maximum": 65535
@@ -7,6 +7,7 @@
7
7
 
8
8
 
9
9
 
10
+
10
11
  export const paramsSchema = {
11
12
  type: 'object',
12
13
  properties: {
@@ -19,11 +20,18 @@ export const paramsSchema = {
19
20
  },
20
21
  port: {
21
22
  type: 'number',
22
- default: 6000,
23
+ default: 5000,
23
24
  minimum: 1024,
24
25
  maximum: 65535,
25
26
  description: 'Development server port',
26
27
  },
28
+ hmrPort: {
29
+ type: 'number',
30
+ default: 6000,
31
+ minimum: 1024,
32
+ maximum: 65535,
33
+ description: 'Development HMR server port',
34
+ },
27
35
  },
28
36
  required: [],
29
37
  additionalProperties: false,
@@ -33,7 +41,8 @@ const config = {
33
41
  paramsSchema,
34
42
 
35
43
  defaultParams: {
36
- port: 6000,
44
+ port: 5000,
45
+ hmrPort: 6000,
37
46
  appName: 'projects',
38
47
  },
39
48
 
@@ -7,7 +7,7 @@ export default defineConfig({
7
7
  hmr: {
8
8
  overlay: true,
9
9
  path: '/hot/vite-hmr',
10
- port: '<%= port %>',
10
+ port: '<%= hmrPort %>',
11
11
  clientPort: 443,
12
12
  timeout: 30000,
13
13
  },
package/lib/cli.js CHANGED
@@ -1741,7 +1741,7 @@ const registerCommand = program => {
1741
1741
  });
1742
1742
  };
1743
1743
 
1744
- var version = "0.0.1-alpha.1fb1dc";
1744
+ var version = "0.0.1-alpha.21f492";
1745
1745
  var packageJson = {
1746
1746
  version: version};
1747
1747
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze-arch/cli",
3
- "version": "0.0.1-alpha.1fb1dc",
3
+ "version": "0.0.1-alpha.21f492",
4
4
  "private": false,
5
5
  "description": "coze coding devtools cli",
6
6
  "license": "MIT",