@salesforce/plugin-deploy-retrieve 1.0.5 → 1.1.1

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 (47) hide show
  1. package/CHANGELOG.md +47 -47
  2. package/LICENSE.txt +1 -1
  3. package/README.md +214 -2
  4. package/lib/commands/deploy/metadata.d.ts +36 -0
  5. package/lib/commands/deploy/metadata.js +123 -0
  6. package/lib/commands/deploy/metadata.js.map +1 -0
  7. package/lib/commands/deploy.js +11 -10
  8. package/lib/commands/deploy.js.map +1 -1
  9. package/lib/commands/retrieve/metadata.d.ts +29 -0
  10. package/lib/commands/retrieve/metadata.js +134 -0
  11. package/lib/commands/retrieve/metadata.js.map +1 -0
  12. package/lib/hooks/deploy.d.ts +4 -0
  13. package/lib/hooks/deploy.js +17 -0
  14. package/lib/hooks/deploy.js.map +1 -0
  15. package/lib/utils/componentSetBuilder.d.ts +28 -0
  16. package/lib/utils/componentSetBuilder.js +124 -0
  17. package/lib/utils/componentSetBuilder.js.map +1 -0
  18. package/lib/utils/config.d.ts +1 -0
  19. package/lib/utils/config.js +18 -0
  20. package/lib/utils/config.js.map +1 -0
  21. package/lib/utils/metadataDeployer.d.ts +30 -0
  22. package/lib/utils/metadataDeployer.js +178 -0
  23. package/lib/utils/metadataDeployer.js.map +1 -0
  24. package/lib/utils/orgs.d.ts +4 -0
  25. package/lib/utils/orgs.js +39 -0
  26. package/lib/utils/orgs.js.map +1 -0
  27. package/lib/utils/output.d.ts +18 -0
  28. package/lib/utils/output.js +152 -0
  29. package/lib/utils/output.js.map +1 -0
  30. package/lib/utils/progressBar.d.ts +8 -0
  31. package/lib/utils/progressBar.js +55 -0
  32. package/lib/utils/progressBar.js.map +1 -0
  33. package/lib/utils/requiredFlagValidator.d.ts +3 -0
  34. package/lib/utils/requiredFlagValidator.js +19 -0
  35. package/lib/utils/requiredFlagValidator.js.map +1 -0
  36. package/lib/utils/testLevel.d.ts +6 -0
  37. package/lib/utils/testLevel.js +17 -0
  38. package/lib/utils/testLevel.js.map +1 -0
  39. package/messages/deploy.metadata.md +114 -0
  40. package/messages/metadata.transfer.md +27 -0
  41. package/messages/required.flag.md +3 -0
  42. package/messages/retrieve.metadata.md +100 -0
  43. package/oclif.manifest.json +1 -1
  44. package/package.json +26 -21
  45. package/schemas/deploy-metadata.json +98 -0
  46. package/schemas/hooks/sf-deploy.json +106 -0
  47. package/schemas/retrieve-metadata.json +69 -0
package/CHANGELOG.md CHANGED
@@ -2,168 +2,169 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### [1.0.5](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.4...v1.0.5) (2021-10-14)
5
+ ### [1.1.1](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.1.0...v1.1.1) (2022-03-01)
6
+
7
+ ### Bug Fixes
8
+
9
+ - use deprecate fs from sfdx-core ([ba2cb57](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/ba2cb57a3748e52c090fcbd8fb19047cbc481159))
10
+ - use deprecate fs from sfdx-core ([b45ebbe](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/b45ebbe7eccbe5b4f0e181a8516a84df4bf1e975))
11
+
12
+ ## [1.1.0](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.6...v1.1.0) (2022-02-24)
6
13
 
