@salesforce/plugin-packaging 1.10.5 → 1.10.7

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.
Files changed (39) hide show
  1. package/README.md +9 -45
  2. package/lib/commands/force/package/beta/create.js +2 -3
  3. package/lib/commands/force/package/beta/create.js.map +1 -1
  4. package/lib/commands/force/package/beta/version/create.d.ts +1 -0
  5. package/lib/commands/force/package/beta/version/create.js +2 -1
  6. package/lib/commands/force/package/beta/version/create.js.map +1 -1
  7. package/messages/package1_version_create.md +0 -28
  8. package/messages/package1_version_display.md +0 -4
  9. package/messages/package1_version_list.md +0 -16
  10. package/messages/package_convert.md +0 -8
  11. package/messages/package_create.md +0 -9
  12. package/messages/package_displayancestry.md +0 -24
  13. package/messages/package_install.md +0 -44
  14. package/messages/package_install_report.md +0 -13
  15. package/messages/package_installed_list.md +0 -4
  16. package/messages/package_uninstall.md +0 -28
  17. package/messages/package_uninstall_report.md +0 -9
  18. package/messages/package_version_create.md +0 -90
  19. package/messages/package_version_create_report.md +0 -10
  20. package/messages/package_version_delete.md +0 -4
  21. package/messages/package_version_promote.md +4 -0
  22. package/messages/package_version_update.md +0 -4
  23. package/messages/packaging.md +0 -142
  24. package/oclif.manifest.json +1 -1
  25. package/package.json +4 -4
  26. package/messages/package2.md +0 -87
  27. package/messages/package2_create.md +0 -57
  28. package/messages/package2_list.md +0 -35
  29. package/messages/package2_update.md +0 -46
  30. package/messages/package2_version_create.md +0 -150
  31. package/messages/package2_version_create_get.md +0 -35
  32. package/messages/package2_version_create_list.md +0 -63
  33. package/messages/package2_version_get.md +0 -15
  34. package/messages/package2_version_list.md +0 -99
  35. package/messages/package2_version_update.md +0 -90
  36. package/messages/package_install_get.md +0 -33
  37. package/messages/package_install_request.md +0 -33
  38. package/messages/package_uninstall_get.md +0 -33
  39. package/messages/utils.md +0 -19
