vona-cli-set-api 1.0.390 → 1.0.393

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.
@@ -39,12 +39,12 @@ services:
39
39
  shm_size: 128mb
40
40
  # or set shared memory limit when deploy via swarm stack
41
41
  volumes:
42
- - ./docker-compose/data/pg:/var/lib/postgresql/data
42
+ - ./docker-compose/data/pg:/var/lib/postgresql/data
43
43
  environment:
44
44
  POSTGRES_DB: <%=argv.name%>
45
45
  POSTGRES_USER: <%=argv.DATABASE_CLIENT_PG_USER%>
46
46
  POSTGRES_PASSWORD: '<%=argv.DATABASE_CLIENT_PG_PASSWORD%>'
47
-
47
+
48
48
  mysql:
49
49
  image: mysql:8.1
50
50
  command:
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "vona": "^5.0.224"
49
+ "vona": "^5.0.225"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@cabloy/lint": "^5.0.16",
@@ -8,7 +8,7 @@ packages:
8
8
 
9
9
  hoist: true
10
10
  hoistWorkspacePackages: true
11
- linkWorkspacePackages: 'deep'
11
+ linkWorkspacePackages: deep
12
12
  preferWorkspacePackages: true
13
13
  autoInstallPeers: true
14
14
  publicHoistPattern:
@@ -16,13 +16,13 @@ publicHoistPattern:
16
16
  - '*@babel*'
17
17
  - '*eslint*'
18
18
  - '*types*'
19
- - 'lerna'
20
- - 'vona'
19
+ - lerna
20
+ - vona
21
21
  - '*vona*'
22
- - 'cabloy'
22
+ - cabloy
23
23
  - '@cabloy'
24
24
  - '*cabloy*'
25
25
  - '*@cabloy*'
26
26
  - '*why-is-node-running*'
27
27
  - '*ts-node*'
28
- - 'zod'
28
+ - zod
@@ -1,6 +1,6 @@
1
1
  import type { IDecoratorEntityOptions } from 'vona-module-a-orm';
2
- import { Entity, EntityBase } from 'vona-module-a-orm';
3
2
  import { Api, v } from 'vona-module-a-openapiutils';
3
+ import { Entity, EntityBase } from 'vona-module-a-orm';
4
4
  import { $locale } from '../.metadata/index.ts';
5
5
 
6
6
  export interface IEntityOptions<%=argv.resourceNameCapitalize%> extends IDecoratorEntityOptions {}
@@ -7,6 +7,8 @@ export class CliCreateModule extends BeanCliBase {
7
7
  const { argv } = this.context;
8
8
  // super
9
9
  await super.execute();
10
+ // noformat
11
+ argv.noformat = true;
10
12
  // suite name/info
11
13
  const suiteName = argv.suite;
12
14
  if (suiteName) {
@@ -60,7 +62,9 @@ export class CliCreateModule extends BeanCliBase {
60
62
  boilerplatePath: 'create/module/boilerplate',
61
63
  });
62
64
  // tools.deps
63
- await this.helper.invokeCli([':tools:deps'], { cwd: argv.projectPath });
65
+ if (!argv.vscode) {
66
+ await this.helper.invokeCli([':tools:deps'], { cwd: argv.projectPath });
67
+ }
64
68
  // pnpm install
65
69
  if (!argv.vscode && !argv.ci) {
66
70
  await this.helper.pnpmInstall();
@@ -7,6 +7,8 @@ export class CliCreateSuite extends BeanCliBase {
7
7
  const { argv } = this.context;
8
8
  // super
9
9
  await super.execute();
10
+ // noformat
11
+ argv.noformat = true;
10
12
  // nameMeta
11
13
  const nameMeta = this.helper.parseNameMeta(argv.name);
12
14
  const suiteDir = nameMeta.directory || 'suite';
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.390",
4
+ "version": "1.0.393",
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.63",
34
+ "@cabloy/cli": "^3.0.64",
35
35
  "@cabloy/dotenv": "^1.1.10",
36
36
  "@cabloy/extend": "^3.1.10",
37
37
  "@cabloy/module-glob": "^5.2.33",