vona-cli-set-api 1.0.464 → 1.0.466

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.261"
50
+ "vona": "^5.0.262"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@cabloy/lint": "^5.0.16",
package/dist/index.js CHANGED
@@ -2769,21 +2769,22 @@ export { ScopeModule${relativeNameCapitalize} as ScopeModule } from './index.ts'
2769
2769
  }
2770
2770
  // cli
2771
2771
  for (const name of ['cli', 'zovaRest']) {
2772
- const cli = path.join(modulePath, name);
2773
- if (fse.existsSync(cli)) {
2774
- pkg = await _loadPkg();
2775
- const index = pkg.files.indexOf(name);
2776
- if (index === -1) {
2777
- changed = true;
2778
- pkg.files.push(name);
2779
- }
2780
- }
2781
- }
2782
- if (pkg.scripts['tsc:publish'].includes('tsconfig.cli.json')) {
2783
- const index = pkg.files.indexOf('dist-cli');
2772
+ const pathCheck = path.join(modulePath, name);
2773
+ if (!fse.existsSync(pathCheck)) continue;
2774
+ pkg = await _loadPkg();
2775
+ const index = pkg.files.indexOf(name);
2784
2776
  if (index === -1) {
2785
2777
  changed = true;
2786
- pkg.files.push('dist-cli');
2778
+ pkg.files.push(name);
2779
+ }
2780
+ if (name === 'cli') {
2781
+ if (pkg.scripts?.['tsc:publish'].includes('tsconfig.cli.json')) {
2782
+ const index = pkg.files.indexOf('dist-cli');
2783
+ if (index === -1) {
2784
+ changed = true;
2785
+ pkg.files.push('dist-cli');
2786
+ }
2787
+ }
2787
2788
  }
2788
2789
  }
2789
2790
  // save
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.464",
4
+ "version": "1.0.466",
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.87",
36
+ "@cabloy/cli": "^3.0.88",
37
37
  "@cabloy/dotenv": "^1.1.12",
38
38
  "@cabloy/extend": "^3.1.11",
39
- "@cabloy/module-glob": "^5.2.46",
40
- "@cabloy/module-info": "^1.3.33",
41
- "@cabloy/utils": "^2.0.11",
39
+ "@cabloy/module-glob": "^5.2.47",
40
+ "@cabloy/module-info": "^1.3.34",
41
+ "@cabloy/utils": "^2.0.12",
42
42
  "@cabloy/word-utils": "^2.0.2",
43
43
  "@lcov-viewer/cli": "^1.3.0",
44
44
  "@rollup/plugin-alias": "^5.1.1",
@@ -50,7 +50,7 @@
50
50
  "@rollup/plugin-terser": "^0.4.4",
51
51
  "@rollup/plugin-typescript": "^12.3.0",
52
52
  "babel-plugin-transform-typescript-metadata": "^0.3.2",
53
- "babel-plugin-vona-bean-module": "^1.0.4",
53
+ "babel-plugin-vona-bean-module": "^1.0.5",
54
54
  "chalk": "^3.0.0",
55
55
  "cli-table3": "^0.6.5",
56
56
  "compressing": "^1.10.0",
@@ -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.122",
68
+ "vona-core": "^5.0.123",
69
69
  "why-is-node-running": "^3.2.2",
70
70
  "yargs-parser": "^22.0.0"
71
71
  },