@nu-art/build-and-install 0.204.47 → 0.204.48
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.
- package/package.json +1 -1
- package/phases/phases.js +2 -2
package/package.json
CHANGED
package/phases/phases.js
CHANGED
|
@@ -502,10 +502,10 @@ 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 (((_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
509
|
return false;
|
|
510
510
|
return _pkg.type !== 'sourceless';
|
|
511
511
|
}), __pkg => __pkg.name);
|