@@ -1,87 +0,0 @@
1
- # topicHelp
2
-
3
- develop second-generation packages
4
-
5
- # topicHelpLong
6
-
7
- Use the package2 commands to create, install, and manage second-generation packages.
8
-
9
- # createdLastDaysDescription
10
-
11
- created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)
12
-
13
- # createdLastDaysLongDescription
14
-
15
- Filters the list based on the specified maximum number of days since the request was created (starting at 00:00:00 of first day to now; 0 for today).
16
-
17
- # modifiedLastDaysDescription
18
-
19
- list items modified in the specified last number of days (starting at 00:00:00 of first day to now; 0 for today)
20
-
21
- # modifiedLastDaysLongDescription
22
-
23
- Lists the items modified in the specified last number of days, starting at 00:00:00 of first day to now. Use 0 for today.
24
-
25
- # invalidId
26
-
27
- Invalid %s: %s. Provide a valid ID that starts with %s.
28
-
29
- # invalidDaysNumber
30
-
31
- Provide a valid positive number for %s.
32
-
33
- # invalidStatus
34
-
35
- Invalid status '%s'. Please provide one of these statuses: %s
36
-
37
- # package2NotEnabledAction
38
-
39
- Second-generation packaging is not enabled on this org. Verify that you are authenticated to the desired org and try again. Otherwise, contact Salesforce Customer Support for more information.
40
-
41
- # package2InstanceNotEnabled
42
-
43
- Your org does not have permission to specify a build instance for your package version. Verify that you are authenticated to the desired org and try again. Otherwise, contact Salesforce Customer Support for more information.
44
-
45
- # package2SourceOrgNotEnabled
46
-
47
- Your Dev Hub does not have permission to specify a source org for your build org. Verify that you are authenticated to the correct Dev Hub and try again. Otherwise, contact Salesforce Customer Support for assistance.
48
-
49
- # installStatus
50
-
51
- Waiting for the package install request to complete. Status = %s
52
-
53
- # errorMissingVersionNumber
54
-
55
- The VersionNumber property must be specified.
56
-
57
- # errorInvalidVersionNumber
58
-
59
- VersionNumber must be in the format major.minor.patch.build but the value found is [%s].
60
-
61
- # errorInvalidBuildNumber
62
-
63
- The provided VersionNumber '%s' is invalid. Provide an integer value or use the keyword '%s' for the build number.
64
-
65
- # errorInvalidPatchNumber
66
-
67
- The provided VersionNumber '%s' is not supported. Provide a patch number of 0.
68
-
69
- # errorInvalidMajorMinorNumber
70
-
71
- The provided VersionNumber '%s' is invalid. Provide an integer value for the %s number.
72
-
73
- # errorInvalidAncestorVersionFormat
74
-
75
- The ancestor versionNumber must be in the format major.minor but the value found is [%s].
76
-
77
- # errorNoMatchingAncestor
78
-
79
- The ancestorId for ancestorVersion [%s] can't be found. Package 2 ID [%s].
80
-
81
- # errorAncestorIdVersionMismatch
82
-
83
- The ancestorVersion in sfdx-project.json is not the version expected for the ancestorId you supplied. ancestorVersion [%s]. ancestorID [%s].
84
-
85
- # errorpackage2AncestorIdsKeyNotSupported
86
-
87
- The package2AncestorIds key is no longer supported in a scratch org definition. Ancestors defined in sfdx-project.json will be included in the scratch org.
@@ -1,57 +0,0 @@
1
- # cliDescription
2
-
3
- create a second-generation package
4
-
5
- # cliLongDescription
6
-
7
- Creates a second-generation package.
8
-
9
- # help
10
-
11
- First, use this command to create a second-generation package. Then create a package version.
12
-
13
- Your --name value must be unique within your namespace.
14
-
15
- Run 'sfdx force:package2:list' to list all second-generation packages in the Dev Hub org.
16
-
17
- # examples
18
-
19
- $ sfdx force:package2:create -n PackageName -d 'My New Package' -o Unlocked
20
-
21
- # name
22
-
23
- package name
24
-
25
- # nameLong
26
-
27
- Name of the second-generation package to create.
28
-
29
- # description
30
-
31
- package description
32
-
33
- # descriptionLong
34
-
35
- Description of the second-generation package.
36
-
37
- # noNamespace
38
-
39
- creates the package with no namespace; available only for developer-controlled packages.
40
-
41
- # noNamespaceLong
42
-
43
- Creates the package with no namespace. Available only for developer-controlled packages. Useful when migrating an existing org to packages, but new metadata should use a namespaced package.
44
-
45
- # containerOptions
46
-
47
- [*Managed | Unlocked] container options for the package2 (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable)
48
-
49
- # containerOptionsLong
50
-
51
- Container options for the package2.
52
- Managed is default. Other options include Unlocked. (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable).
53
- These options determine the upgrade and editability rules.
54
-
55
- # humanSuccess
56
-
57
- Successfully created a second-generation package (package2).
@@ -1,35 +0,0 @@
1
- # cliDescription
2
-
3
- list all second-generation packages in the Dev Hub org
4
-
5
- # cliLongDescription
6
-
7
- Lists all second-generation packages in the Dev Hub org.
8
-
9
- # help
10
-
11
- You can view the namespace, IDs, and other details for each package.
12
-
13
- # namespace
14
-
15
- Namespace Prefix
16
-
17
- # name
18
-
19
- Name
20
-
21
- # id
22
-
23
- Id
24
-
25
- # package2Id
26
-
27
- Subscriber Package2 Id
28
-
29
- # description
30
-
31
- Description
32
-
33
- # containerOptions
34
-
35
- Options
@@ -1,46 +0,0 @@
1
- # cliDescription
2
-
3
- update a second-generation package
4
-
5
- # cliLongDescription
6
-
7
- Updates a second-generation package.
8
-
9
- # help
10
-
11
- Specify a new value for each option you want to update.
12
-
13
- Run 'sfdx force:package2:list' to list all second-generation packages in the Dev Hub org.
14
-
15
- # examples
16
-
17
- $ sfdx force:package2:update --package2id 0Ho... --name 'AAnalytics'
18
- $ sfdx force:package2:update -i 0Ho... -d 'Advanced Analytics'
19
-
20
- # id
21
-
22
- id of the package (starts with 0Ho)
23
-
24
- # idLong
25
-
26
- ID of package (starts with 0Ho).
27
-
28
- # name
29
-
30
- package name
31
-
32
- # nameLong
33
-
34
- Name of the package to update.
35
-
36
- # description
37
-
38
- package description
39
-
40
- # descriptionLong
41
-
42
- Description of the package.
43
-
44
- # humanSuccess
45
-
46
- Successfully updated the package. ID: %s.
@@ -1,150 +0,0 @@
1
- # cliDescription
2
-
3
- create a second-generation package version
4
-
5
- # cliLongDescription
6
-
7
- Creates a second-generation package (package2) version in the Dev Hub org.
8
-
9
- # help
10
-
11
- The package version is based on the package contents in the specified directory.
12
-
13
- To retrieve details about a package version create request, including status and package2 version ID (05i), run "sfdx force:package2:version:create:get -i 08c...".
14
-
15
- To list package version creation requests in the org, run "sfdx force:package2:version:create:list".
16
-
17
- # examples
18
-
19
- $ sfdx force:package2:version:create -d common
20
- $ sfdx force:package2:version:create -i 0Ho... -d common
21
-
22
- # package2Id
23
-
24
- ID of the parent package (starts with 0Ho)
25
-
26
- # longPackage2Id
27
-
28
- ID of parent package (starts with 0Ho).
29
-
30
- # dir
31
-
32
- path to directory that contains the contents of the package version
33
-
34
- # longDir
35
-
36
- The path to the directory that contains the contents of the package version.
37
-
38
- # branch
39
-
40
- the package version’s branch
41
-
42
- # longBranch
43
-
44
- The package version’s branch.
45
-
46
- # tag
47
-
48
- the package version’s tag
49
-
50
- # longTag
51
-
52
- The package version’s tag.
53
-
54
- # key
55
-
56
- installation key for key-protected package (default: null)
57
-
58
- # longKey
59
-
60
- Installation key for creating the key-protected package. The default is null.
61
-
62
- # preserve
63
-
64
- temp files are preserved that would otherwise be deleted
65
-
66
- # longPreserve
67
-
68
- Specifies that the temp files are preserved that would otherwise be deleted
69
-
70
- # validateschema
71
-
72
- sfdx-project.json is validated against JSON schema
73
-
74
- # longValidateschema
75
-
76
- Specifies that the sfdx-project.json file should be validated against JSON schema
77
-
78
- # tempFileLocation
79
-
80
- The temp files are located at: %s.
81
-
82
- # wait
83
-
84
- minutes to wait for the package version to be created
85
-
86
- # longWait
87
-
88
- The number of minutes to wait for the package version to be created.
89
-
90
- # instance
91
-
92
- the instance where the package version will be created——for example, NA50
93
-
94
- # longInstance
95
-
96
- The instance where the package version will be created——for example, NA50.
97
-
98
- # sourceorg
99
-
100
- the source org ID used to copy the org shape for the build org
101
-
102
- # longSourceorg
103
-
104
- The source org ID used to copy the org shape for the build org.
105
-
106
- # InProgress
107
-
108
- Package2 version creation request is InProgress. Run "sfdx force:package2:version:create:get -i %s" to query for status.
109
-
110
- # Queued
111
-
112
- Package2 version creation request is Queued. Run "sfdx force:package2:version:create:get -i %s" to query for status.
113
-
114
- # Success
115
-
116
- Successfully created the package2 version [%s]. Package2 Version Id: %s. Subscriber Package2 Version Id: %s.
117
- Package Installation URL: %s%s
118
- As an alternative, you can use the "sfdx force:package:install" command.
119
-
120
- # errorMissingFlags
121
-
122
- Include either a %s value or a %s value. The value must match one of the packageDirectories specified in sfdx-project.json.
123
-
124
- # errorNoMatchingPackageDirectory
125
-
126
- The %s value [%s], doesn’t match the %s value in any packageDirectories specified in sfdx-project.json.
127
-
128
- # errorDirectoryIdMismatch
129
-
130
- The %s value, [%s], and %s value, [%s], were both found in sfdx-project.json but don’t match. If you supply both values, they must match the path and id values in one of the packageDirectories.
131
-
132
- # errorDependencyPair
133
-
134
- Dependency must specify either a subscriberPackageVersionId or both packageId and versionNumber: %s.
135
-
136
- # errorNoIdInHub
137
-
138
- No package2 ID was found in Dev Hub for package2 ID: %s.
139
-
140
- # errorEmptyPackageDirs
141
-
142
- sfdx-project.json must contain a packageDirectories entry for a package. It has no entries, currently.
143
-
144
- # unknownError
145
-
146
- Package2 version creation failed with unknown error.
147
-
148
- # undefinedStatus
149
-
150
- Package2 version creation returned with status: %s.
@@ -1,35 +0,0 @@
1
- # cliDescription
2
-
3
- retrieve a package version creation request
4
-
5
- # cliLongDescription
6
-
7
- Retrieves a second-generation package version creation request in the Dev Hub org.
8
-
9
- # help
10
-
11
- Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.
12
-
13
- To show all requests in the org, run "sfdx force:package2:version:create:list".
14
-
15
- # examples
16
-
17
- $ sfdx force:package2:version:create:get --package2createrequestid 08c...
18
-
19
- # requestId
20
-
21
- package2 version creation request ID (starts with 08c)
22
-
23
- # requestIdLong
24
-
25
- The ID of the package2 version creation request you want to display.
26
-
27
- # error
28
-
29
- Error
30
-
31
- # truncatedErrors
32
-
33
- ...
34
-
35
- To see all errors, run: sfdx force:data:soql:query -t -q "SELECT Message FROM Package2VersionCreateRequestError WHERE ParentRequest.Id ='%s'"
@@ -1,63 +0,0 @@
1
- # cliDescription
2
-
3
- list package version creation requests
4
-
5
- # cliLongDescription
6
-
7
- Lists all requests to create second-generation package (package2) versions in the Dev Hub org.
8
-
9
- # statusDescription
10
-
11
- filter the list by version creation request status
12
-
13
- # statusLongDescription
14
-
15
- Filters the list based on the status of version creation requests.
16
-
17
- # help
18
-
19
- Shows the details of each request to create a package2 version that's run in the Dev Hub org.
20
-
21
- All filter parameters are applied using the AND logical operator (not OR).
22
-
23
- To get information about a specific request, run "sfdx force:package2:version:create:get" and supply the request ID.
24
-
25
- # examples
26
-
27
- $ sfdx force:package2:version:create:list
28
- $ sfdx force:package2:version:create:list --createdlastdays 3
29
- $ sfdx force:package2:version:create:list --status Error
30
- $ sfdx force:package2:version:create:list -s InProgress
31
- $ sfdx force:package2:version:create:list -c 3 -s Success
32
-
33
- # id
34
-
35
- ID
36
-
37
- # status
38
-
39
- Status
40
-
41
- # package2Id
42
-
43
- Package2 Id
44
-
45
- # package2VersionId
46
-
47
- Package2 Version Id
48
-
49
- # subscriberPackageVersionId
50
-
51
- Subscriber Package2 Version Id
52
-
53
- # branch
54
-
55
- Branch
56
-
57
- # tag
58
-
59
- Tag
60
-
61
- # installUrl
62
-
63
- Installation URL
@@ -1,15 +0,0 @@
1
- # cliDescription
2
-
3
- retrieve a package version in the Dev Hub org
4
-
5
- # cliLongDescription
6
-
7
- Retrieves a package version in the Dev Hub org.
8
-
9
- To update package version values, run "sfdx force:package2:version:update".
10
-
11
- # examples
12
-
13
- $ sfdx force:package2:version:get --package2versionid 05i...
14
-
15
- To update package version values, run "sfdx force:package2:version:update".
@@ -1,99 +0,0 @@
1
- # cliDescription
2
-
3
- list all package versions in the Dev Hub org
4
-
5
- # cliLongDescription
6
-
7
- Lists all package2 versions in the Dev Hub org.
8
-
9
- # conciseDescription
10
-
11
- display limited package2 version details
12
-
13
- # conciseLongDescription
14
-
15
- Displays limited package2 version details.
16
-
17
- # package2IdsDescription
18
-
19
- filter results on specified comma-delimited package2 ids (start with 0Ho)
20
-
21
- # package2IdsLongDescription
22
-
23
- Filters results on the specified comma-delimited package2 IDs (start with 0Ho).
24
-
25
- # releasedDescription
26
-
27
- display released versions only
28
-
29
- # releasedLongDescription
30
-
31
- Displays released versions only (IsReleased=true).
32
-
33
- # orderByDescription
34
-
35
- order by the specified package2 version fields
36
-
37
- # orderByLongDescription
38
-
39
- Orders the list by the specified package2 version fields.
40
-
41
- # verboseDescription
42
-
43
- display extended package2 versions detail
44
-
45
- # verboseLongDescription
46
-
47
- Display extended package2 versions detail.
48
-
49
- # help
50
-
51
- Displays details of each package2 version in the org.
52
-
53
- Use --concise or --verbose to display limited or additional details, respectively.
54
-
55
- All filter parameters are applied using the AND logical operator (not OR).
56
-
57
- # examples
58
-
59
- $ sfdx force:package2:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion
60
- $ sfdx force:package2:version:list --package2ids 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
61
- $ sfdx force:package2:version:list --released
62
- $ sfdx force:package2:version:list --concise --modifiedlastdays 0
63
- $ sfdx force:package2:version:list --concise -c 3 -r
64
-
65
- # name
66
-
67
- Name
68
-
69
- # description
70
-
71
- Description
72
-
73
- # version
74
-
75
- Version
76
-
77
- # id
78
-
79
- Package2 Version Id
80
-
81
- # subscriberPackageVersionId
82
-
83
- Subscriber Package2 Version Id
84
-
85
- # package2Id
86
-
87
- Package2 Id
88
-
89
- # package2Branch
90
-
91
- Branch
92
-
93
- # package2Tag
94
-
95
- Tag
96
-
97
- # installUrl
98
-
99
- Installation URL
@@ -1,90 +0,0 @@
1
- # cliDescription
2
-
3
- update a second-generation package version
4
-
5
- # cliLongDescription
6
-
7
- Updates a second-generation package version in the Dev Hub org.
8
-
9
- # help
10
-
11
- Specify a new value for each option you want to update.
12
-
13
- To display details about a package2 version, run "sfdx force:package2:version:get".
14
-
15
- # examples
16
-
17
- $ sfdx force:package2:version:update --package2versionid 05i... --setasreleased
18
- $ sfdx force:package2:version:update -i 05i... -b master -t 'Release 1.0.7'
19
-
20
- # id
21
-
22
- the package version ID (starts wtih 05i)
23
-
24
- # idLong
25
-
26
- The package version ID (starts with 05i).
27
-
28
- # name
29
-
30
- the package version name
31
-
32
- # nameLong
33
-
34
- The package version name.
35
-
36
- # description
37
-
38
- the package version description
39
-
40
- # descriptionLong
41
-
42
- The second-generation package version description.
43
-
44
- # branch
45
-
46
- the package version branch
47
-
48
- # branchLong
49
-
50
- The second-generation package version branch.
51
-
52
- # tag
53
-
54
- the package version tag
55
-
56
- # tagLong
57
-
58
- The second-generation package version tag.
59
-
60
- # key
61
-
62
- installation key for key-protected package (default: null)
63
-
64
- # longKey
65
-
66
- Installation key for creating the key-protected package. The default is null.
67
-
68
- # setasreleased
69
-
70
- set the package version as released (can’t be undone)
71
-
72
- # setasreleasedLong
73
-
74
- Sets the second-generation package version as released. Second-generation packages can’t be changed to beta after they’ve been released.
75
-
76
- # setasreleasedForce
77
-
78
- no prompt to confirm setting the package version as released
79
-
80
- # setasreleasedForceLong
81
-
82
- No prompt to confirm setting the package version as released.
83
-
84
- # humanSuccess
85
-
86
- Successfully updated the package version. ID: %s.
87
-
88
- # previousReleased
89
-
90
- To release the new package2 version, run "sfdx force:package2:version:update -s <new package2 version ID>".
@@ -1,33 +0,0 @@
1
- # cliDescription
2
-
3
- retrieve the status of a package installation request
4
-
5
- # cliDescriptionLong
6
-
7
- Retrieves the status of a package installation request.
8
-
9
- # examples
10
-
11
- $ sfdx force:package:install:get -i 0Hf...
12
- $ sfdx force:package:install:get -i 0Hf... -u me@example.com
13
-
14
- # requestId
15
-
16
- ID of the package install request you want to check
17
-
18
- # requestIdLong
19
-
20
- The ID of the package install request you want to check.
21
-
22
- # IN_PROGRESS
23
-
24
- PackageInstallRequest is currently InProgress. You can continue to query the status using
25
- sfdx force:package:install:get -i %s -u %s
26
-
27
- # UNKNOWN
28
-
29
- TODO: fix me
30
-
31
- # SUCCESS
32
-
33
- Successfully installed package [%s]