chrome-webstore-upload-cli
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -31,2 +31,3 @@ #!/usr/bin/env node | ||
--trusted-testers Can be used with the "publish" command | ||
--deploy-percentage Can be used with the "publish" command. Defaults to 100 | ||
@@ -63,2 +64,3 @@ Examples | ||
trustedTesters, | ||
deployPercentage, | ||
} = await createConfig(cli.input[0], cli.flags); | ||
@@ -92,2 +94,3 @@ | ||
trustedTesters && 'trustedTesters', | ||
deployPercentage, | ||
); | ||
@@ -119,2 +122,3 @@ spinner.stop(); | ||
trustedTesters && 'trustedTesters', | ||
deployPercentage, | ||
); | ||
@@ -121,0 +125,0 @@ spinner.stop(); |
@@ -19,3 +19,4 @@ import process from 'node:process'; | ||
trustedTesters: flags.trustedTesters, | ||
deployPercentage: flags.deployPercentage, | ||
}; | ||
} |
{ | ||
"name": "chrome-webstore-upload-cli", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "CLI tool to upload Chrome Extensions to the Chrome Web Store", | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
"dependencies": { | ||
"chrome-webstore-upload": "^3.0.0", | ||
"chrome-webstore-upload": "^3.1.0", | ||
"junk": "^4.0.1", | ||
@@ -52,0 +52,0 @@ "meow": "^12.1.1", |
@@ -45,2 +45,3 @@ # chrome-webstore-upload-cli | ||
--trusted-testers Can be used with the "publish" command | ||
--deploy-percentage Can be used with the "publish" command. Defaults to 100 | ||
@@ -47,0 +48,0 @@ Examples |
@@ -16,5 +16,5 @@ import fs from 'node:fs'; | ||
export async function publish({ apiConfig, token }, publishTarget) { | ||
export async function publish({ apiConfig, token }, publishTarget, deployPercentage) { | ||
const client = getClient(apiConfig); | ||
return client.publish(publishTarget, token); | ||
return client.publish(publishTarget, token, deployPercentage); | ||
} | ||
@@ -21,0 +21,0 @@ |
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
17479
295
76