@salesforce/plugin-packaging 2.19.9 → 2.20.0

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 (58) hide show
  1. package/README.md +29 -29
  2. package/lib/commands/package/bundle/create.d.ts +20 -0
  3. package/lib/commands/package/bundle/create.js +56 -0
  4. package/lib/commands/package/bundle/create.js.map +1 -0
  5. package/lib/commands/package/bundle/delete.d.ts +19 -0
  6. package/lib/commands/package/bundle/delete.js +65 -0
  7. package/lib/commands/package/bundle/delete.js.map +1 -0
  8. package/lib/commands/package/bundle/install/list.d.ts +20 -0
  9. package/lib/commands/package/bundle/install/list.js +81 -0
  10. package/lib/commands/package/bundle/install/list.js.map +1 -0
  11. package/lib/commands/package/bundle/install/report.d.ts +19 -0
  12. package/lib/commands/package/bundle/install/report.js +93 -0
  13. package/lib/commands/package/bundle/install/report.js.map +1 -0
  14. package/lib/commands/package/bundle/install.d.ts +21 -0
  15. package/lib/commands/package/bundle/install.js +109 -0
  16. package/lib/commands/package/bundle/install.js.map +1 -0
  17. package/lib/commands/package/bundle/list.d.ts +18 -0
  18. package/lib/commands/package/bundle/list.js +64 -0
  19. package/lib/commands/package/bundle/list.js.map +1 -0
  20. package/lib/commands/package/bundle/version/create/list.d.ts +22 -0
  21. package/lib/commands/package/bundle/version/create/list.js +130 -0
  22. package/lib/commands/package/bundle/version/create/list.js.map +1 -0
  23. package/lib/commands/package/bundle/version/create/report.d.ts +18 -0
  24. package/lib/commands/package/bundle/version/create/report.js +82 -0
  25. package/lib/commands/package/bundle/version/create/report.js.map +1 -0
  26. package/lib/commands/package/bundle/version/create.d.ts +23 -0
  27. package/lib/commands/package/bundle/version/create.js +125 -0
  28. package/lib/commands/package/bundle/version/create.js.map +1 -0
  29. package/lib/commands/package/bundle/version/list.d.ts +18 -0
  30. package/lib/commands/package/bundle/version/list.js +75 -0
  31. package/lib/commands/package/bundle/version/list.js.map +1 -0
  32. package/lib/commands/package/bundle/version/report.d.ts +22 -0
  33. package/lib/commands/package/bundle/version/report.js +165 -0
  34. package/lib/commands/package/bundle/version/report.js.map +1 -0
  35. package/messages/bundle_create.md +42 -0
  36. package/messages/bundle_install.md +58 -0
  37. package/messages/bundle_install_list.md +69 -0
  38. package/messages/bundle_install_report.md +53 -0
  39. package/messages/bundle_list.md +45 -0
  40. package/messages/bundle_version_create.md +74 -0
  41. package/messages/bundle_version_create_list.md +73 -0
  42. package/messages/bundle_version_create_report.md +49 -0
  43. package/messages/bundle_version_list.md +45 -0
  44. package/messages/bundle_version_report.md +17 -0
  45. package/messages/package_bundle_delete.md +45 -0
  46. package/messages/package_delete.md +5 -5
  47. package/oclif.manifest.json +2927 -1376
  48. package/package.json +7 -6
  49. package/schemas/package-bundle-delete.json +72 -0
  50. package/schemas/package-bundle-install-list.json +58 -0
  51. package/schemas/package-bundle-install-report.json +58 -0
  52. package/schemas/package-bundle-install.json +52 -0
  53. package/schemas/package-bundle-list.json +58 -0
  54. package/schemas/package-bundle-version-create-list.json +73 -0
  55. package/schemas/package-bundle-version-create-report.json +73 -0
  56. package/schemas/package-bundle-version-create.json +67 -0
  57. package/schemas/package-bundle-version-list.json +113 -0
  58. package/schemas/package-bundle-version-report.json +446 -0
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-packaging",
3
3
  "description": "SF plugin that support Salesforce Packaging Platform",
