@salesforce/plugin-packaging 1.12.3 → 1.12.4
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/README.md +0 -2
- package/lib/commands/package/convert.d.ts +23 -0
- package/lib/commands/package/convert.js +128 -0
- package/lib/commands/package/convert.js.map +1 -0
- package/lib/commands/package/create.d.ts +26 -0
- package/lib/commands/package/create.js +92 -0
- package/lib/commands/package/create.js.map +1 -0
- package/lib/commands/package/delete.d.ts +20 -0
- package/lib/commands/package/delete.js +65 -0
- package/lib/commands/package/delete.js.map +1 -0
- package/lib/commands/package/install/report.d.ts +19 -0
- package/lib/commands/package/install/report.js +65 -0
- package/lib/commands/package/install/report.js.map +1 -0
- package/lib/commands/package/install.d.ts +31 -0
- package/lib/commands/{force/package → package}/install.js +72 -76
- package/lib/commands/package/install.js.map +1 -0
- package/lib/commands/package/installed/list.d.ts +24 -0
- package/lib/commands/{force/package → package}/installed/list.js +19 -14
- package/lib/commands/package/installed/list.js.map +1 -0
- package/lib/commands/package/list.d.ts +26 -0
- package/lib/commands/{force/package → package}/list.js +23 -21
- package/lib/commands/package/list.js.map +1 -0
- package/lib/commands/package/uninstall/report.d.ts +15 -0
- package/lib/commands/package/uninstall/report.js +46 -0
- package/lib/commands/package/uninstall/report.js.map +1 -0
- package/lib/commands/package/uninstall.d.ts +19 -0
- package/lib/commands/package/uninstall.js +60 -0
- package/lib/commands/package/uninstall.js.map +1 -0
- package/lib/commands/package/update.d.ts +20 -0
- package/lib/commands/package/update.js +67 -0
- package/lib/commands/package/update.js.map +1 -0
- package/lib/commands/package/version/create/list.d.ts +18 -0
- package/lib/commands/{force/package → package}/version/create/list.js +28 -20
- package/lib/commands/package/version/create/list.js.map +1 -0
- package/lib/commands/package/version/create/report.d.ts +19 -0
- package/lib/commands/{force/package → package}/version/create/report.js +28 -24
- package/lib/commands/package/version/create/report.js.map +1 -0
- package/lib/commands/package/version/create.d.ts +40 -0
- package/lib/commands/package/version/create.js +220 -0
- package/lib/commands/package/version/create.js.map +1 -0
- package/lib/commands/package/version/delete.d.ts +21 -0
- package/lib/commands/package/version/delete.js +71 -0
- package/lib/commands/package/version/delete.js.map +1 -0
- package/lib/commands/package/version/displayancestry.d.ts +19 -0
- package/lib/commands/package/version/displayancestry.js +74 -0
- package/lib/commands/package/version/displayancestry.js.map +1 -0
- package/lib/commands/package/version/list.d.ts +40 -0
- package/lib/commands/{force/package → package}/version/list.js +56 -57
- package/lib/commands/package/version/list.js.map +1 -0
- package/lib/commands/package/version/promote.d.ts +18 -0
- package/lib/commands/{force/package → package}/version/promote.js +28 -25
- package/lib/commands/package/version/promote.js.map +1 -0
- package/lib/commands/package/version/report.d.ts +29 -0
- package/lib/commands/{force/package → package}/version/report.js +34 -32
- package/lib/commands/package/version/report.js.map +1 -0
- package/lib/commands/package/version/update.d.ts +22 -0
- package/lib/commands/package/version/update.js +77 -0
- package/lib/commands/package/version/update.js.map +1 -0
- package/lib/commands/package1/version/create/get.d.ts +15 -0
- package/lib/commands/{force/package1 → package1}/version/create/get.js +22 -14
- package/lib/commands/package1/version/create/get.js.map +1 -0
- package/lib/commands/package1/version/create.d.ts +28 -0
- package/lib/commands/package1/version/create.js +130 -0
- package/lib/commands/package1/version/create.js.map +1 -0
- package/lib/commands/package1/version/display.d.ts +16 -0
- package/lib/commands/{force/package1 → package1}/version/display.js +20 -18
- package/lib/commands/package1/version/display.js.map +1 -0
- package/lib/commands/package1/version/list.d.ts +16 -0
- package/lib/commands/{force/package1 → package1}/version/list.js +21 -20
- package/lib/commands/package1/version/list.js.map +1 -0
- package/messages/package1_version_create.md +33 -44
- package/messages/package1_version_create_get.md +11 -10
- package/messages/package1_version_display.md +10 -8
- package/messages/package1_version_list.md +14 -8
- package/messages/package_convert.md +31 -31
- package/messages/package_create.md +31 -40
- package/messages/package_delete.md +15 -20
- package/messages/package_displayancestry.md +25 -19
- package/messages/package_install.md +43 -52
- package/messages/package_install_report.md +9 -8
- package/messages/package_installed_list.md +9 -4
- package/messages/package_list.md +16 -13
- package/messages/package_uninstall.md +17 -15
- package/messages/package_uninstall_report.md +11 -10
- package/messages/package_update.md +13 -18
- package/messages/package_version_create.md +81 -129
- package/messages/package_version_create_list.md +26 -14
- package/messages/package_version_create_report.md +13 -10
- package/messages/package_version_delete.md +17 -17
- package/messages/package_version_list.md +29 -32
- package/messages/package_version_promote.md +22 -16
- package/messages/package_version_report.md +13 -14
- package/messages/package_version_update.md +23 -37
- package/messages/packaging.md +4 -12
- package/oclif.manifest.json +2455 -1
- package/package.json +60 -75
- package/schemas/package-convert.json +73 -0
- package/schemas/package-create.json +16 -0
- package/schemas/package-delete.json +72 -0
- package/schemas/package-install-report.json +169 -0
- package/schemas/package-install.json +169 -0
- package/schemas/package-installed-list.json +40 -0
- package/schemas/package-list.json +55 -0
- package/schemas/package-uninstall-report.json +51 -0
- package/schemas/package-uninstall.json +54 -0
- package/schemas/package-update.json +72 -0
- package/schemas/package-version-create-list.json +79 -0
- package/schemas/package-version-create-report.json +79 -0
- package/schemas/package-version-create.json +60 -0
- package/schemas/package-version-delete.json +72 -0
- package/schemas/package-version-displayancestry.json +61 -0
- package/schemas/package-version-list.json +146 -0
- package/schemas/package-version-promote.json +72 -0
- package/schemas/package-version-report.json +232 -0
- package/schemas/package-version-update.json +72 -0
- package/schemas/package1-version-create-get.json +91 -0
- package/schemas/package1-version-create.json +94 -0
- package/schemas/package1-version-display.json +37 -0
- package/schemas/package1-version-list.json +37 -0
- package/lib/commands/force/package/convert.d.ts +0 -11
- package/lib/commands/force/package/convert.js +0 -106
- package/lib/commands/force/package/convert.js.map +0 -1
- package/lib/commands/force/package/create.d.ts +0 -13
- package/lib/commands/force/package/create.js +0 -82
- package/lib/commands/force/package/create.js.map +0 -1
- package/lib/commands/force/package/delete.d.ts +0 -12
- package/lib/commands/force/package/delete.js +0 -63
- package/lib/commands/force/package/delete.js.map +0 -1
- package/lib/commands/force/package/install/report.d.ts +0 -12
- package/lib/commands/force/package/install/report.js +0 -39
- package/lib/commands/force/package/install/report.js.map +0 -1
- package/lib/commands/force/package/install.d.ts +0 -20
- package/lib/commands/force/package/install.js.map +0 -1
- package/lib/commands/force/package/installed/list.d.ts +0 -18
- package/lib/commands/force/package/installed/list.js.map +0 -1
- package/lib/commands/force/package/list.d.ts +0 -19
- package/lib/commands/force/package/list.js.map +0 -1
- package/lib/commands/force/package/uninstall/report.d.ts +0 -10
- package/lib/commands/force/package/uninstall/report.js +0 -44
- package/lib/commands/force/package/uninstall/report.js.map +0 -1
- package/lib/commands/force/package/uninstall.d.ts +0 -12
- package/lib/commands/force/package/uninstall.js +0 -55
- package/lib/commands/force/package/uninstall.js.map +0 -1
- package/lib/commands/force/package/update.d.ts +0 -11
- package/lib/commands/force/package/update.js +0 -63
- package/lib/commands/force/package/update.js.map +0 -1
- package/lib/commands/force/package/version/create/list.d.ts +0 -10
- package/lib/commands/force/package/version/create/list.js.map +0 -1
- package/lib/commands/force/package/version/create/report.d.ts +0 -11
- package/lib/commands/force/package/version/create/report.js.map +0 -1
- package/lib/commands/force/package/version/create.d.ts +0 -12
- package/lib/commands/force/package/version/create.js +0 -203
- package/lib/commands/force/package/version/create.js.map +0 -1
- package/lib/commands/force/package/version/delete.d.ts +0 -13
- package/lib/commands/force/package/version/delete.js +0 -66
- package/lib/commands/force/package/version/delete.js.map +0 -1
- package/lib/commands/force/package/version/displayancestry.d.ts +0 -13
- package/lib/commands/force/package/version/displayancestry.js +0 -70
- package/lib/commands/force/package/version/displayancestry.js.map +0 -1
- package/lib/commands/force/package/version/list.d.ts +0 -27
- package/lib/commands/force/package/version/list.js.map +0 -1
- package/lib/commands/force/package/version/promote.d.ts +0 -11
- package/lib/commands/force/package/version/promote.js.map +0 -1
- package/lib/commands/force/package/version/report.d.ts +0 -22
- package/lib/commands/force/package/version/report.js.map +0 -1
- package/lib/commands/force/package/version/update.d.ts +0 -11
- package/lib/commands/force/package/version/update.js +0 -73
- package/lib/commands/force/package/version/update.js.map +0 -1
- package/lib/commands/force/package1/version/create/get.d.ts +0 -10
- package/lib/commands/force/package1/version/create/get.js.map +0 -1
- package/lib/commands/force/package1/version/create.d.ts +0 -13
- package/lib/commands/force/package1/version/create.js +0 -115
- package/lib/commands/force/package1/version/create.js.map +0 -1
- package/lib/commands/force/package1/version/display.d.ts +0 -9
- package/lib/commands/force/package1/version/display.js.map +0 -1
- package/lib/commands/force/package1/version/list.d.ts +0 -9
- package/lib/commands/force/package1/version/list.js.map +0 -1
|
@@ -1,79 +1,68 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
The package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.
|
|
3
|
+
Create a first-generation package version in the release org.
|
|
5
4
|
|
|
6
|
-
#
|
|
5
|
+
# description
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
The package version is based on the contents of the specified metadata package. Omit --managed-released if you want to create an unmanaged package version.
|
|
9
8
|
|
|
10
|
-
#
|
|
9
|
+
# examples
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
- Create a first-generation package version from the package with the specified ID and name the package version "example"; use your default org:
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
<%= config.bin %> <%= command.id %> --package-id 033... --name example
|
|
15
14
|
|
|
16
|
-
package version
|
|
15
|
+
- Same as previous example, but provide a description and wait for 30 minutes for the package version to be created; use the specified org:
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
<%= config.bin %> <%= command.id %> --package-id 033... --name example --description "example description" --wait 30 --target-org myorg@example.com
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
# flags.package-id.summary
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
package version description
|
|
21
|
+
ID of the metadata package (starts with 033) of which you’re creating a new version.
|
|
25
22
|
|
|
26
|
-
#
|
|
23
|
+
# flags.name.summary
|
|
27
24
|
|
|
28
|
-
Package version
|
|
25
|
+
Package version name.
|
|
29
26
|
|
|
30
|
-
#
|
|
27
|
+
# flags.description.summary
|
|
31
28
|
|
|
32
|
-
|
|
29
|
+
Package version description.
|
|
33
30
|
|
|
34
|
-
#
|
|
31
|
+
# flags.version.summary
|
|
35
32
|
|
|
36
33
|
Package version in major.minor format, for example, 3.2.
|
|
37
34
|
|
|
38
|
-
#
|
|
39
|
-
|
|
40
|
-
release notes URL
|
|
41
|
-
|
|
42
|
-
# releaseNotesLong
|
|
43
|
-
|
|
44
|
-
The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
|
|
45
|
-
|
|
46
|
-
# postInstall
|
|
35
|
+
# flags.release-notes-url.summary
|
|
47
36
|
|
|
48
|
-
|
|
37
|
+
Release notes URL.
|
|
49
38
|
|
|
50
|
-
#
|
|
39
|
+
# flags.release-notes-url.description
|
|
51
40
|
|
|
52
|
-
|
|
41
|
+
This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
|
|
53
42
|
|
|
54
|
-
#
|
|
43
|
+
# flags.post-install-url.summary
|
|
55
44
|
|
|
56
|
-
|
|
45
|
+
Post install URL.
|
|
57
46
|
|
|
58
|
-
#
|
|
47
|
+
# flags.post-install-url.description
|
|
59
48
|
|
|
60
|
-
|
|
49
|
+
The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
|
|
61
50
|
|
|
62
|
-
#
|
|
51
|
+
# flags.managed-release.summary
|
|
63
52
|
|
|
64
|
-
|
|
53
|
+
Create a managed package version.
|
|
65
54
|
|
|
66
|
-
#
|
|
55
|
+
# flags.managed-release.description
|
|
67
56
|
|
|
68
|
-
|
|
57
|
+
To create a beta version, don’t include this parameter.
|
|
69
58
|
|
|
70
|
-
#
|
|
59
|
+
# flags.installation-key.summary
|
|
71
60
|
|
|
72
|
-
|
|
61
|
+
Installation key for key-protected package (default: null).
|
|
73
62
|
|
|
74
|
-
#
|
|
63
|
+
# flags.wait.summary
|
|
75
64
|
|
|
76
|
-
Minutes to wait for the package version to be created
|
|
65
|
+
Minutes to wait for the package version to be created (default: 2 minutes).
|
|
77
66
|
|
|
78
67
|
# uploadFailure
|
|
79
68
|
|
|
@@ -90,4 +79,4 @@ Successfully uploaded package [%s]
|
|
|
90
79
|
# QUEUED
|
|
91
80
|
|
|
92
81
|
PackageUploadRequest has been enqueued. You can query the status using
|
|
93
|
-
|
|
82
|
+
%s package1:version:create:get -i %s -o %s
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Retrieve the status of a package version creation request.
|
|
4
4
|
|
|
5
5
|
# examples
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
$ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com
|
|
7
|
+
- Get the status of the creation request for the package version with the specified ID in your default org:
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
<%= config.bin %> <%= command.id %> --request-id 0HD...
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
- Same as previous example, but use the specified org:
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
<%= config.bin %> <%= command.id %> --request-id 0HD... --target-org myorg@example.com
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
# flags.request-id.summary
|
|
16
|
+
|
|
17
|
+
ID of the PackageUploadRequest (starts with 0HD).
|
|
17
18
|
|
|
18
19
|
# IN_PROGRESS
|
|
19
20
|
|
|
20
21
|
PackageUploadRequest is still InProgress. You can query the status using
|
|
21
|
-
|
|
22
|
+
%s package1:version:create:get -i %s -o %s
|
|
22
23
|
|
|
23
24
|
# SUCCESS
|
|
24
25
|
|
|
@@ -27,7 +28,7 @@ Successfully uploaded package [%s]
|
|
|
27
28
|
# QUEUED
|
|
28
29
|
|
|
29
30
|
PackageUploadRequest has been enqueued. You can query the status using
|
|
30
|
-
|
|
31
|
+
%s package1:version:create:get -i %s -o %s
|
|
31
32
|
|
|
32
33
|
# uploadFailure
|
|
33
34
|
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Display details about a first-generation package version.
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# flags.package-version-id.summary
|
|
6
6
|
|
|
7
|
-
metadata package version
|
|
7
|
+
ID (starts with 04t) of the metadata package version whose details you want to display.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# examples
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- Display details about the first-generation package version with the specified ID in your default org:
|
|
12
|
+
|
|
13
|
+
<%= config.bin %> <%= command.id %> --package-version-id 04t...
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
- Same as previous example, but use the specified org:
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
<%= config.bin %> <%= command.id %> --package-version-id 04t... --target-org myorg@example.com
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
List package versions for the specified first-generation package or for the org.
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# flags.package-id.summary
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Metadata package ID (starts with 033) whose package versions you want to list.
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# flags.package-id.description
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
12
12
|
|
|
13
|
-
#
|
|
13
|
+
# examples
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
- List all first-generation package versions in your default org:
|
|
16
|
+
|
|
17
|
+
<%= config.bin %> <%= command.id %>
|
|
18
|
+
|
|
19
|
+
- List package versions for the specified first-generation package in the specifief org:
|
|
20
|
+
|
|
21
|
+
<%= config.bin %> <%= command.id %> --package-id 033... --target-org myorg@example.com
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Create a second-generation package version from a first-generation package.
|
|
4
|
+
|
|
5
|
+
# description
|
|
4
6
|
|
|
5
7
|
The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.
|
|
6
8
|
|
|
@@ -8,60 +10,58 @@ It then creates a new package version in the Dev Hub with contents based on the
|
|
|
8
10
|
|
|
9
11
|
The latest released non-patch package version from the specified first-generation package will be converted.
|
|
10
12
|
|
|
11
|
-
To retrieve details about a package version create request, including status and package version ID (04t), run "
|
|
13
|
+
To retrieve details about a package version create request, including status and package version ID (04t), run "<%= config.bin %> package version create report -i 08c...".
|
|
12
14
|
|
|
13
|
-
We recommend specifying the --
|
|
15
|
+
We recommend specifying the --installation-key to protect the contents of your package and to prevent unauthorized installation of your package.
|
|
14
16
|
|
|
15
|
-
To list package version creation requests in the org, run "
|
|
17
|
+
To list package version creation requests in the org, run "<%= config.bin %> package version create list".
|
|
16
18
|
|
|
17
19
|
# examples
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# package
|
|
21
|
+
- Create a second-generation package version from the first-generation package with the specified ID and give it the installation key "password123"; uses your default Dev Hub org:
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
<%= config.bin %> <%= command.id %> --package 033... --installation-key password123
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
- Similar to previous example, but uses the specified Dev Hub org:
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
<%= config.bin %> <%= command.id %> --package 033... --installation-key password123 --target-hub-org devhuborg@example.com
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# flags.package.summary
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
ID (starts with 033) of the first-generation package to convert.
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# flags.installation-key.summary
|
|
34
34
|
|
|
35
|
-
Installation key for
|
|
35
|
+
Installation key for key-protected package.
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# flags.installation-key.description
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Either an --installation-key value or the --installation-key-bypass flag is required.
|
|
40
40
|
|
|
41
|
-
#
|
|
41
|
+
# flags.installation-key-bypass.summary
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Bypass the installation key requirement.
|
|
44
44
|
|
|
45
|
-
#
|
|
45
|
+
# flags.installation-key-bypass.description
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
If you bypass this requirement, anyone can install your package. Either an --installation-key value or the --installation-key-bypass flag is required.
|
|
48
48
|
|
|
49
|
-
#
|
|
49
|
+
# flags.definition-file.summary
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Path to a definition file that contains features and org preferences that the metadata of the package version depends on.
|
|
52
52
|
|
|
53
|
-
#
|
|
53
|
+
# flags.definition-file.description
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
This definition file is similar to the scratch org definition file.
|
|
56
56
|
|
|
57
|
-
#
|
|
57
|
+
# flags.wait.summary
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Minutes to wait for the package version to be created.
|
|
60
60
|
|
|
61
|
-
# instance
|
|
61
|
+
# flags.build-instance.summary
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Instance where the conversion package version will be created, such as NA50.
|
|
64
64
|
|
|
65
|
-
#
|
|
65
|
+
# in-progress
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'
|
|
@@ -1,76 +1,67 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Create a package.
|
|
4
|
+
|
|
5
|
+
# description
|
|
4
6
|
|
|
5
7
|
First, use this command to create a package. Then create a package version.
|
|
6
8
|
|
|
7
|
-
If you don’t have a namespace defined in your sfdx-project.json file, use --
|
|
9
|
+
If you don’t have a namespace defined in your sfdx-project.json file, use --no-namespace.
|
|
8
10
|
|
|
9
11
|
Your --name value must be unique within your namespace.
|
|
10
12
|
|
|
11
|
-
Run '
|
|
13
|
+
Run '<%= config.bin %> package list to list all packages in the Dev Hub org.
|
|
12
14
|
|
|
13
15
|
# examples
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
$ sfdx force:package:create -n YourPackageName -d "Your Package Descripton" -t Unlocked -r force-app
|
|
17
|
+
- Create an unlocked package from the files in the "force-app" directory; uses your default Dev Hub org:
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
<%= config.bin %> <%= command.id %> --name MyUnlockedPackage --package-type Unlocked --path force-app
|
|
19
20
|
|
|
20
|
-
package
|
|
21
|
+
- Create a managed packaged from the "force-app" directory files, give the package a description, and use the specified Dev Hub org:
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Name of the package to create.
|
|
23
|
+
<%= config.bin %> <%= command.id %> --name MyManagedPackage --description "Your Package Descripton" --package-type Managed --path force-app --target-hub-org devhub@example.com
|
|
25
24
|
|
|
26
|
-
#
|
|
25
|
+
# flags.name.summary
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
Name of the package to create.
|
|
29
28
|
|
|
30
|
-
#
|
|
29
|
+
# flags.org-dependent.summary
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
Use Source Tracking in Sandboxes to develop your org-dependent unlocked package.
|
|
34
|
-
For more information, see "Create Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
31
|
+
Depends on unpackaged metadata in the installation org; applies to unlocked packages only.
|
|
35
32
|
|
|
36
|
-
#
|
|
33
|
+
# flags.org-dependent.description
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
Use Source Tracking in Sandboxes to develop your org-dependent unlocked package. For more information, see "Create Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
39
36
|
|
|
40
|
-
#
|
|
37
|
+
# flags.error-notification-username.summary
|
|
41
38
|
|
|
42
|
-
|
|
39
|
+
Active Dev Hub user designated to receive email notifications for package errors.
|
|
43
40
|
|
|
44
|
-
# description
|
|
41
|
+
# flags.error-notification-username.description
|
|
45
42
|
|
|
46
|
-
package
|
|
43
|
+
Email notifications include information about unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.
|
|
47
44
|
|
|
48
|
-
#
|
|
45
|
+
# flags.description.summary
|
|
49
46
|
|
|
50
47
|
Description of the package.
|
|
51
48
|
|
|
52
|
-
#
|
|
53
|
-
|
|
54
|
-
creates the package with no namespace; available only for unlocked packages.
|
|
55
|
-
|
|
56
|
-
# noNamespaceLong
|
|
49
|
+
# flags.no-namespace.summary
|
|
57
50
|
|
|
58
|
-
|
|
51
|
+
Create the package with no namespace; available only for unlocked packages.
|
|
59
52
|
|
|
60
|
-
#
|
|
53
|
+
# flags.no-namespace.description
|
|
61
54
|
|
|
62
|
-
package
|
|
55
|
+
This flag is useful when you’re migrating an existing org to packages. But use a namespaced package for new metadata.
|
|
63
56
|
|
|
64
|
-
#
|
|
57
|
+
# flags.package-type.summary
|
|
65
58
|
|
|
66
|
-
|
|
67
|
-
The options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable).
|
|
68
|
-
These options determine upgrade and editability rules.
|
|
59
|
+
Type of package.
|
|
69
60
|
|
|
70
|
-
#
|
|
61
|
+
# flags.package-type.description
|
|
71
62
|
|
|
72
|
-
|
|
63
|
+
The options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable). These options determine upgrade and editability rules.
|
|
73
64
|
|
|
74
|
-
#
|
|
65
|
+
# flags.path.summary
|
|
75
66
|
|
|
76
|
-
|
|
67
|
+
Path to directory that contains the contents of the package.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Delete a package.
|
|
4
|
+
|
|
5
|
+
# description
|
|
4
6
|
|
|
5
7
|
Specify the ID or alias of the package you want to delete.
|
|
6
8
|
|
|
@@ -8,46 +10,39 @@ Delete unlocked and second-generation managed packages. Before you delete a pack
|
|
|
8
10
|
|
|
9
11
|
# examples
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
$ sfdx force:package:delete -p 0Ho...
|
|
13
|
-
|
|
14
|
-
# package
|
|
13
|
+
- Delete a package using its alias from your default Dev Hub org:
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
<%= config.bin %> <%= command.id %> --package "Your Package Alias"
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
- Delete a package using its ID from the specified Dev Hub org:
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
<%= config.bin %> <%= command.id %> --package 0Ho... --target-hub-org devhub@example.com
|
|
21
20
|
|
|
22
|
-
#
|
|
21
|
+
# flags.package.summary
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
ID (starts with 0Ho) or alias of the package to delete.
|
|
25
24
|
|
|
26
|
-
#
|
|
25
|
+
# flags.undelete.summary
|
|
27
26
|
|
|
28
27
|
Undelete a deleted package.
|
|
29
28
|
|
|
30
|
-
#
|
|
31
|
-
|
|
32
|
-
don’t prompt before deleting the package
|
|
33
|
-
|
|
34
|
-
# noPromptLong
|
|
29
|
+
# flags.no-prompt.summary
|
|
35
30
|
|
|
36
31
|
Don’t prompt before deleting the package.
|
|
37
32
|
|
|
38
|
-
#
|
|
33
|
+
# prompt-delete
|
|
39
34
|
|
|
40
35
|
Deleted packages can’t be recovered.
|
|
41
36
|
|
|
42
37
|
Do you want to continue? (y/n)
|
|
43
38
|
|
|
44
|
-
#
|
|
39
|
+
# prompt-undelete
|
|
45
40
|
|
|
46
41
|
This will undelete the package, which may result in unintended consequences for customers. Proceed with caution.
|
|
47
42
|
|
|
48
43
|
Do you want to continue? (y/n)
|
|
49
44
|
|
|
50
|
-
#
|
|
45
|
+
# prompt-delete-deny
|
|
51
46
|
|
|
52
47
|
The request to delete this package was canceled
|
|
53
48
|
|
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Display the ancestry tree for a 2GP managed package version.
|
|
4
4
|
|
|
5
5
|
# examples
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode
|
|
9
|
-
$ sfdx force:package:version:displayancestry -p OHo...
|
|
10
|
-
$ sfdx force:package:version:displayancestry -p 04t...
|
|
7
|
+
- Display the ancestry tree for a package version with the specified alias, using your default Dev Hub org:
|
|
11
8
|
|
|
12
|
-
|
|
9
|
+
<%= config.bin %> <%= command.id %> --package package_version_alias
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
- Similar to previous example, but display the output in DOT code:
|
|
15
12
|
|
|
16
|
-
|
|
13
|
+
<%= config.bin %> <%= command.id %> --package package_version_alias --dot-code
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
If you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.
|
|
15
|
+
- Display the ancestry tree for a package with the specified ID, using the Dev Hub org with username devhub@example.com:
|
|
20
16
|
|
|
21
|
-
|
|
17
|
+
<%= config.bin %> <%= command.id %> --package OHo... --target-hub-org devhub@example.com
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
- Display the ancestry tree of a package version with the specified ID, using your default Dev Hub org:
|
|
24
20
|
|
|
25
|
-
|
|
21
|
+
<%= config.bin %> <%= command.id %> --package 04t...
|
|
26
22
|
|
|
27
|
-
|
|
23
|
+
# flags.package.summary
|
|
28
24
|
|
|
29
|
-
|
|
25
|
+
ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for.
|
|
30
26
|
|
|
31
|
-
|
|
27
|
+
# flags.package.description
|
|
32
28
|
|
|
33
|
-
|
|
29
|
+
If you specify a package ID (starts with 0Ho) or alias, the ancestor tree for every package version associated with the package ID is displayed. If you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.
|
|
34
30
|
|
|
35
|
-
|
|
31
|
+
# flags.dot-code.summary
|
|
32
|
+
|
|
33
|
+
Display the ancestry tree in DOT code.
|
|
34
|
+
|
|
35
|
+
# flags.dot-code.description
|
|
36
|
+
|
|
37
|
+
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
38
|
+
|
|
39
|
+
# flags.verbose.summary
|
|
40
|
+
|
|
41
|
+
Display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.
|