14
+ ### Features
15
+
16
+ - merge deploy-retrieve-metadata commands ([#212](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/212)) ([74a9eb9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/74a9eb90eac99b83a27330ad80d20afa40449776))
7
17
 
8
18
  ### Bug Fixes
9
19
 
10
- * bump command snapshot ([#153](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/153)) ([d4aa1fc](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/d4aa1fc7859f14626fcab137e6c762ce5842b5dd))
20
+ - regenerate yarn.lock ([777245c](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/777245ccec5973f07b7fac6af652ad184ddb2a0a))
21
+
22
+ ### [1.0.6](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.5...v1.0.6) (2022-01-06)
23
+
24
+ ### Bug Fixes
25
+
26
+ - add main to package.json ([#192](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/192)) ([6f0bc54](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/6f0bc54cb5003b29dce9980c063375a4d31a3eb6))
27
+
28
+ ### [1.0.5](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.4...v1.0.5) (2021-10-14)
29
+
30
+ ### Bug Fixes
31
+
32
+ - bump command snapshot ([#153](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/153)) ([d4aa1fc](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/d4aa1fc7859f14626fcab137e6c762ce5842b5dd))
11
33
 
12
34
  ### [1.0.4](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.3...v1.0.4) (2021-10-12)
13
35
 
14
36
  ### [1.0.3](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.2...v1.0.3) (2021-10-05)
15
37
 
16
-
17
38
  ### Bug Fixes
18
39
 
19
- * filter deployers when executing non-interactive deploy ([#152](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/152)) ([cfc9f7b](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/cfc9f7b77015cb98cf1e21f122fb062624271bba))
40
+ - filter deployers when executing non-interactive deploy ([#152](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/152)) ([cfc9f7b](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/cfc9f7b77015cb98cf1e21f122fb062624271bba))
20
41
 
21
42
  ### [1.0.2](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.1...v1.0.2) (2021-09-30)
22
43
 
23
-
24
44
  ### Bug Fixes
25
45
 
26
- * bump plugins to 1.0.2 [skip-validate-pr] ([#145](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/145)) ([002dbc4](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/002dbc438d70413d2a920d62f98f9c49732c347d))
46
+ - bump plugins to 1.0.2 [skip-validate-pr] ([#145](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/145)) ([002dbc4](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/002dbc438d70413d2a920d62f98f9c49732c347d))
27
47
 
28
48
  ### [1.0.1](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.0...v1.0.1) (2021-09-30)
29
49
 
30
-
31
50
  ### Bug Fixes
32
51
 
33
- * bump functions to 1.0.0 ([#144](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/144)) ([0658dac](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/0658dac9b3c7a48c56af15d49a50a6e9b1edd56e))
52
+ - bump functions to 1.0.0 ([#144](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/144)) ([0658dac](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/0658dac9b3c7a48c56af15d49a50a6e9b1edd56e))
34
53
 
35
54
  ## [1.0.0](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.23...v1.0.0) (2021-09-30)
36
55
 
37
-
38
56
  ### Bug Fixes
39
57
 
40
- * bump version to v1 [skip-validate-pr] ([#143](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/143)) ([dd2999c](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/dd2999c127c53d3ccf3091f675ae83991d952f1f))
58
+ - bump version to v1 [skip-validate-pr] ([#143](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/143)) ([dd2999c](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/dd2999c127c53d3ccf3091f675ae83991d952f1f))
41
59
 
42
60
  ### [0.0.23](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.22...v0.0.23) (2021-09-16)
43
61
 
44
-
45
62
  ### Bug Fixes
46
63
 
47
- * bump to latest sf-plugins-core ([#138](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/138)) ([df49943](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/df4994302baf28518317ec0763115423fe74145b))
64
+ - bump to latest sf-plugins-core ([#138](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/138)) ([df49943](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/df4994302baf28518317ec0763115423fe74145b))
48
65
 
49
66
  ### [0.0.22](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.21...v0.0.22) (2021-09-15)
50
67
 
51
-
52
68
  ### Bug Fixes
53
69
 
54
- * bump sf-plugins-core and consume sfcommand ([#137](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/137)) ([83ff118](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/83ff1181cf7ae87bc109815137c41258af2d776d))
70
+ - bump sf-plugins-core and consume sfcommand ([#137](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/137)) ([83ff118](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/83ff1181cf7ae87bc109815137c41258af2d776d))
55
71
 
56
72
  ### [0.0.21](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.20...v0.0.21) (2021-09-13)
57
73
 
58
-
59
74
  ### Bug Fixes
60
75
 
61
- * use sfcommand as base class ([#134](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/134)) ([6822bda](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/6822bda65df3ee4a212207f2d213336dac442578))
76
+ - use sfcommand as base class ([#134](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/134)) ([6822bda](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/6822bda65df3ee4a212207f2d213336dac442578))
62
77
 
63
78
  ### [0.0.20](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.19...v0.0.20) (2021-09-08)
64
79
 
65
-
66
80
  ### Features
67
81
 
68
- * add deploy-options.json to .gitignore when functions exist ([#131](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/131)) ([5ae94f9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/5ae94f98c03445f09cfe86a52b29d3b7344e937b))
82
+ - add deploy-options.json to .gitignore when functions exist ([#131](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/131)) ([5ae94f9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/5ae94f98c03445f09cfe86a52b29d3b7344e937b))
69
83
 
70
84
  ### [0.0.19](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.18...v0.0.19) (2021-09-02)
71
85
 
72
-
73
86
  ### Features
74
87
 
75
- * use sf-plugins-core ([#116](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/116)) ([bf81d08](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/bf81d08dcb5e16e665ffc21e05399ff65b849a42))
88
+ - use sf-plugins-core ([#116](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/116)) ([bf81d08](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/bf81d08dcb5e16e665ffc21e05399ff65b849a42))
76
89
 
77
90
  ### [0.0.18](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.17...v0.0.18) (2021-08-18)
78
91
 
79
-
80
92
  ### Bug Fixes
81
93
 
82
- * bump oclif/core and @salesforce/core ([#115](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/115)) ([bf62690](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/bf6269064ba90cf316eb99686ed0019bb84e580b))
94
+ - bump oclif/core and @salesforce/core ([#115](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/115)) ([bf62690](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/bf6269064ba90cf316eb99686ed0019bb84e580b))
83
95
 
84
96
  ### [0.0.17](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.16...v0.0.17) (2021-08-17)
85
97
 
86
-
87
98
  ### Bug Fixes
88
99
 
89
- * add a bit more info to --help about list of connected orgs ([#114](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/114)) ([792abd3](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/792abd3b1ed0ca5116ef488ee1fa83e0f9cee2d9))
100
+ - add a bit more info to --help about list of connected orgs ([#114](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/114)) ([792abd3](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/792abd3b1ed0ca5116ef488ee1fa83e0f9cee2d9))
90
101
 
91
102
  ### [0.0.16](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.15...v0.0.16) (2021-08-12)
92
103
 
93
-
94
104
  ### Bug Fixes
95
105
 
96
- * bump @salesforce/core to 3.4.1 ([#110](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/110)) ([3e710c4](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/3e710c41ecee82aaec7ff213d53ecfc6ce4c8b3b))
106
+ - bump @salesforce/core to 3.4.1 ([#110](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/110)) ([3e710c4](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/3e710c41ecee82aaec7ff213d53ecfc6ce4c8b3b))
97
107
 
98
108
  ### [0.0.15](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.14...v0.0.15) (2021-08-03)
99
109
 
100
-
101
110
  ### Bug Fixes
102
111
 
103
- * update topic descriptions in pacakge.json ([#109](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/109)) ([f6c699c](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/f6c699c39e8342d7c7a5d01cc5403241bc010bdb))
112
+ - update topic descriptions in pacakge.json ([#109](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/109)) ([f6c699c](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/f6c699c39e8342d7c7a5d01cc5403241bc010bdb))
104
113
 
105
114
  ### [0.0.14](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.13...v0.0.14) (2021-07-30)
106
115
 
107
-
108
116
  ### Features
109
117
 
110
- * **hooks:** setup for linking functions plugin hooks ([#95](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/95)) ([e16e7e9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/e16e7e90f6cfe9d28cf3a1b5dd2126965eb2e680))
118
+ - **hooks:** setup for linking functions plugin hooks ([#95](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/95)) ([e16e7e9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/e16e7e90f6cfe9d28cf3a1b5dd2126965eb2e680))
111
119
 
112
120
  ### [0.0.13](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.12...v0.0.13) (2021-07-28)
113
121
 
114
-
115
122
  ### Bug Fixes
116
123
 
117
- * add name of file that stores responses ([#94](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/94)) ([020de23](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/020de230486d49381d77b89dd4a055c17e798236))
124
+ - add name of file that stores responses ([#94](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/94)) ([020de23](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/020de230486d49381d77b89dd4a055c17e798236))
118
125
 
119
126
  ### [0.0.12](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.11...v0.0.12) (2021-07-28)
120
127
 
121
-
122
128
  ### Bug Fixes
123
129
 
124
- * pin to @salesforce/core@3.3.5 ([2ef20a8](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/2ef20a8af58f6ed06d3f3022ad980ea83da16f14))
130
+ - pin to @salesforce/core@3.3.5 ([2ef20a8](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/2ef20a8af58f6ed06d3f3022ad980ea83da16f14))
125
131
 
126
132
  ### [0.0.11](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.10...v0.0.11) (2021-07-27)
127
133
 
128
134
  ### [0.0.10](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.9...v0.0.10) (2021-07-22)
129
135
 
130
-
131
136
  ### Bug Fixes
132
137
 
133
- * remove reference to project topic ([995e643](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/995e643bc81fa7cbc05dcacdffac7ec04d1b6234))
138
+ - remove reference to project topic ([995e643](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/995e643bc81fa7cbc05dcacdffac7ec04d1b6234))
134
139
 
135
140
  ### [0.0.9](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.8...v0.0.9) (2021-07-19)
136
141
 
137
-
138
142
  ### Bug Fixes
139
143
 
140
- * minor updates to the --help ([#85](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/85)) ([a7cf8bd](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/a7cf8bd77b9bc35f72c20b11010ae3855203f9b2))
144
+ - minor updates to the --help ([#85](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/85)) ([a7cf8bd](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/a7cf8bd77b9bc35f72c20b11010ae3855203f9b2))
141
145
 
142
146
  ### [0.0.8](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.7...v0.0.8) (2021-07-15)
143
147
 
144
-
145
148
  ### Bug Fixes
146
149
 
147
- * update deps ([ebc35d9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/ebc35d9bbec5386ab51f4bba7b46330da7cdc486))
150
+ - update deps ([ebc35d9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/ebc35d9bbec5386ab51f4bba7b46330da7cdc486))
148
151
 
149
152
  ### [0.0.7](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.6...v0.0.7) (2021-07-15)
150
153
 
151
154
  ### [0.0.6](https://github.com/salesforcecli/plugin-project/compare/v0.0.5...v0.0.6) (2021-07-11)
152
155
 
153
-
154
156
  ### Bug Fixes
155
157
 
156
- * bump oclif ([9d78c50](https://github.com/salesforcecli/plugin-project/commit/9d78c50afb3dd7ec70e7f591b33a034baad447b9))
157
- * bump oclif/core ([6507231](https://github.com/salesforcecli/plugin-project/commit/6507231e9b29ee172a707e6632b71b4539bd730d))
158
+ - bump oclif ([9d78c50](https://github.com/salesforcecli/plugin-project/commit/9d78c50afb3dd7ec70e7f591b33a034baad447b9))
159
+ - bump oclif/core ([6507231](https://github.com/salesforcecli/plugin-project/commit/6507231e9b29ee172a707e6632b71b4539bd730d))
158
160
 
159
161
  ### [0.0.5](https://github.com/salesforcecli/plugin-project/compare/v0.0.4...v0.0.5) (2021-07-06)
160
162
 
161
163
  ### [0.0.4](https://github.com/salesforcecli/plugin-project/compare/v0.0.3...v0.0.4) (2021-06-30)
162
164
 
163
-
164
165
  ### Features
165
166
 
166
- * run deploy hooks ([#54](https://github.com/salesforcecli/plugin-project/issues/54)) ([4b09997](https://github.com/salesforcecli/plugin-project/commit/4b0999759266ff3a86fd39a3a9ae3a71e216045a))
167
+ - run deploy hooks ([#54](https://github.com/salesforcecli/plugin-project/issues/54)) ([4b09997](https://github.com/salesforcecli/plugin-project/commit/4b0999759266ff3a86fd39a3a9ae3a71e216045a))
167
168
 
168
169
  ### [0.0.3](https://github.com/salesforcecli/plugin-project/compare/v0.0.2...v0.0.3) (2021-06-08)
169
170
 
@@ -171,7 +172,6 @@ All notable changes to this project will be documented in this file. See [standa
171
172
 
172
173
  ### 0.0.1 (2021-06-07)
173
174
 
174
-
175
175
  ### Bug Fixes
176
176
 
177
- * publish schemas ([87622d8](https://github.com/salesforcecli/plugin-project/commit/87622d835d45fccb877759805642be0bdb201e31))
177
+ - publish schemas ([87622d8](https://github.com/salesforcecli/plugin-project/commit/87622d835d45fccb877759805642be0bdb201e31))
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018, Salesforce.com, Inc.
1
+ Copyright (c) 2022, Salesforce.com, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
package/README.md CHANGED
@@ -61,7 +61,10 @@ sf plugins
61
61
  ## Commands
62
62
 
63
63
  <!-- commands -->
64
- * [`sf deploy`](#sf-deploy)
64
+
65
+ - [`sf deploy`](#sf-deploy)
66
+ - [`sf deploy metadata`](#sf-deploy-metadata)
67
+ - [`sf retrieve metadata`](#sf-retrieve-metadata)
65
68
 
66
69
  ## `sf deploy`
67
70
 
@@ -105,5 +108,214 @@ EXAMPLES
105
108
  $ sf deploy --interactive
106
109
  ```
107
110
 
108
- _See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.0.4/src/commands/deploy.ts)_
111
+ _See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.1.0/src/commands/deploy.ts)_
112
+
113
+ ## `sf deploy metadata`
114
+
115
+ Deploy metadata in source format to an org from your local project.
116
+
117
+ ```
118
+ USAGE
119
+ $ sf deploy metadata [--json] [-m <value> | -x <value> | -d <value>] [-o <value>] [-l
120
+ NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-w <value>]
121
+
122
+ FLAGS
123
+ -d, --source-dir=<value>... Path to the local source files to deploy.
124
+ -l, --test-level=<option> [default: NoTestRun] Deployment Apex testing level.
125
+ <options: NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg>
126
+ -m, --metadata=<value>... Metadata component names to deploy.
127
+ -o, --target-org=<value> Login username or alias for the target org.
128
+ -w, --wait=<value> [default: 33] Number of minutes to wait for command to complete and display results.
129
+ -x, --manifest=<value> Full file path for manifest (package.xml) of components to deploy.
130
+
131
+ GLOBAL FLAGS
132
+ --json Format output as json.
133
+
134
+ DESCRIPTION
135
+ Deploy metadata in source format to an org from your local project.
136
+
137
+ You must run this command from within a project.
138
+
139
+ This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org.
140
+ This command doesn’t attempt to merge your source with the versions in your org.
141
+
142
+ To run the command asynchronously, set --wait to 0, which immediately returns the job ID. This way, you can continue
143
+ to use the CLI.
144
+
145
+ To deploy multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with
146
+ multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax
147
+ applies to --manifest and --source-dir.
148
+
149
+ EXAMPLES
150
+ Deploy the source files in a directory:
151
+
152
+ $ sf deploy metadata --source-dir path/to/source
153
+
154
+ Deploy a specific Apex class and the objects whose source is in a directory (both examples are equivalent):
155
+
156
+ $ sf deploy metadata --source-dir path/to/apex/classes/MyClass.cls path/to/source/objects
157
+ $ sf deploy metadata --source-dir path/to/apex/classes/MyClass.cls --source-dir path/to/source/objects
158
+
159
+ Deploy all Apex classes:
160
+
161
+ $ sf deploy metadata --metadata ApexClass
162
+
163
+ Deploy a specific Apex class:
164
+
165
+ $ sf deploy metadata --metadata ApexClass:MyApexClass
166
+
167
+ Deploy all custom objects and Apex classes (both examples are equivalent):
168
+
169
+ $ sf deploy metadata --metadata CustomObject ApexClass
170
+ $ sf deploy metadata --metadata CustomObject --metadata ApexClass
171
+
172
+ Deploy all Apex classes and a profile that has a space in its name:
173
+
174
+ $ sf deploy metadata --metadata ApexClass --metadata "Profile:My Profile"
175
+
176
+ Deploy all components listed in a manifest:
177
+
178
+ $ sf deploy metadata --manifest path/to/package.xml
179
+
180
+ Run the tests that aren’t in any managed packages as part of a deployment:
181
+
182
+ $ sf deploy metadata --metadata ApexClass --test-level RunLocalTests
183
+
184
+ FLAG DESCRIPTIONS
185
+ -d, --source-dir=<value>... Path to the local source files to deploy.
186
+
187
+ The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder
188
+ (in which case the operation is applied to all metadata types in the directory and its subdirectories).
189
+
190
+ If you specify this flag, don’t specify --metadata or --manifest.
191
+
192
+ -l, --test-level=NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg Deployment Apex testing level.
193
+
194
+ Valid values are:
195
+
196
+ - NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as
197
+ sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.
198
+
199
+ - RunSpecifiedTests — Runs only the tests that you specify with the --run-tests flag. Code coverage requirements
200
+ differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of
201
+ 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and
202
+ trigger individually and is different than the overall coverage percentage.
203
+
204
+ - RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked
205
+ packages. This test level is the default for production deployments that include Apex classes or triggers.
206
+
207
+ - RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.
208
+
209
+ If you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more
210
+ information, see [Running Tests in a
211
+ Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm)
212
+ in the "Metadata API Developer Guide".
213
+
214
+ -o, --target-org=<value> Login username or alias for the target org.
215
+
216
+ Overrides your default org.
217
+
218
+ -w, --wait=<value> Number of minutes to wait for command to complete and display results.
219
+
220
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
221
+
222
+ -x, --manifest=<value> Full file path for manifest (package.xml) of components to deploy.
223
+
224
+ All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
225
+ ```
226
+
227
+ ## `sf retrieve metadata`
228
+
229
+ Retrieve metadata in source format from an org to your local project.
230
+
231
+ ```
232
+ USAGE
233
+ $ sf retrieve metadata [--json] [-a <value>] [-x <value> | -m <value> | -d <value>] [-n <value>] [-o <value>] [-w
234
+ <value>]
235
+
236
+ FLAGS
237
+ -a, --api-version=<value> Target API version for the retrieve.
238
+ -d, --source-dir=<value>... File paths for source to retrieve from the org.
239
+ -m, --metadata=<value>... Metadata component names to retrieve.
240
+ -n, --package-name=<value>... Package names to retrieve.
241
+ -o, --target-org=<value> Login username or alias for the target org.
242
+ -w, --wait=<value> [default: 33] Number of minutes to wait for the command to complete and display results
243
+ to the terminal window.
244
+ -x, --manifest=<value> File path for the manifest (package.xml) that specifies the components to retrieve.
245
+
246
+ GLOBAL FLAGS
247
+ --json Format output as json.
248
+
249
+ DESCRIPTION
250
+ Retrieve metadata in source format from an org to your local project.
251
+
252
+ You must run this command from within a project.
253
+
254
+ This command doesn't support source-tracking. The source you retrieve overwrites the corresponding source files in
255
+ your local project. This command doesn’t attempt to merge the source from your org with your local source files.
256
+
257
+ To retrieve multiple metadata components, either use multiple --metadata <name> flags or use a single --metadata flag
258
+ with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same
259
+ syntax applies to --manifest and --source-dir.
260
+
261
+ EXAMPLES
262
+ Retrieve the source files in a directory:
263
+
264
+ $ sf retrieve metadata --source-dir path/to/source
265
+
266
+ Retrieve a specific Apex class and the objects whose source is in a directory (both examples are equivalent):
267
+
268
+ $ sf retrieve metadata --source-dir path/to/apex/classes/MyClass.cls path/to/source/objects
269
+ $ sf retrieve metadata --source-dir path/to/apex/classes/MyClass.cls --source-dir path/to/source/objects
270
+
271
+ Retrieve all Apex classes:
272
+
273
+ $ sf retrieve metadata --metadata ApexClass
274
+
275
+ Retrieve a specific Apex class:
276
+
277
+ $ sf retrieve metadata --metadata ApexClass:MyApexClass
278
+
279
+ Retrieve all custom objects and Apex classes (both examples are equivalent):
280
+
281
+ $ sf retrieve metadata --metadata CustomObject ApexClass
282
+ $ sf retrieve metadata --metadata CustomObject --metadata ApexClass
283
+
284
+ Retrieve all metadata components listed in a manifest:
285
+
286
+ $ sf retrieve metadata --manifest path/to/package.xml
287
+
288
+ Retrieve metadata from a package:
289
+
290
+ $ sf retrieve metadata --package-name MyPackageName
291
+
292
+ Retrieve metadata from multiple packages, one of which has a space in its name (both examples are equivalent):
293
+
294
+ $ sf retrieve metadata --package-name Package1 "PackageName With Spaces" Package3
295
+ $ sf retrieve metadata --package-name Package1 --package-name "PackageName With Spaces" --package-name Package3
296
+
297
+ FLAG DESCRIPTIONS
298
+ -a, --api-version=<value> Target API version for the retrieve.
299
+
300
+ Use this flag to override the default API version, which is the latest version supported the CLI, with the API
301
+ version in your package.xml file.
302
+
303
+ -d, --source-dir=<value>... File paths for source to retrieve from the org.
304
+
305
+ The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder
306
+ (in which case the operation is applied to all source files in the directory and its subdirectories).
307
+
308
+ -o, --target-org=<value> Login username or alias for the target org.
309
+
310
+ Overrides your default org.
311
+
312
+ -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the terminal window.
313
+
314
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
315
+
316
+ -x, --manifest=<value> File path for the manifest (package.xml) that specifies the components to retrieve.
317
+
318
+ If you specify this parameter, don’t specify --metadata or --source-dir.
319
+ ```
320
+
109
321
  <!-- commandsstop -->
@@ -0,0 +1,36 @@
1
+ import { FileResponse } from '@sf/sdr';
2
+ import { SfCommand } from '@salesforce/sf-plugins-core';
3
+ export declare type TestResults = {
4
+ passing: number;
5
+ failing: number;
6
+ total: number;
7
+ time?: number;
8
+ };
9
+ export declare type DeployMetadataResult = {
10
+ files: FileResponse[];
11
+ tests?: TestResults;
12
+ };
13
+ export default class DeployMetadata extends SfCommand<DeployMetadataResult> {
14
+ static readonly description: string;
15
+ static readonly summary: string;
16
+ static readonly examples: string[];
17
+ static flags: {
18
+ metadata: import("@oclif/core/lib/interfaces").OptionFlag<string[]>;
19
+ manifest: import("@oclif/core/lib/interfaces").OptionFlag<string>;
20
+ 'source-dir': import("@oclif/core/lib/interfaces").OptionFlag<string[]>;
21
+ 'target-org': import("@oclif/core/lib/interfaces").OptionFlag<string>;
22
+ 'test-level': import("@oclif/core/lib/interfaces").OptionFlag<string>;
23
+ wait: import("@oclif/core/lib/interfaces").OptionFlag<number>;
24
+ };
25
+ static configurationVariablesSection: {
26
+ header: string;
27
+ body: string | [string, string][] | import("@oclif/core").HelpSectionKeyValueTable;
28
+ };
29
+ static envVariablesSection: {
30
+ header: string;
31
+ body: string | [string, string][] | import("@oclif/core").HelpSectionKeyValueTable;
32
+ };
33
+ run(): Promise<DeployMetadataResult>;
34
+ private setExitCode;
35
+ private getTestResults;
36
+ }
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2021, salesforce.com, inc.
4
+ * All rights reserved.
5
+ * Licensed under the BSD 3-Clause license.
6
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ const os_1 = require("os");
10
+ const core_1 = require("@oclif/core");
11
+ const core_2 = require("@salesforce/core");
12
+ const kit_1 = require("@salesforce/kit");
13
+ const ts_types_1 = require("@salesforce/ts-types");
14
+ const types_1 = require("@sf/sdr/lib/src/client/types");
15
+ const sf_plugins_core_1 = require("@salesforce/sf-plugins-core");
16
+ const orgs_1 = require("../../utils/orgs");
17
+ const componentSetBuilder_1 = require("../../utils/componentSetBuilder");
18
+ const output_1 = require("../../utils/output");
19
+ const testLevel_1 = require("../../utils/testLevel");
20
+ const progressBar_1 = require("../../utils/progressBar");
21
+ const config_1 = require("../../utils/config");
22
+ const requiredFlagValidator_1 = require("../../utils/requiredFlagValidator");
23
+ core_2.Messages.importMessagesDirectory(__dirname);
24
+ const messages = core_2.Messages.loadMessages('@salesforce/plugin-deploy-retrieve', 'deploy.metadata');
25
+ // One of these flags must be specified for a valid deploy.
26
+ const requiredFlags = ['manifest', 'metadata', 'source-dir'];
27
+ class DeployMetadata extends sf_plugins_core_1.SfCommand {
28
+ async run() {
29
+ const flags = (await this.parse(DeployMetadata)).flags;
30
+ const testLevel = flags['test-level'];
31
+ (0, requiredFlagValidator_1.validateOneOfCommandFlags)(requiredFlags, flags);
32
+ const componentSet = await componentSetBuilder_1.ComponentSetBuilder.build({
33
+ sourceapiversion: await (0, orgs_1.getSourceApiVersion)(),
34
+ sourcepath: flags['source-dir'],
35
+ manifest: (flags.manifest && {
36
+ manifestPath: flags.manifest,
37
+ directoryPaths: await (0, orgs_1.getPackageDirs)(),
38
+ }),
39
+ metadata: flags.metadata && {
40
+ metadataEntries: flags.metadata,
41
+ directoryPaths: await (0, orgs_1.getPackageDirs)(),
42
+ },
43
+ });
44
+ const targetOrg = await (0, orgs_1.resolveTargetOrg)(flags['target-org']);
45
+ this.log(`${os_1.EOL}${messages.getMessage('deploy.metadata.api', [targetOrg, (0, config_1.resolveRestDeploy)()])}${os_1.EOL}`);
46
+ const deploy = await componentSet.deploy({
47
+ usernameOrConnection: targetOrg,
48
+ apiOptions: { testLevel },
49
+ });
50
+ new progressBar_1.DeployProgress(deploy, this.jsonEnabled()).start();
51
+ const result = await deploy.pollStatus(500, kit_1.Duration.minutes(flags.wait).seconds);
52
+ this.setExitCode(result);
53
+ if (!this.jsonEnabled()) {
54
+ (0, output_1.displaySuccesses)(result);
55
+ (0, output_1.displayFailures)(result);
56
+ (0, output_1.displayTestResults)(result, testLevel);
57
+ }
58
+ return {
59
+ files: (0, output_1.asRelativePaths)((result === null || result === void 0 ? void 0 : result.getFileResponses()) || []),
60
+ tests: this.getTestResults(result),
61
+ };
62
+ }
63
+ setExitCode(result) {
64
+ const status = (0, ts_types_1.getString)(result, 'response.status');
65
+ if (status !== types_1.RequestStatus.Succeeded) {
66
+ process.exitCode = 1;
67
+ }
68
+ }
69
+ getTestResults(result) {
70
+ const passing = (0, ts_types_1.get)(result, 'response.numberTestsCompleted', 0);
71
+ const failing = (0, ts_types_1.get)(result, 'response.numberTestErrors', 0);
72
+ const total = (0, ts_types_1.get)(result, 'response.numberTestsTotal', 0);
73
+ const testResults = { passing, failing, total };
74
+ const time = (0, ts_types_1.get)(result, 'response.details.runTestResult.totalTime', 0);
75
+ return time ? { ...testResults, time } : testResults;
76
+ }
77
+ }
78
+ exports.default = DeployMetadata;
79
+ DeployMetadata.description = messages.getMessage('description');
80
+ DeployMetadata.summary = messages.getMessage('summary');
81
+ DeployMetadata.examples = messages.getMessages('examples');
82
+ DeployMetadata.flags = {
83
+ metadata: core_1.Flags.string({
84
+ char: 'm',
85
+ summary: messages.getMessage('flags.metadata.summary'),
86
+ multiple: true,
87
+ exclusive: ['manifest', 'source-dir'],
88
+ }),
89
+ manifest: core_1.Flags.string({
90
+ char: 'x',
91
+ description: messages.getMessage('flags.manifest.description'),
92
+ summary: messages.getMessage('flags.manifest.summary'),
93
+ exclusive: ['metadata', 'source-dir'],
94
+ }),
95
+ 'source-dir': core_1.Flags.string({
96
+ char: 'd',
97
+ description: messages.getMessage('flags.source-dir.description'),
98
+ summary: messages.getMessage('flags.source-dir.summary'),
99
+ multiple: true,
100
+ exclusive: ['manifest', 'metadata'],
101
+ }),
102
+ 'target-org': core_1.Flags.string({
103
+ char: 'o',
104
+ description: messages.getMessage('flags.target-org.description'),
105
+ summary: messages.getMessage('flags.target-org.summary'),
106
+ }),
107
+ 'test-level': core_1.Flags.string({
108
+ char: 'l',
109
+ description: messages.getMessage('flags.test-level.description'),
110
+ summary: messages.getMessage('flags.test-level.summary'),
111
+ options: Object.values(testLevel_1.TestLevel),
112
+ default: testLevel_1.TestLevel.NoTestRun,
113
+ }),
114
+ wait: core_1.Flags.integer({
115
+ char: 'w',
116
+ summary: messages.getMessage('flags.wait.summary'),
117
+ description: messages.getMessage('flags.wait.description'),
118
+ default: 33,
119
+ }),
120
+ };
121
+ DeployMetadata.configurationVariablesSection = (0, sf_plugins_core_1.toHelpSection)('CONFIGURATION VARIABLES', core_2.OrgConfigProperties.TARGET_ORG, core_2.SfdxPropertyKeys.API_VERSION);
122
+ DeployMetadata.envVariablesSection = (0, sf_plugins_core_1.toHelpSection)('ENVIRONMENT VARIABLES', core_2.EnvironmentVariable.SF_TARGET_ORG, core_2.EnvironmentVariable.SFDX_DEFAULTUSERNAME, core_2.EnvironmentVariable.SFDX_USE_PROGRESS_BAR);
123
+ //# sourceMappingURL=metadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../src/commands/deploy/metadata.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,2BAAyB;AACzB,sCAAoC;AACpC,2CAAwG;AACxG,yCAA2C;AAC3C,mDAAsD;AAEtD,wD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