4
- "version": "2.19.9",
4
+ "version": "2.20.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4",
9
- "@salesforce/core": "^8.22.0",
10
- "@salesforce/kit": "^3.2.3",
9
+ "@salesforce/core": "^8.23.0",
10
+ "@salesforce/kit": "^3.2.4",
11
11
  "@salesforce/packaging": "^4.13.1",
12
12
  "@salesforce/sf-plugins-core": "^12.2.4",
13
13
  "chalk": "^5.6.0"
@@ -18,7 +18,8 @@
18
18
  "@salesforce/dev-scripts": "^11.0.4",
19
19
  "@salesforce/plugin-command-reference": "^3.1.67",
20
20
  "eslint-plugin-sf-plugin": "^1.20.31",
21
- "oclif": "^4.22.14",
21
+ "minimatch": "^10.0.3",
22
+ "oclif": "^4.22.16",
22
23
  "ts-node": "^10.9.2",
23
24
  "typescript": "^5.9.2"
24
25
  },
@@ -247,7 +248,7 @@
247
248
  "exports": "./lib/index.js",
248
249
  "type": "module",
249
250
  "sfdx": {
250
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.19.9.crt",
251
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.19.9.sig"
251
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.20.0.crt",
252
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.20.0.sig"
252
253
  }
253
254
  }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/BundleSaveResult",
