vona-cli-set-api 1.1.62 → 1.1.65

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,7 +39,7 @@
39
39
  "lint:fix": "oxlint --fix"
40
40
  },
41
41
  "dependencies": {
42
- "vona": "^5.1.22"
42
+ "vona": "^5.1.24"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@cabloy/lint": "^5.1.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-suite-cabloy-basic",
3
- "version": "5.1.32",
3
+ "version": "5.1.33",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "",
6
6
  "author": "",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "vona-module-basic-siteadmin": "workspace:^",
14
- "vona-suite-a-cabloy": "^5.1.15"
14
+ "vona-suite-a-cabloy": "^5.1.16"
15
15
  },
16
16
  "title": "cabloy-basic"
17
17
  }
@@ -39,7 +39,7 @@
39
39
  "lint:fix": "oxlint --fix"
40
40
  },
41
41
  "dependencies": {
42
- "vona": "^5.1.22"
42
+ "vona": "^5.1.24"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@cabloy/lint": "^5.1.7",
@@ -1,10 +1,11 @@
1
1
  import type { IDecoratorSsrMenuOptions } from 'vona-module-a-ssr';
2
- import type { ISsrSiteOptionsAdmin } from 'vona-module-start-siteadmin';
3
2
 
4
3
  import { BeanBase } from 'vona';
5
4
  import { $order } from 'vona-module-a-openapiutils';
6
5
  import { SsrMenu } from 'vona-module-a-ssr';
7
6
 
7
+ import type { ISsrSiteOptionsAdmin } from './ssrSite.admin.ts';
8
+
8
9
  import { $locale } from '../.metadata/locales.ts';
9
10
 
10
11
  export interface ISsrMenuOptionsHome extends IDecoratorSsrMenuOptions<ISsrSiteOptionsAdmin> {}
@@ -4,14 +4,17 @@ import { BeanBase } from 'vona';
4
4
  import { $order } from 'vona-module-a-openapiutils';
5
5
  import { SsrMenuGroup } from 'vona-module-a-ssr';
6
6
 
7
+ import type { ISsrSiteOptionsAdmin } from './ssrSite.admin.ts';
8
+
7
9
  import { $locale } from '../.metadata/locales.ts';
8
10
 
9
- export interface ISsrMenuGroupOptionsManagement extends IDecoratorSsrMenuGroupOptions {}
11
+ export interface ISsrMenuGroupOptionsManagement extends IDecoratorSsrMenuGroupOptions<ISsrSiteOptionsAdmin> {}
10
12
 
11
13
  @SsrMenuGroup<ISsrMenuGroupOptionsManagement>({
12
14
  item: {
13
15
  title: $locale('Management'),
14
16
  order: $order(2),
17
+ icon: undefined,
15
18
  },
16
19
  site: ['start-siteadmin:admin'],
17
20
  })
@@ -1,5 +1,5 @@
1
1
  import type { IDecoratorSsrSiteOptions } from 'vona-module-a-ssr';
2
- import type { IPagePathRecord } from 'zova-rest-cabloy-start-admin';
2
+ import type { IIconRecord, IPagePathRecord } from 'zova-rest-cabloy-start-admin';
3
3
 
4
4
  import { BeanSsrSiteBase, SsrSite } from 'vona-module-a-ssr';
5
5
 
@@ -15,7 +15,8 @@ export interface ISsrSiteOptionsAdminPagesData {}
15
15
 
16
16
  export interface ISsrSiteOptionsAdmin extends IDecoratorSsrSiteOptions<
17
17
  ISsrSiteOptionsAdminPages,
18
- ISsrSiteOptionsAdminPagesData
18
+ ISsrSiteOptionsAdminPagesData,
19
+ IIconRecord
19
20
  > {}
20
21
 
21
22
  @SsrSite<ISsrSiteOptionsAdmin>({
@@ -1,5 +1,5 @@
1
1
  import type { IDecoratorSsrSiteOptions } from 'vona-module-a-ssr';
2
- import type { IPagePathRecord } from 'zova-rest-cabloy-start-web';
2
+ import type { IIconRecord, IPagePathRecord } from 'zova-rest-cabloy-start-web';
3
3
 
4
4
  import { BeanSsrSiteBase, SsrSite } from 'vona-module-a-ssr';
5
5
 
@@ -15,7 +15,8 @@ export interface ISsrSiteOptionsWebPagesData {}
15
15
 
16
16
  export interface ISsrSiteOptionsWeb extends IDecoratorSsrSiteOptions<
17
17
  ISsrSiteOptionsWebPages,
18
- ISsrSiteOptionsWebPagesData
18
+ ISsrSiteOptionsWebPagesData,
19
+ IIconRecord
19
20
  > {}
20
21
 
21
22
  @SsrSite<ISsrSiteOptionsWeb>({
package/dist/index.js CHANGED
@@ -2797,6 +2797,10 @@ class CliToolsMetadata extends BeanCliBase {
2797
2797
  const localesDest = path.join(modulePath, 'src/.metadata/locales.ts');
2798
2798
  // save
2799
2799
  await fse.writeFile(localesDest, contentLocales);
2800
+ await this.helper.formatFile({
2801
+ fileName: localesDest,
2802
+ logPrefix: 'format: '
2803
+ });
2800
2804
  }
2801
2805
  async _generateThis(moduleName, relativeNameCapitalize, modulePath) {
2802
2806
  const thisDest = path.join(modulePath, 'src/.metadata/this.ts');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
- "version": "1.1.62",
3
+ "version": "1.1.65",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "vona cli-set-api",
6
6
  "keywords": [
@@ -62,13 +62,13 @@
62
62
  "uuid": "^11.1.0",
63
63
  "why-is-node-running": "^3.2.2",
64
64
  "yargs-parser": "^22.0.0",
65
- "@cabloy/cli": "^3.1.10",
66
- "@cabloy/extend": "^3.2.5",
67
- "@cabloy/module-glob": "^5.3.8",
65
+ "@cabloy/cli": "^3.1.11",
68
66
  "@cabloy/dotenv": "^1.2.5",
67
+ "@cabloy/extend": "^3.2.5",
68
+ "@cabloy/utils": "^2.1.18",
69
+ "@cabloy/module-glob": "^5.3.9",
69
70
  "babel-plugin-vona-bean-module": "^1.1.6",
70
- "@cabloy/utils": "^2.1.17",
71
- "vona-core": "^5.1.13"
71
+ "vona-core": "^5.1.14"
72
72
  },
73
73
  "scripts": {
74
74
  "clean": "rimraf dist dist-cli dist-toolsIsolate tsconfig.build.tsbuildinfo tsconfig.cli.tsbuildinfo tsconfig.isolate.tsbuildinfo",