vona-cli-set-api 1.0.446 → 1.0.451

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.
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "react": "^19.2.3",
50
- "vona": "^5.0.251"
50
+ "vona": "^5.0.254"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@cabloy/lint": "^5.0.16",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-home-index",
3
3
  "type": "module",
4
- "version": "5.0.15",
4
+ "version": "5.0.16",
5
5
  "title": "home-index",
6
6
  "vonaModule": {
7
7
  "dependencies": {
@@ -8,6 +8,6 @@ export const locales = {
8
8
  'zh-cn': locale_zh_cn,
9
9
  };
10
10
 
11
- export function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K) {
12
- return $makeLocaleMagic(`home-index::${key}`);
11
+ export function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K, ...args: any[]) {
12
+ return $makeLocaleMagic(`home-index::${key}`, ...args);
13
13
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-home-user",
3
3
  "type": "module",
4
- "version": "5.0.24",
4
+ "version": "5.0.25",
5
5
  "title": "home-user",
6
6
  "vonaModule": {
7
7
  "fileVersion": 1,
@@ -8,6 +8,6 @@ export const locales = {
8
8
  'zh-cn': locale_zh_cn,
9
9
  };
10
10
 
11
- export function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K) {
12
- return $makeLocaleMagic(`home-user::${key}`);
11
+ export function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K, ...args: any[]) {
12
+ return $makeLocaleMagic(`home-user::${key}`, ...args);
13
13
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-suite-a-home",
3
3
  "type": "module",
4
- "version": "5.0.28",
4
+ "version": "5.0.29",
5
5
  "title": "a-home",
6
6
  "description": "",
7
7
  "author": "zhennann",
package/dist/index.js CHANGED
@@ -2226,8 +2226,8 @@ export const locales = {
2226
2226
  ${contentLocales.join('\n')}
2227
2227
  };
2228
2228
 
2229
- export function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K) {
2230
- return $makeLocaleMagic(\`${moduleName}::\${key}\`);
2229
+ export function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K, ...args: any[]) {
2230
+ return $makeLocaleMagic(\`${moduleName}::\${key}\`, ...args);
2231
2231
  }
2232
2232
  `;
2233
2233
  return content;
@@ -2236,7 +2236,7 @@ async function generateLocale2(contentLocales) {
2236
2236
  if (!contentLocales) return '';
2237
2237
  // combine
2238
2238
  const content = `/** locale: begin */
2239
- import { locales } from './locales.ts'
2239
+ import { locales } from './locales.ts';
2240
2240
  /** locale: end */
2241
2241
  `;
2242
2242
  return content;
@@ -1,5 +1,5 @@
1
1
  export declare function generateConfig(modulePath: string): Promise<"" | "/** config: begin */\nexport * from '../config/config.ts';\nimport type { config } from '../config/config.ts';\n/** config: end */\n">;
2
2
  export declare function generateConstant(modulePath: string): Promise<"" | "/** constant: begin */\nexport * from '../config/constants.ts';\nimport { constants } from '../config/constants.ts';\n/** constant: end */\n">;
3
3
  export declare function generateLocale1(modulePath: string, moduleName: string): Promise<string>;
4
- export declare function generateLocale2(contentLocales: string): Promise<"" | "/** locale: begin */\nimport { locales } from './locales.ts'\n/** locale: end */\n">;
4
+ export declare function generateLocale2(contentLocales: string): Promise<"" | "/** locale: begin */\nimport { locales } from './locales.ts';\n/** locale: end */\n">;
5
5
  export declare function generateError(modulePath: string): Promise<"" | "/** error: begin */\nexport * from '../config/errors.ts';\nimport type { errors } from '../config/errors.ts';\n/** error: end */\n">;
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.446",
4
+ "version": "1.0.451",
5
5
  "description": "vona cli-set-api",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -33,12 +33,12 @@
33
33
  "@babel/plugin-proposal-decorators": "^7.25.9",
34
34
  "@babel/plugin-transform-class-properties": "^7.25.9",
35
35
  "@babel/plugin-transform-typescript": "^7.26.8",
36
- "@cabloy/cli": "^3.0.79",
36
+ "@cabloy/cli": "^3.0.80",
37
37
  "@cabloy/dotenv": "^1.1.12",
38
38
  "@cabloy/extend": "^3.1.11",
39
- "@cabloy/module-glob": "^5.2.38",
39
+ "@cabloy/module-glob": "^5.2.39",
40
40
  "@cabloy/module-info": "^1.3.32",
41
- "@cabloy/utils": "^2.0.3",
41
+ "@cabloy/utils": "^2.0.4",
42
42
  "@cabloy/word-utils": "^2.0.1",
43
43
  "@lcov-viewer/cli": "^1.3.0",
44
44
  "@rollup/plugin-alias": "^5.1.1",
@@ -65,7 +65,7 @@
65
65
  "ts-node-maintained": "^10.9.6",
66
66
  "urllib": "^4.6.11",
67
67
  "uuid": "^11.1.0",
68
- "vona-core": "^5.0.113",
68
+ "vona-core": "^5.0.115",
69
69
  "why-is-node-running": "^3.2.2",
70
70
  "yargs-parser": "^22.0.0"
71
71
  },