4
+ "definitions": {
5
+ "BundleSaveResult": {
6
+ "$ref": "#/definitions/SaveResult"
7
+ },
8
+ "SaveResult": {
9
+ "anyOf": [
10
+ {
11
+ "type": "object",
12
+ "properties": {
13
+ "success": {
14
+ "type": "boolean",
15
+ "const": true
16
+ },
17
+ "id": {
18
+ "type": "string"
19
+ },
20
+ "errors": {
21
+ "type": "array",
22
+ "items": {
23
+ "not": {}
24
+ }
25
+ }
26
+ },
27
+ "required": ["success", "id", "errors"],
28
+ "additionalProperties": false
29
+ },
30
+ {
31
+ "type": "object",
32
+ "properties": {
33
+ "success": {
34
+ "type": "boolean",
35
+ "const": false
36
+ },
37
+ "id": {
38
+ "not": {}
39
+ },
40
+ "errors": {
41
+ "type": "array",
42
+ "items": {
43
+ "$ref": "#/definitions/SaveError"
44
+ }
45
+ }
46
+ },
47
+ "required": ["success", "errors"],
48
+ "additionalProperties": false
49
+ }
50
+ ]
51
+ },
52
+ "SaveError": {
53
+ "type": "object",
54
+ "properties": {
55
+ "errorCode": {
56
+ "type": "string"
57
+ },
58
+ "message": {
59
+ "type": "string"
60
+ },
61
+ "fields": {
62
+ "type": "array",
63
+ "items": {
64
+ "type": "string"
65
+ }
66
+ }
67
+ },
68
+ "required": ["errorCode", "message"],
69
+ "additionalProperties": false
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/PackageBundleInstallRequestResults",
4
+ "definitions": {
5
+ "PackageBundleInstallRequestResults": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionInstallReqResult"
9
+ }
10
+ },
11
+ "BundleSObjects.PkgBundleVersionInstallReqResult": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "Id": {
16
+ "type": "string"
17
+ },
18
+ "InstallStatus": {
19
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionInstallReqStatus"
20
+ },
21
+ "ValidationError": {
22
+ "type": "string"
23
+ },
24
+ "CreatedDate": {
25
+ "type": "string"
26
+ },
27
+ "CreatedById": {
28
+ "type": "string"
29
+ },
30
+ "Error": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "PackageBundleVersionID": {
37
+ "type": "string"
38
+ },
39
+ "DevelopmentOrganization": {
40
+ "type": "string"
41
+ }
42
+ },
43
+ "required": [
44
+ "CreatedById",
45
+ "CreatedDate",
46
+ "DevelopmentOrganization",
47
+ "Id",
48
+ "InstallStatus",
49
+ "PackageBundleVersionID",
50
+ "ValidationError"
51
+ ]
52
+ },
53
+ "BundleSObjects.PkgBundleVersionInstallReqStatus": {
54
+ "type": "string",
55
+ "enum": ["Queued", "Success", "Error"]
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ReportCommandResult",
4
+ "definitions": {
5
+ "ReportCommandResult": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionInstallReqResult"
9
+ }
10
+ },
11
+ "BundleSObjects.PkgBundleVersionInstallReqResult": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "Id": {
16
+ "type": "string"
17
+ },
18
+ "InstallStatus": {
19
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionInstallReqStatus"
20
+ },
21
+ "ValidationError": {
22
+ "type": "string"
23
+ },
24
+ "CreatedDate": {
25
+ "type": "string"
26
+ },
27
+ "CreatedById": {
28
+ "type": "string"
29
+ },
30
+ "Error": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "PackageBundleVersionID": {
37
+ "type": "string"
38
+ },
39
+ "DevelopmentOrganization": {
40
+ "type": "string"
41
+ }
42
+ },
43
+ "required": [
44
+ "CreatedById",
45
+ "CreatedDate",
46
+ "DevelopmentOrganization",
47
+ "Id",
48
+ "InstallStatus",
49
+ "PackageBundleVersionID",
50
+ "ValidationError"
51
+ ]
52
+ },
53
+ "BundleSObjects.PkgBundleVersionInstallReqStatus": {
54
+ "type": "string",
55
+ "enum": ["Queued", "Success", "Error"]
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionInstallReqResult",
4
+ "definitions": {
5
+ "BundleSObjects.PkgBundleVersionInstallReqResult": {
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "Id": {
10
+ "type": "string"
11
+ },
12
+ "InstallStatus": {
13
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionInstallReqStatus"
14
+ },
15
+ "ValidationError": {
16
+ "type": "string"
17
+ },
18
+ "CreatedDate": {
19
+ "type": "string"
20
+ },
21
+ "CreatedById": {
22
+ "type": "string"
23
+ },
24
+ "Error": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ "PackageBundleVersionID": {
31
+ "type": "string"
32
+ },
33
+ "DevelopmentOrganization": {
34
+ "type": "string"
35
+ }
36
+ },
37
+ "required": [
38
+ "CreatedById",
39
+ "CreatedDate",
40
+ "DevelopmentOrganization",
41
+ "Id",
42
+ "InstallStatus",
43
+ "PackageBundleVersionID",
44
+ "ValidationError"
45
+ ]
46
+ },
47
+ "BundleSObjects.PkgBundleVersionInstallReqStatus": {
48
+ "type": "string",
49
+ "enum": ["Queued", "Success", "Error"]
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/BundleListCommandResults",
4
+ "definitions": {
5
+ "BundleListCommandResults": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/BundleListCommandResult"
9
+ }
10
+ },
11
+ "BundleListCommandResult": {
12
+ "$ref": "#/definitions/BundleSObjects.Bundle"
13
+ },
14
+ "BundleSObjects.Bundle": {
15
+ "type": "object",
16
+ "properties": {
17
+ "BundleName": {
18
+ "type": "string"
19
+ },
20
+ "Description": {
21
+ "type": "string"
22
+ },
23
+ "Id": {
24
+ "type": "string"
25
+ },
26
+ "IsDeleted": {
27
+ "type": "boolean"
28
+ },
29
+ "CreatedDate": {
30
+ "type": "string"
31
+ },
32
+ "CreatedById": {
33
+ "type": "string"
34
+ },
35
+ "LastModifiedDate": {
36
+ "type": "string"
37
+ },
38
+ "LastModifiedById": {
39
+ "type": "string"
40
+ },
41
+ "SystemModstamp": {
42
+ "type": "string"
43
+ }
44
+ },
45
+ "required": [
46
+ "BundleName",
47
+ "Id",
48
+ "IsDeleted",
49
+ "CreatedDate",
50
+ "CreatedById",
51
+ "LastModifiedDate",
52
+ "LastModifiedById",
53
+ "SystemModstamp"
54
+ ],
55
+ "additionalProperties": false
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/PackageBundleVersionCreateRequestResults",
4
+ "definitions": {
5
+ "PackageBundleVersionCreateRequestResults": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/BundleSObjects.PackageBundleVersionCreateRequestResult"
9
+ }
10
+ },
11
+ "BundleSObjects.PackageBundleVersionCreateRequestResult": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "Id": {
16
+ "type": "string"
17
+ },
18
+ "PackageBundleVersionId": {
19
+ "type": "string"
20
+ },
21
+ "RequestStatus": {
22
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionCreateReqStatus"
23
+ },
24
+ "CreatedDate": {
25
+ "type": "string"
26
+ },
27
+ "CreatedById": {
28
+ "type": "string"
29
+ },
30
+ "Error": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "PackageBundleId": {
37
+ "type": "string"
38
+ },
39
+ "VersionName": {
40
+ "type": "string"
41
+ },
42
+ "MajorVersion": {
43
+ "type": "string"
44
+ },
45
+ "MinorVersion": {
46
+ "type": "string"
47
+ },
48
+ "BundleVersionComponents": {
49
+ "type": "string"
50
+ },
51
+ "Ancestor": {
52
+ "type": ["string", "null"]
53
+ }
54
+ },
55
+ "required": [
56
+ "BundleVersionComponents",
57
+ "CreatedById",
58
+ "CreatedDate",
59
+ "Id",
60
+ "MajorVersion",
61
+ "MinorVersion",
62
+ "PackageBundleId",
63
+ "PackageBundleVersionId",
64
+ "RequestStatus",
65
+ "VersionName"
66
+ ]
67
+ },
68
+ "BundleSObjects.PkgBundleVersionCreateReqStatus": {
69
+ "type": "string",
70
+ "enum": ["Queued", "Success", "Error"]
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/ReportCommandResult",
4
+ "definitions": {
5
+ "ReportCommandResult": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/BundleSObjects.PackageBundleVersionCreateRequestResult"
9
+ }
10
+ },
11
+ "BundleSObjects.PackageBundleVersionCreateRequestResult": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "Id": {
16
+ "type": "string"
17
+ },
18
+ "PackageBundleVersionId": {
19
+ "type": "string"
20
+ },
21
+ "RequestStatus": {
22
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionCreateReqStatus"
23
+ },
24
+ "CreatedDate": {
25
+ "type": "string"
26
+ },
27
+ "CreatedById": {
28
+ "type": "string"
29
+ },
30
+ "Error": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "string"
34
+ }
35
+ },
36
+ "PackageBundleId": {
37
+ "type": "string"
38
+ },
39
+ "VersionName": {
40
+ "type": "string"
41
+ },
42
+ "MajorVersion": {
43
+ "type": "string"
44
+ },
45
+ "MinorVersion": {
46
+ "type": "string"
47
+ },
48
+ "BundleVersionComponents": {
49
+ "type": "string"
50
+ },
51
+ "Ancestor": {
52
+ "type": ["string", "null"]
53
+ }
54
+ },
55
+ "required": [
56
+ "BundleVersionComponents",
57
+ "CreatedById",
58
+ "CreatedDate",
59
+ "Id",
60
+ "MajorVersion",
61
+ "MinorVersion",
62
+ "PackageBundleId",
63
+ "PackageBundleVersionId",
64
+ "RequestStatus",
65
+ "VersionName"
66
+ ]
67
+ },
68
+ "BundleSObjects.PkgBundleVersionCreateReqStatus": {
69
+ "type": "string",
70
+ "enum": ["Queued", "Success", "Error"]
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/BundleSObjects.PackageBundleVersionCreateRequestResult",
4
+ "definitions": {
5
+ "BundleSObjects.PackageBundleVersionCreateRequestResult": {
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "Id": {
10
+ "type": "string"
11
+ },
12
+ "PackageBundleVersionId": {
13
+ "type": "string"
14
+ },
15
+ "RequestStatus": {
16
+ "$ref": "#/definitions/BundleSObjects.PkgBundleVersionCreateReqStatus"
17
+ },
18
+ "CreatedDate": {
19
+ "type": "string"
20
+ },
21
+ "CreatedById": {
22
+ "type": "string"
23
+ },
24
+ "Error": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ "PackageBundleId": {
31
+ "type": "string"
32
+ },
33
+ "VersionName": {
34
+ "type": "string"
35
+ },
36
+ "MajorVersion": {
37
+ "type": "string"
38
+ },
39
+ "MinorVersion": {
40
+ "type": "string"
41
+ },
42
+ "BundleVersionComponents": {
43
+ "type": "string"
44
+ },
45
+ "Ancestor": {
46
+ "type": ["string", "null"]
47
+ }
48
+ },
49
+ "required": [
50
+ "BundleVersionComponents",
51
+ "CreatedById",
52
+ "CreatedDate",
53
+ "Id",
54
+ "MajorVersion",
55
+ "MinorVersion",
56
+ "PackageBundleId",
57
+ "PackageBundleVersionId",
58
+ "RequestStatus",
59
+ "VersionName"
60
+ ]
61
+ },
62
+ "BundleSObjects.PkgBundleVersionCreateReqStatus": {
63
+ "type": "string",
64
+ "enum": ["Queued", "Success", "Error"]
65
+ }
66
+ }
67
+ }
@@ -0,0 +1,113 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/PackageBundleVersionResults",
4
+ "definitions": {
5
+ "PackageBundleVersionResults": {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/BundleSObjects.BundleVersion"
9
+ }
10
+ },
11
+ "BundleSObjects.BundleVersion": {
12
+ "type": "object",
13
+ "properties": {
14
+ "Id": {
15
+ "type": "string"
16
+ },
17
+ "PackageBundle": {
18
+ "$ref": "#/definitions/BundleSObjects.Bundle"
19
+ },
20
+ "VersionName": {
21
+ "type": "string"
22
+ },
23
+ "MajorVersion": {
24
+ "type": "string"
25
+ },
26
+ "MinorVersion": {
27
+ "type": "string"
28
+ },
29
+ "Ancestor": {
30
+ "anyOf": [
31
+ {
32
+ "$ref": "#/definitions/BundleSObjects.BundleVersion"
33
+ },
34
+ {
35
+ "type": "null"
36
+ }
37
+ ]
38
+ },
39
+ "IsReleased": {
40
+ "type": "boolean"
41
+ },
42
+ "CreatedDate": {
43
+ "type": "string"
44
+ },
45
+ "CreatedById": {
46
+ "type": "string"
47
+ },
48
+ "LastModifiedDate": {
49
+ "type": "string"
50
+ },
51
+ "LastModifiedById": {
52
+ "type": "string"
53
+ }
54
+ },
55
+ "required": [
56
+ "Id",
57
+ "PackageBundle",
58
+ "VersionName",
59
+ "MajorVersion",
60
+ "MinorVersion",
61
+ "IsReleased",
62
+ "CreatedDate",
63
+ "CreatedById",
64
+ "LastModifiedDate",
65
+ "LastModifiedById"
66
+ ],
67
+ "additionalProperties": false
68
+ },
69
+ "BundleSObjects.Bundle": {
70
+ "type": "object",
71
+ "properties": {
72
+ "BundleName": {
73
+ "type": "string"
74
+ },
75
+ "Description": {
76
+ "type": "string"
77
+ },
78
+ "Id": {
79
+ "type": "string"
80
+ },
81
+ "IsDeleted": {
82
+ "type": "boolean"
83
+ },
84
+ "CreatedDate": {
85
+ "type": "string"
86
+ },
87
+ "CreatedById": {
88
+ "type": "string"
89
+ },
90
+ "LastModifiedDate": {
91
+ "type": "string"
92
+ },
93
+ "LastModifiedById": {
94
+ "type": "string"
95
+ },
96
+ "SystemModstamp": {
97
+ "type": "string"
98
+ }
99
+ },
100
+ "required": [
101
+ "BundleName",
102
+ "Id",
103
+ "IsDeleted",
104
+ "CreatedDate",
105
+ "CreatedById",
106
+ "LastModifiedDate",
107
+ "LastModifiedById",
108
+ "SystemModstamp"
109
+ ],
110
+ "additionalProperties": false
111
+ }
112
+ }
113
+ }