@clickview/ship-it 0.0.35-dev.20 → 0.0.35-dev.22
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/lib/src/index.js
CHANGED
|
File without changes
|
|
@@ -149,7 +149,7 @@ var BumpPackagesTask = /** @class */ (function () {
|
|
|
149
149
|
for (var _i = 0, _a = Object.entries(MonorepoPackageJsonFiles_1.MONOREPO_PACKAGE_JSON_FILES_MAP); _i < _a.length; _i++) {
|
|
150
150
|
var _b = _a[_i], projectId = _b[0], packageJsonFilePath = _b[1];
|
|
151
151
|
// Only bump versions for projects with an output directory
|
|
152
|
-
if (!(0, fs_1.statSync)(MonorepoPackageJsonFiles_1.MONOREPO_DISTS_MAP[projectId]).isDirectory())
|
|
152
|
+
if (!(0, fs_1.existsSync)(MonorepoPackageJsonFiles_1.MONOREPO_DISTS_MAP[projectId]) || !(0, fs_1.statSync)(MonorepoPackageJsonFiles_1.MONOREPO_DISTS_MAP[projectId]).isDirectory())
|
|
153
153
|
continue;
|
|
154
154
|
var content = '';
|
|
155
155
|
try {
|
|
@@ -280,7 +280,7 @@ var InstallPackagesTask = /** @class */ (function () {
|
|
|
280
280
|
};
|
|
281
281
|
InstallPackagesTask.prototype.npmInstall = function (project, folderName) {
|
|
282
282
|
var outputPath = this.getOutputPath(project, folderName);
|
|
283
|
-
child_process_1.default.execSync('npm i', {
|
|
283
|
+
child_process_1.default.execSync('npm i --package-lock-only --verbose', {
|
|
284
284
|
cwd: outputPath,
|
|
285
285
|
// Uncomment if we want to silence
|
|
286
286
|
// stdio: 'pipe'
|