@alcalzone/release-script-plugin-package
Advanced tools
Comparing version 3.6.0 to 3.7.0
@@ -64,2 +64,8 @@ "use strict"; | ||
}, | ||
forceUpdateLockfile: { | ||
alias: ["force-update-lockfile", "lf"], | ||
description: "Update the lockfile before committing, using the --force flag", | ||
type: "boolean", | ||
default: false, | ||
}, | ||
}); | ||
@@ -247,7 +253,7 @@ } | ||
if (context.hasData("monorepo") && context.getData("monorepo") === "yarn") { | ||
// Not necessary, when using yarn workspaces this was done during the edit stage | ||
// Not necessary, when using yarn workspaces, this was done during the edit stage | ||
return; | ||
} | ||
if (context.argv.updateLockfile) { | ||
context.cli.log(`updating lockfile...`); | ||
if (context.argv.updateLockfile || context.argv.forceUpdateLockfile) { | ||
context.cli.log(`updating lockfile...${context.argv.forceUpdateLockfile ? " (with --force)" : ""}`); | ||
const pak = await (0, pak_1.detectPackageManager)({ | ||
@@ -263,2 +269,3 @@ cwd: context.cwd, | ||
ignoreScripts: true, | ||
force: !!context.argv.forceUpdateLockfile, | ||
}); | ||
@@ -265,0 +272,0 @@ if (!result.success) { |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"description": "Plugin for Al Calzone's release script: npm package files", | ||
@@ -41,4 +41,4 @@ "keywords": [], | ||
"dependencies": { | ||
"@alcalzone/pak": "^0.8.1", | ||
"@alcalzone/release-script-core": "3.5.9", | ||
"@alcalzone/pak": "^0.10.1", | ||
"@alcalzone/release-script-core": "3.7.0", | ||
"alcalzone-shared": "^4.0.1", | ||
@@ -49,5 +49,5 @@ "fs-extra": "^10.1.0", | ||
"devDependencies": { | ||
"@alcalzone/release-script-testing": "3.5.9", | ||
"jest-extended": "^2.0.0", | ||
"typescript": "~4.6.3" | ||
"@alcalzone/release-script-testing": "3.7.0", | ||
"jest-extended": "^3.1.0", | ||
"typescript": "~4.8.4" | ||
}, | ||
@@ -54,0 +54,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27433
294
+ Added@alcalzone/pak@0.10.2(transitive)
+ Added@alcalzone/release-script-core@3.7.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.9(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedexeca@5.0.1(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedglobalyzer@0.1.0(transitive)
+ Addedglobrex@0.1.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
+ Addedtiny-glob@0.2.9(transitive)
- Removed@alcalzone/pak@0.8.1(transitive)
- Removed@alcalzone/release-script-core@3.5.9(transitive)
- Removedaxios@0.26.1(transitive)
Updated@alcalzone/pak@^0.10.1