@salesforce/plugin-deploy-retrieve 1.0.2 → 1.0.6
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/CHANGELOG.md +42 -43
- package/LICENSE.txt +1 -1
- package/README.md +4 -2
- package/lib/commands/deploy.js +3 -0
- package/lib/commands/deploy.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +15 -21
package/CHANGELOG.md
CHANGED
|
@@ -2,152 +2,152 @@
|
|
|
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
|
+
### [1.0.6](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.5...v1.0.6) (2022-01-06)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
6
8
|
|
|
9
|
+
- 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))
|
|
10
|
+
|
|
11
|
+
### [1.0.5](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.4...v1.0.5) (2021-10-14)
|
|
7
12
|
|
|
8
13
|
### Bug Fixes
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
- bump command snapshot ([#153](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/153)) ([d4aa1fc](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/d4aa1fc7859f14626fcab137e6c762ce5842b5dd))
|
|
11
16
|
|
|
12
|
-
### [1.0.
|
|
17
|
+
### [1.0.4](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.3...v1.0.4) (2021-10-12)
|
|
13
18
|
|
|
19
|
+
### [1.0.3](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.2...v1.0.3) (2021-10-05)
|
|
14
20
|
|
|
15
21
|
### Bug Fixes
|
|
16
22
|
|
|
17
|
-
|
|
23
|
+
- 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))
|
|
18
24
|
|
|
19
|
-
|
|
25
|
+
### [1.0.2](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.1...v1.0.2) (2021-09-30)
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
20
28
|
|
|
29
|
+
- 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))
|
|
30
|
+
|
|
31
|
+
### [1.0.1](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.0.0...v1.0.1) (2021-09-30)
|
|
21
32
|
|
|
22
33
|
### Bug Fixes
|
|
23
34
|
|
|
24
|
-
|
|
35
|
+
- 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))
|
|
25
36
|
|
|
26
|
-
|
|
37
|
+
## [1.0.0](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.23...v1.0.0) (2021-09-30)
|
|
27
38
|
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
- 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))
|
|
42
|
+
|
|
43
|
+
### [0.0.23](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.22...v0.0.23) (2021-09-16)
|
|
28
44
|
|
|
29
45
|
### Bug Fixes
|
|
30
46
|
|
|
31
|
-
|
|
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))
|
|
32
48
|
|
|
33
49
|
### [0.0.22](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.21...v0.0.22) (2021-09-15)
|
|
34
50
|
|
|
35
|
-
|
|
36
51
|
### Bug Fixes
|
|
37
52
|
|
|
38
|
-
|
|
53
|
+
- 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))
|
|
39
54
|
|
|
40
55
|
### [0.0.21](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.20...v0.0.21) (2021-09-13)
|
|
41
56
|
|
|
42
|
-
|
|
43
57
|
### Bug Fixes
|
|
44
58
|
|
|
45
|
-
|
|
59
|
+
- 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))
|
|
46
60
|
|
|
47
61
|
### [0.0.20](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.19...v0.0.20) (2021-09-08)
|
|
48
62
|
|
|
49
|
-
|
|
50
63
|
### Features
|
|
51
64
|
|
|
52
|
-
|
|
65
|
+
- 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))
|
|
53
66
|
|
|
54
67
|
### [0.0.19](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.18...v0.0.19) (2021-09-02)
|
|
55
68
|
|
|
56
|
-
|
|
57
69
|
### Features
|
|
58
70
|
|
|
59
|
-
|
|
71
|
+
- use sf-plugins-core ([#116](https://github.com/salesforcecli/plugin-deploy-retrieve/issues/116)) ([bf81d08](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/bf81d08dcb5e16e665ffc21e05399ff65b849a42))
|
|
60
72
|
|
|
61
73
|
### [0.0.18](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.17...v0.0.18) (2021-08-18)
|
|
62
74
|
|
|
63
|
-
|
|
64
75
|
### Bug Fixes
|
|
65
76
|
|
|
66
|
-
|
|
77
|
+
- 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))
|
|
67
78
|
|
|
68
79
|
### [0.0.17](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.16...v0.0.17) (2021-08-17)
|
|
69
80
|
|
|
70
|
-
|
|
71
81
|
### Bug Fixes
|
|
72
82
|
|
|
73
|
-
|
|
83
|
+
- 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))
|
|
74
84
|
|
|
75
85
|
### [0.0.16](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.15...v0.0.16) (2021-08-12)
|
|
76
86
|
|
|
77
|
-
|
|
78
87
|
### Bug Fixes
|
|
79
88
|
|
|
80
|
-
|
|
89
|
+
- 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))
|
|
81
90
|
|
|
82
91
|
### [0.0.15](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.14...v0.0.15) (2021-08-03)
|
|
83
92
|
|
|
84
|
-
|
|
85
93
|
### Bug Fixes
|
|
86
94
|
|
|
87
|
-
|
|
95
|
+
- 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))
|
|
88
96
|
|
|
89
97
|
### [0.0.14](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.13...v0.0.14) (2021-07-30)
|
|
90
98
|
|
|
91
|
-
|
|
92
99
|
### Features
|
|
93
100
|
|
|
94
|
-
|
|
101
|
+
- **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))
|
|
95
102
|
|
|
96
103
|
### [0.0.13](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.12...v0.0.13) (2021-07-28)
|
|
97
104
|
|
|
98
|
-
|
|
99
105
|
### Bug Fixes
|
|
100
106
|
|
|
101
|
-
|
|
107
|
+
- 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))
|
|
102
108
|
|
|
103
109
|
### [0.0.12](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.11...v0.0.12) (2021-07-28)
|
|
104
110
|
|
|
105
|
-
|
|
106
111
|
### Bug Fixes
|
|
107
112
|
|
|
108
|
-
|
|
113
|
+
- pin to @salesforce/core@3.3.5 ([2ef20a8](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/2ef20a8af58f6ed06d3f3022ad980ea83da16f14))
|
|
109
114
|
|
|
110
115
|
### [0.0.11](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.10...v0.0.11) (2021-07-27)
|
|
111
116
|
|
|
112
117
|
### [0.0.10](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.9...v0.0.10) (2021-07-22)
|
|
113
118
|
|
|
114
|
-
|
|
115
119
|
### Bug Fixes
|
|
116
120
|
|
|
117
|
-
|
|
121
|
+
- remove reference to project topic ([995e643](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/995e643bc81fa7cbc05dcacdffac7ec04d1b6234))
|
|
118
122
|
|
|
119
123
|
### [0.0.9](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.8...v0.0.9) (2021-07-19)
|
|
120
124
|
|
|
121
|
-
|
|
122
125
|
### Bug Fixes
|
|
123
126
|
|
|
124
|
-
|
|
127
|
+
- 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))
|
|
125
128
|
|
|
126
129
|
### [0.0.8](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.7...v0.0.8) (2021-07-15)
|
|
127
130
|
|
|
128
|
-
|
|
129
131
|
### Bug Fixes
|
|
130
132
|
|
|
131
|
-
|
|
133
|
+
- update deps ([ebc35d9](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/ebc35d9bbec5386ab51f4bba7b46330da7cdc486))
|
|
132
134
|
|
|
133
135
|
### [0.0.7](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v0.0.6...v0.0.7) (2021-07-15)
|
|
134
136
|
|
|
135
137
|
### [0.0.6](https://github.com/salesforcecli/plugin-project/compare/v0.0.5...v0.0.6) (2021-07-11)
|
|
136
138
|
|
|
137
|
-
|
|
138
139
|
### Bug Fixes
|
|
139
140
|
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
- bump oclif ([9d78c50](https://github.com/salesforcecli/plugin-project/commit/9d78c50afb3dd7ec70e7f591b33a034baad447b9))
|
|
142
|
+
- bump oclif/core ([6507231](https://github.com/salesforcecli/plugin-project/commit/6507231e9b29ee172a707e6632b71b4539bd730d))
|
|
142
143
|
|
|
143
144
|
### [0.0.5](https://github.com/salesforcecli/plugin-project/compare/v0.0.4...v0.0.5) (2021-07-06)
|
|
144
145
|
|
|
145
146
|
### [0.0.4](https://github.com/salesforcecli/plugin-project/compare/v0.0.3...v0.0.4) (2021-06-30)
|
|
146
147
|
|
|
147
|
-
|
|
148
148
|
### Features
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
- run deploy hooks ([#54](https://github.com/salesforcecli/plugin-project/issues/54)) ([4b09997](https://github.com/salesforcecli/plugin-project/commit/4b0999759266ff3a86fd39a3a9ae3a71e216045a))
|
|
151
151
|
|
|
152
152
|
### [0.0.3](https://github.com/salesforcecli/plugin-project/compare/v0.0.2...v0.0.3) (2021-06-08)
|
|
153
153
|
|
|
@@ -155,7 +155,6 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
155
155
|
|
|
156
156
|
### 0.0.1 (2021-06-07)
|
|
157
157
|
|
|
158
|
-
|
|
159
158
|
### Bug Fixes
|
|
160
159
|
|
|
161
|
-
|
|
160
|
+
- publish schemas ([87622d8](https://github.com/salesforcecli/plugin-project/commit/87622d835d45fccb877759805642be0bdb201e31))
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -61,7 +61,8 @@ sf plugins
|
|
|
61
61
|
## Commands
|
|
62
62
|
|
|
63
63
|
<!-- commands -->
|
|
64
|
-
|
|
64
|
+
|
|
65
|
+
- [`sf deploy`](#sf-deploy)
|
|
65
66
|
|
|
66
67
|
## `sf deploy`
|
|
67
68
|
|
|
@@ -105,5 +106,6 @@ EXAMPLES
|
|
|
105
106
|
$ sf deploy --interactive
|
|
106
107
|
```
|
|
107
108
|
|
|
108
|
-
_See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.0.
|
|
109
|
+
_See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.0.5/src/commands/deploy.ts)_
|
|
110
|
+
|
|
109
111
|
<!-- commandsstop -->
|
package/lib/commands/deploy.js
CHANGED
|
@@ -36,6 +36,9 @@ class Deploy extends sf_plugins_core_1.SfCommand {
|
|
|
36
36
|
if (flags.interactive) {
|
|
37
37
|
deployers = await this.selectDeployers(deployers);
|
|
38
38
|
}
|
|
39
|
+
else {
|
|
40
|
+
deployers = deployers.filter((d) => !!options[d.getName()]);
|
|
41
|
+
}
|
|
39
42
|
if (deployers.length === 0) {
|
|
40
43
|
this.log('Nothing was selected to deploy.');
|
|
41
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2BAAyB;AACzB,sCAAoC;AACpC,2CAAgD;AAChD,yCAAsC;AACtC,iEAAsH;AACtH,qCAA+B;AAE/B,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,oCAAoC,EAAE,QAAQ,CAAC,CAAC;AAE1E,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAEzD,MAAqB,MAAO,SAAQ,2BAAe;IAY1C,KAAK,CAAC,GAAG;;QACd,OAAO,CAAC,eAAe,CAAC,IAAI,SAAG,EAAE,CAAC,SAAS,CAAC,wBAAwB,CAAC,IAAI,IAAI,CAAC,CAAC;QAC/E,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAE3C,KAAK,CAAC,WAAW,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAChE,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC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CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;aAC3C;SACF;QAED,MAAM,KAAK,GAAe,EAAE,CAAC;QAC7B,KAAK,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,EAAE;YACtE,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;YACnC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SACpB;QACD,OAAO,KAAK,CAAC;IACf,CAAC;;AA9IH,yBA+IC;AA9Ie,cAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACzC,kBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,eAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,qBAAc,GAAG,KAAK,CAAC;AAEvB,YAAK,GAAG;IACpB,WAAW,EAAE,YAAK,CAAC,OAAO,CAAC;QACzB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;KAC1D,CAAC;CACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.6","commands":{"deploy":{"id":"deploy","summary":"Deploy a project interactively to any Salesforce environment.","description":"This command must be run from within a project.\n\nThe command first analyzes your project, your active or logged-into environments, and local defaults to determine what to deploy and where to deploy it. The command then prompts you for information about this particular deployment and provides intelligent choices based on its analysis.\n\nFor example, if your local project contains a source directory with metadata files in source format, the command asks if you want to deploy that Salesforce app to an org. The command lists your connected orgs and asks which one you want to deploy to. The list of orgs starts with scratch orgs, ordered by expiration date with the most recently created one first, and then Dev Hub and production orgs ordered by name. If the command finds Apex tests, it asks if you want to run them and at which level.\n\nThe command stores your responses in the \"deploy-options.json\" file in your local project directory and uses them as defaults when you rerun the command. Specify --interactive to force the command to reprompt.\n\nUse this command for quick and simple deploys. For more complicated deployments, use the environment-specific commands, such as \"sf deploy metadata\", that provide additional flags.","strict":true,"pluginName":"@salesforce/plugin-deploy-retrieve","pluginAlias":"@salesforce/plugin-deploy-retrieve","pluginType":"core","aliases":[],"examples":["Deploy a project and use stored values from a previous command run:\n<%= config.bin %> <%= command.id %>","Reprompt for all deployment inputs:\n<%= config.bin %> <%= command.id %> --interactive"],"flags":{"interactive":{"name":"interactive","type":"boolean","summary":"Force the CLI to prompt for all deployment inputs.","allowNo":false}},"args":[],"enableJsonFlag":false}}}
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-deploy-retrieve",
|
|
3
3
|
"description": "deploy and retrieve commands for sf",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"author": "Salesforce",
|
|
6
|
-
"bugs": "https://github.com/
|
|
6
|
+
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^1.0.
|
|
9
|
-
"@salesforce/core": "3.
|
|
10
|
-
"@salesforce/sf-plugins-core": "^1.0.
|
|
8
|
+
"@oclif/core": "^1.0.2",
|
|
9
|
+
"@salesforce/core": "3.7.3",
|
|
10
|
+
"@salesforce/sf-plugins-core": "^1.0.4",
|
|
11
11
|
"shelljs": "^0.8.4",
|
|
12
12
|
"tslib": "^2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^
|
|
16
|
-
"@salesforce/cli-plugins-testkit": "^1.4.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^3.1.1",
|
|
16
|
+
"@salesforce/cli-plugins-testkit": "^1.4.11",
|
|
17
17
|
"@salesforce/dev-config": "^2.1.2",
|
|
18
|
-
"@salesforce/dev-scripts": "^0.
|
|
18
|
+
"@salesforce/dev-scripts": "^1.0.2",
|
|
19
19
|
"@salesforce/plugin-command-reference": "^1.3.15",
|
|
20
|
-
"@salesforce/plugin-deploy-retrieve-metadata": "^1.0.
|
|
21
|
-
"@salesforce/plugin-functions": "^1.
|
|
20
|
+
"@salesforce/plugin-deploy-retrieve-metadata": "^1.0.7",
|
|
21
|
+
"@salesforce/plugin-functions": "^1.1.4",
|
|
22
22
|
"@salesforce/prettier-config": "^0.0.2",
|
|
23
23
|
"@salesforce/ts-sinon": "1.3.21",
|
|
24
24
|
"@types/shelljs": "^0.8.9",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"eslint-config-prettier": "^6.11.0",
|
|
31
31
|
"eslint-config-salesforce": "^0.1.6",
|
|
32
32
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
33
|
-
"eslint-config-salesforce-typescript": "^0.2.
|
|
33
|
+
"eslint-config-salesforce-typescript": "^0.2.8",
|
|
34
34
|
"eslint-plugin-header": "^3.0.0",
|
|
35
35
|
"eslint-plugin-import": "^2.20.2",
|
|
36
36
|
"eslint-plugin-jsdoc": "^35.1.3",
|
|
37
37
|
"eslint-plugin-prettier": "^3.1.3",
|
|
38
|
-
"husky": "^
|
|
38
|
+
"husky": "^7.0.4",
|
|
39
39
|
"lint-staged": "^11.0.0",
|
|
40
40
|
"mocha": "^8.4.0",
|
|
41
41
|
"nyc": "^15.1.0",
|
|
@@ -110,18 +110,12 @@
|
|
|
110
110
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
111
111
|
"version": "oclif readme"
|
|
112
112
|
},
|
|
113
|
-
"husky": {
|
|
114
|
-
"hooks": {
|
|
115
|
-
"pre-commit": "sf-husky-pre-commit",
|
|
116
|
-
"commit-msg": "sf-husky-commit-msg",
|
|
117
|
-
"pre-push": "sf-husky-pre-push"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
113
|
"publishConfig": {
|
|
121
114
|
"access": "public"
|
|
122
115
|
},
|
|
116
|
+
"main": "lib/index.js",
|
|
123
117
|
"sfdx": {
|
|
124
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.0.
|
|
125
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.0.
|
|
118
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.0.6.crt",
|
|
119
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/1.0.6.sig"
|
|
126
120
|
}
|
|
127
121
|
}
|