Skip to content

Commit 78d6158

Browse files
committed
feat: add --generate-dev-zip flag to version create
1 parent 0491ce0 commit 78d6158

3 files changed

Lines changed: 14 additions & 16 deletions

File tree

messages/package_version_create.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ Return a new package version before completing package validations.
145145

146146
Specifying async validation returns the package version earlier in the process, allowing you to install and test the new version right away. If your development team is using continuous integration (CI) scripts, async validation can reduce your overall CI run time.
147147

148+
# flags.generate-pkg-zip.summary
149+
150+
Request the package zip file for development use.
151+
152+
# flags.generate-pkg-zip.description
153+
154+
When set to true, generates a package zip file for development use. This file can be used for debugging or examining the package contents.
155+
148156
# flags.skip-ancestor-check.summary
149157

150158
Overrides ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.

src/commands/package/version/create.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ export class PackageVersionCreateCommand extends SfCommand<PackageVersionCommand
142142
default: false,
143143
exclusive: ['skip-validation'],
144144
}),
145+
'generate-pkg-zip': Flags.boolean({
146+
summary: messages.getMessage('flags.generate-pkg-zip.summary'),
147+
description: messages.getMessage('flags.generate-pkg-zip.description'),
148+
default: false,
149+
}),
145150
tag: Flags.string({
146151
char: 't',
147152
summary: messages.getMessage('flags.tag.summary'),

yarn.lock

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -879,15 +879,7 @@
879879
"@smithy/types" "^4.12.0"
880880
tslib "^2.6.2"
881881

882-
"@aws-sdk/types@^3.222.0":
883-
version "3.957.0"
884-
resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.957.0.tgz#06e899503028bdb8c655aa11a9a01f562882f361"
885-
integrity sha512-wzWC2Nrt859ABk6UCAVY/WYEbAd7FjkdrQL6m24+tfmWYDNRByTJ9uOgU/kw9zqLCAwb//CPvrJdhqjTznWXAg==
886-
dependencies:
887-
"@smithy/types" "^4.11.0"
888-
tslib "^2.6.2"
889-
890-
"@aws-sdk/types@^3.973.0":
882+
"@aws-sdk/types@^3.222.0", "@aws-sdk/types@^3.973.0":
891883
version "3.973.0"
892884
resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.973.0.tgz#4e7428dbaac37797a81339f646f40f41cc22a1fe"
893885
integrity sha512-jYIdB7a7jhRTvyb378nsjyvJh1Si+zVduJ6urMNGpz8RjkmHZ+9vM2H07XaIB2Cfq0GhJRZYOfUCH8uqQhqBkQ==
@@ -2568,13 +2560,6 @@
25682560
"@smithy/util-stream" "^4.5.10"
25692561
tslib "^2.6.2"
25702562

2571-
"@smithy/types@^4.11.0":
2572-
version "4.11.0"
2573-
resolved "https://registry.yarnpkg.com/@smithy/types/-/types-4.11.0.tgz#c02f6184dcb47c4f0b387a32a7eca47956cc09f1"
2574-
integrity sha512-mlrmL0DRDVe3mNrjTcVcZEgkFmufITfUAPBEA+AHYiIeYyJebso/He1qLbP3PssRe22KUzLRpQSdBPbXdgZ2VA==
2575-
dependencies:
2576-
tslib "^2.6.2"
2577-
25782563
"@smithy/types@^4.12.0":
25792564
version "4.12.0"
25802565
resolved "https://registry.yarnpkg.com/@smithy/types/-/types-4.12.0.tgz#55d2479080922bda516092dbf31916991d9c6fee"

0 commit comments

Comments
 (0)