@nu-art/build-and-install 0.204.47 → 0.204.49

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/package.json +1 -1
  2. package/phases/phases.js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/build-and-install",
3
- "version": "0.204.47",
3
+ "version": "0.204.49",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "TacB0sS",
package/phases/phases.js CHANGED
@@ -502,10 +502,12 @@ exports.Phase_Compile = {
502
502
  pkg.packageJsonRuntime.types = pkg.packageJsonRuntime.types.replace('dist/', '');
503
503
  await fs_1.promises.writeFile(`${pkg.output}/${consts_1.CONST_PackageJSON}`, JSON.stringify(pkg.packageJsonRuntime, null, 2), { encoding: 'utf-8' });
504
504
  const runTimePackages = (0, ts_common_1.filterDuplicates)((_a = packages.packagesDependency) === null || _a === void 0 ? void 0 : _a.flat().filter(_pkg => {
505
- var _a, _b;
505
+ var _a, _b, _c;
506
506
  if (_pkg.name === pkg.name)
507
507
  return false;
508
- if (((_a = pkg.packageJsonOutput) === null || _a === void 0 ? void 0 : _a.dependencies) && !(0, ts_common_1._keys)((_b = pkg.packageJsonOutput) === null || _b === void 0 ? void 0 : _b.dependencies).includes(_pkg.packageJsonTemplate.name))
508
+ if (_pkg.type === types_1.PackageType_Python)
509
+ return false;
510
+ if (((_a = pkg.packageJsonOutput) === null || _a === void 0 ? void 0 : _a.dependencies) && !(0, ts_common_1._keys)((_b = pkg.packageJsonOutput) === null || _b === void 0 ? void 0 : _b.dependencies).includes((_c = _pkg.packageJsonTemplate) === null || _c === void 0 ? void 0 : _c.name))
509
511
  return false;
510
512
  return _pkg.type !== 'sourceless';
511
513
  }), __pkg => __pkg.name);