@cabloy/cli 3.0.103 → 3.0.105

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -154,7 +154,7 @@ class LocalCommon {
154
154
  // all modules: type file
155
155
  const promises = [];
156
156
  for (const module of this.cli.modulesMeta.modulesArray) {
157
- if (module.info.node_modules) continue;
157
+ if (module.info.node_modules && !fse.existsSync(path.join(module.root, 'src/.metadata'))) continue;
158
158
  const moduleTypeFile = path.join(module.root, 'src/.metadata/modules.d.ts');
159
159
  promises.push(this._generateTypeModulesFileInner(typeFile, typeFileStat, moduleTypeFile));
160
160
  }
@@ -291,7 +291,9 @@ class LocalCommon {
291
291
  const isModuleWorkspace = isModule && version.startsWith('workspace:');
292
292
  if (isZovaRest && version.includes('file:')) continue;
293
293
  if (isModuleWorkspace) continue;
294
- if (deps[key] && !isModule) continue;
294
+ // if (deps[key] && !isModule) continue;
295
+ if (isModule) continue;
296
+ if (deps[key]) continue;
295
297
  moduleDepsOriginal[key] = version;
296
298
  changed = true;
297
299
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/cli",
3
- "version": "3.0.103",
3
+ "version": "3.0.105",
4
4
  "gitHead": "0eab9dc4a5622caffe89e7b1b3f02c08ccbc4c4b",
5
5
  "description": "@cabloy/cli",
6
6
  "keywords": [