@unito/integration-cli 1.2.0 → 1.2.1
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.
|
@@ -53,7 +53,8 @@ class Upgrade extends baseCommand_1.BaseCommand {
|
|
|
53
53
|
//
|
|
54
54
|
core_1.ux.action.start(`${latestVersion ? 'Validating' : 'Upgrading'} the package`, undefined, { stdout: true });
|
|
55
55
|
// To make sure we have a clean version of the CLI, with updated packages, we force the re-installation.
|
|
56
|
-
|
|
56
|
+
// --min-release-age=0 bypasses the npm release age safeguard for this internal trusted package.
|
|
57
|
+
child_process_1.default.execSync(`npm install --force --min-release-age=0 ${npmOptions} ${packageName}`, {
|
|
57
58
|
...execOptions,
|
|
58
59
|
stdio: ['ignore', 'ignore', 'inherit'],
|
|
59
60
|
});
|
package/oclif.manifest.json
CHANGED