vona-cli-set-api 1.0.366 → 1.0.369

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.
@@ -19,9 +19,9 @@
19
19
  },
20
20
  "./package.json": "./package.json"
21
21
  },
22
- "description": "<%=argv.description%>",
22
+ "description": "",
23
23
  "keywords": ["Vona Module"],
24
- "author": "<%=argv.author%>",
24
+ "author": "",
25
25
  "files": [
26
26
  "assets",
27
27
  "dist"
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "vona": "^5.0.210"
49
+ "vona": "^5.0.211"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@cabloy/lint": "^5.0.16",
@@ -4,7 +4,7 @@
4
4
  "version": "5.0.0",
5
5
  "title": "<%=argv.suiteInfo.relativeName%>",
6
6
  "files": [],
7
- "description": "<%=argv.description%>",
8
- "author": "<%=argv.author%>",
7
+ "description": "",
8
+ "author": "",
9
9
  "dependencies": {}
10
10
  }
@@ -47,11 +47,11 @@ export class CliBinPlay extends BeanCliBase {
47
47
  const runtime = await loadJSONFile(runtimeFile);
48
48
  const runtimeCore = runtime['a-core'];
49
49
  const runtimeUser = runtime['a-user'];
50
- const result = await fetch(`${runtimeCore.protocol}://${runtimeCore.host}/api/play`, {
50
+ const result = await fetch(`${runtimeCore?.protocol}://${runtimeCore?.host}/api/play`, {
51
51
  method: 'post',
52
52
  headers: {
53
53
  'content-type': 'application/json',
54
- 'authorization': `Bearer ${runtimeUser.accessToken}`,
54
+ 'authorization': `Bearer ${runtimeUser?.accessToken}`,
55
55
  },
56
56
  body: JSON.stringify(body),
57
57
  });
@@ -30,14 +30,6 @@ declare const _default: {
30
30
  type: string;
31
31
  message: string;
32
32
  };
33
- description: {
34
- type: string;
35
- message: string;
36
- };
37
- author: {
38
- type: string;
39
- message: string;
40
- };
41
33
  };
42
34
  };
43
35
  };
@@ -30,14 +30,6 @@ export default {
30
30
  type: 'input',
31
31
  message: 'suite name',
32
32
  },
33
- description: {
34
- type: 'input',
35
- message: 'module description',
36
- },
37
- author: {
38
- type: 'input',
39
- message: 'module author',
40
- },
41
33
  },
42
34
  },
43
35
  },
@@ -17,14 +17,6 @@ declare const _default: {
17
17
  };
18
18
  required: boolean;
19
19
  };
20
- description: {
21
- type: string;
22
- message: string;
23
- };
24
- author: {
25
- type: string;
26
- message: string;
27
- };
28
20
  };
29
21
  };
30
22
  };
@@ -17,14 +17,6 @@ export default {
17
17
  },
18
18
  required: true,
19
19
  },
20
- description: {
21
- type: 'input',
22
- message: 'suite description',
23
- },
24
- author: {
25
- type: 'input',
26
- message: 'suite author',
27
- },
28
20
  },
29
21
  },
30
22
  },
@@ -168,14 +168,6 @@ export declare const commands: {
168
168
  };
169
169
  required: boolean;
170
170
  };
171
- description: {
172
- type: string;
173
- message: string;
174
- };
175
- author: {
176
- type: string;
177
- message: string;
178
- };
179
171
  };
180
172
  };
181
173
  };
@@ -212,14 +204,6 @@ export declare const commands: {
212
204
  type: string;
213
205
  message: string;
214
206
  };
215
- description: {
216
- type: string;
217
- message: string;
218
- };
219
- author: {
220
- type: string;
221
- message: string;
222
- };
223
207
  };
224
208
  };
225
209
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
3
  "type": "module",
4
- "version": "1.0.366",
4
+ "version": "1.0.369",
5
5
  "description": "vona cli-set-api",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -31,7 +31,7 @@
31
31
  "@babel/plugin-proposal-decorators": "^7.25.9",
32
32
  "@babel/plugin-transform-class-properties": "^7.25.9",
33
33
  "@babel/plugin-transform-typescript": "^7.26.8",
34
- "@cabloy/cli": "^3.0.59",
34
+ "@cabloy/cli": "^3.0.60",
35
35
  "@cabloy/dotenv": "^1.1.10",
36
36
  "@cabloy/extend": "^3.1.10",
37
37
  "@cabloy/module-glob": "^5.2.32",