@cabloy/cli 3.0.104 → 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 +1 -1
  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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/cli",
3
- "version": "3.0.104",
3
+ "version": "3.0.105",
4
4
  "gitHead": "0eab9dc4a5622caffe89e7b1b3f02c08ccbc4c4b",
5
5
  "description": "@cabloy/cli",
6
6
  "keywords": [