@salesforce/plugin-limits 1.2.0 → 1.3.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.
package/CHANGELOG.md
CHANGED
|
@@ -2,51 +2,61 @@
|
|
|
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.
|
|
6
|
-
|
|
5
|
+
## [1.3.0](https://github.com/salesforcecli/plugin-limits/compare/v1.2.3...v1.3.0) (2021-12-02)
|
|
7
6
|
|
|
8
7
|
### Features
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
- bump deps ([1df1fef](https://github.com/salesforcecli/plugin-limits/commit/1df1fef17d0fc6655fa1db79f525948e893d557c))
|
|
10
|
+
|
|
11
|
+
### [1.2.3](https://github.com/salesforcecli/plugin-limits/compare/v1.2.2...v1.2.3) (2021-11-02)
|
|
11
12
|
|
|
13
|
+
### [1.2.2](https://github.com/salesforcecli/plugin-limits/compare/v1.2.1...v1.2.2) (2021-10-05)
|
|
12
14
|
|
|
13
15
|
### Bug Fixes
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
* arg in test ([b56ad46](https://github.com/salesforcecli/plugin-limits/commit/b56ad4687d59dc4272b4a6c770d4f81b059ace74))
|
|
17
|
-
* update message ([3e5c28f](https://github.com/salesforcecli/plugin-limits/commit/3e5c28f118caceaff6acaace3e0ed5f94cf1bca9))
|
|
17
|
+
- update deps ([2f291d9](https://github.com/salesforcecli/plugin-limits/commit/2f291d9b20ae5d37bac285fb3964d97219d52526))
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
### [1.2.1](https://github.com/salesforcecli/plugin-limits/compare/v1.2.0...v1.2.1) (2021-05-10)
|
|
20
20
|
|
|
21
|
+
## [1.2.0](https://github.com/salesforcecli/plugin-limits/compare/v1.1.0...v1.2.0) (2021-04-29)
|
|
21
22
|
|
|
22
23
|
### Features
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
- add recordcounts command ([7628eaa](https://github.com/salesforcecli/plugin-limits/commit/7628eaab70a6b1fc9b015f22b4040de198d53745))
|
|
25
26
|
|
|
26
|
-
###
|
|
27
|
+
### Bug Fixes
|
|
27
28
|
|
|
29
|
+
- add 0 count response output ([14ede94](https://github.com/salesforcecli/plugin-limits/commit/14ede94c39dfc7cca008a22b2bd2fcecee3e0c5c))
|
|
30
|
+
- arg in test ([b56ad46](https://github.com/salesforcecli/plugin-limits/commit/b56ad4687d59dc4272b4a6c770d4f81b059ace74))
|
|
31
|
+
- update message ([3e5c28f](https://github.com/salesforcecli/plugin-limits/commit/3e5c28f118caceaff6acaace3e0ed5f94cf1bca9))
|
|
32
|
+
|
|
33
|
+
## [1.1.0](https://github.com/salesforcecli/plugin-limits/compare/v1.0.6...v1.1.0) (2021-04-26)
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
- add nut test ([#77](https://github.com/salesforcecli/plugin-limits/issues/77)) ([fa87c17](https://github.com/salesforcecli/plugin-limits/commit/fa87c172384d09e5a1c677743b20d9c2096fa445))
|
|
38
|
+
|
|
39
|
+
### [1.0.6](https://github.com/salesforcecli/plugin-limits/compare/v1.0.5...v1.0.6) (2021-04-13)
|
|
28
40
|
|
|
29
41
|
### Bug Fixes
|
|
30
42
|
|
|
31
|
-
|
|
43
|
+
- update help for force:limit:api:display ([86f3f51](https://github.com/salesforcecli/plugin-limits/commit/86f3f519e91fff81e5a1478a0c963e8ce011ce0d))
|
|
32
44
|
|
|
33
45
|
### [1.0.5](https://github.com/salesforcecli/plugin-limits/compare/v1.0.4...v1.0.5) (2021-04-01)
|
|
34
46
|
|
|
35
|
-
|
|
36
47
|
### Bug Fixes
|
|
37
48
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
49
|
+
- jobs names [skip-validate-pr] ([4103421](https://github.com/salesforcecli/plugin-limits/commit/4103421091618625c08cec33a98682194d43e589))
|
|
50
|
+
- leif .yml merge [skip-validate-pr] ([bdbf265](https://github.com/salesforcecli/plugin-limits/commit/bdbf2658b369ad3053cca3ed50cc3c0cafffcbb1))
|
|
51
|
+
- leif .yml merge [skip-validate-pr] ([42dc4b1](https://github.com/salesforcecli/plugin-limits/commit/42dc4b1ae9308f54efcbe24fab564b135a287e24))
|
|
41
52
|
|
|
42
53
|
### [1.0.4](https://github.com/salesforcecli/plugin-limits/compare/v1.0.3...v1.0.4) (2021-02-19)
|
|
43
54
|
|
|
44
55
|
### [1.0.3](https://github.com/salesforcecli/plugin-limits/compare/v1.0.2...v1.0.3) (2021-01-21)
|
|
45
56
|
|
|
46
|
-
|
|
47
57
|
### Bug Fixes
|
|
48
58
|
|
|
49
|
-
|
|
59
|
+
- add force topic ([970113e](https://github.com/salesforcecli/plugin-limits/commit/970113e53651ee63481ce9060e15e36352bbe493))
|
|
50
60
|
|
|
51
61
|
### [1.0.2](https://github.com/salesforcecli/plugin-limits/compare/v1.0.1...v1.0.2) (2020-12-16)
|
|
52
62
|
|
|
@@ -54,8 +64,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
54
64
|
|
|
55
65
|
## 1.0.0 (2020-11-16)
|
|
56
66
|
|
|
57
|
-
|
|
58
67
|
### Bug Fixes
|
|
59
68
|
|
|
60
|
-
|
|
61
|
-
|
|
69
|
+
- add command, test, config/readme housekeeping ([8273060](https://github.com/salesforcecli/plugin-limits/commit/82730609c6eb3c6c294fc3b16096a7ebc354b2f4))
|
|
70
|
+
- bumped release-orb to 4 ([bcdc288](https://github.com/salesforcecli/plugin-limits/commit/bcdc288aa6b41f0ca3c93dc00fa5270390248069))
|
package/README.md
CHANGED
|
@@ -67,17 +67,22 @@ sfdx plugins
|
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
## Commands
|
|
70
|
+
|
|
70
71
|
<!-- commands -->
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
|
|
73
|
+
- [`sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcelimitsapidisplay--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
74
|
+
- [`sfdx force:limits:recordcounts:display -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcelimitsrecordcountsdisplay--s-array--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
73
75
|
|
|
74
76
|
## `sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
75
77
|
|
|
76
78
|
display current org’s limits
|
|
77
79
|
|
|
78
80
|
```
|
|
81
|
+
display current org’s limits
|
|
82
|
+
When you execute this command in a project, it provides limit information for your default scratch org.
|
|
83
|
+
|
|
79
84
|
USAGE
|
|
80
|
-
$ sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
85
|
+
$ sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
81
86
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
82
87
|
|
|
83
88
|
OPTIONS
|
|
@@ -100,15 +105,18 @@ EXAMPLES
|
|
|
100
105
|
sfdx force:limits:api:display -u me@my.org
|
|
101
106
|
```
|
|
102
107
|
|
|
103
|
-
_See code: [src/commands/force/limits/api/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v1.
|
|
108
|
+
_See code: [src/commands/force/limits/api/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v1.2.3/src/commands/force/limits/api/display.ts)_
|
|
104
109
|
|
|
105
110
|
## `sfdx force:limits:recordcounts:display -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
106
111
|
|
|
107
112
|
display record counts for the specified standard and custom objects
|
|
108
113
|
|
|
109
114
|
```
|
|
115
|
+
display record counts for the specified standard and custom objects
|
|
116
|
+
Use this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org’s storage usage isn’t updated immediately.
|
|
117
|
+
|
|
110
118
|
USAGE
|
|
111
|
-
$ sfdx force:limits:recordcounts:display -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
119
|
+
$ sfdx force:limits:recordcounts:display -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
112
120
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
113
121
|
|
|
114
122
|
OPTIONS
|
|
@@ -129,8 +137,8 @@ OPTIONS
|
|
|
129
137
|
this command invocation
|
|
130
138
|
|
|
131
139
|
DESCRIPTION
|
|
132
|
-
Use this command to get an approximate count of the records in standard or custom objects in your org. These record
|
|
133
|
-
counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because
|
|
140
|
+
Use this command to get an approximate count of the records in standard or custom objects in your org. These record
|
|
141
|
+
counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because
|
|
134
142
|
they're calculated asynchronously and your org’s storage usage isn’t updated immediately.
|
|
135
143
|
|
|
136
144
|
EXAMPLES
|
|
@@ -138,5 +146,6 @@ EXAMPLES
|
|
|
138
146
|
sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org
|
|
139
147
|
```
|
|
140
148
|
|
|
141
|
-
_See code: [src/commands/force/limits/recordcounts/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v1.
|
|
149
|
+
_See code: [src/commands/force/limits/recordcounts/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v1.2.3/src/commands/force/limits/recordcounts/display.ts)_
|
|
150
|
+
|
|
142
151
|
<!-- commandsstop -->
|
|
@@ -17,7 +17,7 @@ class LimitsApiDisplayCommand extends command_1.SfdxCommand {
|
|
|
17
17
|
try {
|
|
18
18
|
const conn = this.org.getConnection();
|
|
19
19
|
const geturl = `${conn.instanceUrl}/services/data/v${conn.version}/limits`;
|
|
20
|
-
const result =
|
|
20
|
+
const result = await conn.request(geturl);
|
|
21
21
|
const limits = [];
|
|
22
22
|
Object.keys(result).map((limitName) => {
|
|
23
23
|
limits.push({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../src/commands/force/limits/api/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAkD;AAClD,2CAAuD;AAEvD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,SAAS,CAAC,CAAC;AAe/E,MAAa,uBAAwB,SAAQ,qBAAW;IAK/C,KAAK,CAAC,GAAG;QACd,IAAI;YACF,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;YACtC,MAAM,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,mBAAmB,IAAI,CAAC,OAAO,SAAS,CAAC;YAC3E,MAAM,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../src/commands/force/limits/api/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAkD;AAClD,2CAAuD;AAEvD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,SAAS,CAAC,CAAC;AAe/E,MAAa,uBAAwB,SAAQ,qBAAW;IAK/C,KAAK,CAAC,GAAG;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"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../src/commands/force/limits/recordcounts/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAkF;AAClF,2CAAuD;AAEvD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,cAAc,CAAC,CAAC;AAWpF,MAAa,gCAAiC,SAAQ,qBAAW;IA0BxD,KAAK,CAAC,GAAG;QACd,IAAI;YACF,MAAM,iBAAiB,GAAI,IAAI,CAAC,KAAK,CAAC,WAAwB,CAAC,IAAI,EAAE,CAAC;YACtE,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;YACtC,MAAM,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,gCAAgC,iBAAiB,EAAE,CAAC;YACpF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../../src/commands/force/limits/recordcounts/display.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAkF;AAClF,2CAAuD;AAEvD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,cAAc,CAAC,CAAC;AAWpF,MAAa,gCAAiC,SAAQ,qBAAW;IA0BxD,KAAK,CAAC,GAAG;QACd,IAAI;YACF,MAAM,iBAAiB,GAAI,IAAI,CAAC,KAAK,CAAC,WAAwB,CAAC,IAAI,EAAE,CAAC;YACtE,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;YACtC,MAAM,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,gCAAgC,iBAAiB,EAAE,CAAC;YACpF,MAAM,MAAM,GAAG,CAAC,MAAM,IAAI,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AAK,CAAC,KAAK,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;KAC/D,CAAC;CACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.
|
|
1
|
+
{"version":"1.3.0","commands":{"force:limits:api:display":{"id":"force:limits:api:display","description":"display current org’s limits\nWhen you execute this command in a project, it provides limit information for your default scratch org.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-limits","pluginType":"core","aliases":[],"examples":["sfdx force:limits:api:display","sfdx force:limits:api:display -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"force:limits:recordcounts:display":{"id":"force:limits:recordcounts:display","description":"display record counts for the specified standard and custom objects\nUse this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org’s storage usage isn’t updated immediately.","usage":"<%= command.id %> -s <array> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-limits","pluginType":"core","aliases":[],"examples":["sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity","sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"comma-separated list of API names of standard or custom objects for which to display record counts","required":true}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-limits",
|
|
3
3
|
"description": "commands to display api limits to your org",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@oclif/config": "^1",
|
|
9
|
-
"@salesforce/command": "^
|
|
10
|
-
"@salesforce/core": "^2.
|
|
9
|
+
"@salesforce/command": "^4.2.0",
|
|
10
|
+
"@salesforce/core": "^2.31.0",
|
|
11
11
|
"tslib": "^2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@oclif/dev-cli": "^1",
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^2.0.0",
|
|
16
|
-
"@salesforce/cli-plugins-testkit": "^
|
|
17
|
-
"@salesforce/dev-config": "^2.1.
|
|
18
|
-
"@salesforce/dev-scripts": "0.
|
|
16
|
+
"@salesforce/cli-plugins-testkit": "^1.4.10",
|
|
17
|
+
"@salesforce/dev-config": "^2.1.2",
|
|
18
|
+
"@salesforce/dev-scripts": "^1.0.0",
|
|
19
19
|
"@salesforce/plugin-command-reference": "^1.3.0",
|
|
20
20
|
"@salesforce/prettier-config": "^0.0.2",
|
|
21
|
-
"@salesforce/ts-sinon": "1.3.
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
|
23
|
-
"@typescript-eslint/parser": "^4.
|
|
21
|
+
"@salesforce/ts-sinon": "1.3.21",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
23
|
+
"@typescript-eslint/parser": "^4.33.0",
|
|
24
24
|
"chai": "^4.2.0",
|
|
25
25
|
"cz-conventional-changelog": "^3.2.0",
|
|
26
|
-
"eslint": "^
|
|
27
|
-
"eslint-config-prettier": "^
|
|
28
|
-
"eslint-config-salesforce": "^0.1.
|
|
29
|
-
"eslint-config-salesforce-license": "^0.1.
|
|
30
|
-
"eslint-config-salesforce-typescript": "^0.2.
|
|
26
|
+
"eslint": "^7.27.0",
|
|
27
|
+
"eslint-config-prettier": "^8.3.0",
|
|
28
|
+
"eslint-config-salesforce": "^0.1.6",
|
|
29
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
30
|
+
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
31
31
|
"eslint-plugin-header": "^3.0.0",
|
|
32
|
-
"eslint-plugin-import": "
|
|
33
|
-
"eslint-plugin-jsdoc": "^
|
|
32
|
+
"eslint-plugin-import": "2.25.2",
|
|
33
|
+
"eslint-plugin-jsdoc": "^35.1.2",
|
|
34
34
|
"eslint-plugin-prettier": "^3.1.3",
|
|
35
|
-
"husky": "^
|
|
36
|
-
"lint-staged": "^
|
|
37
|
-
"mocha": "^8.
|
|
35
|
+
"husky": "^7.0.4",
|
|
36
|
+
"lint-staged": "^11.0.0",
|
|
37
|
+
"mocha": "^8.4.0",
|
|
38
38
|
"nyc": "^15.1.0",
|
|
39
|
-
"prettier": "^2.
|
|
40
|
-
"pretty-quick": "^
|
|
39
|
+
"prettier": "^2.4.1",
|
|
40
|
+
"pretty-quick": "^3.1.0",
|
|
41
41
|
"shx": "0.3.3",
|
|
42
|
-
"sinon": "
|
|
43
|
-
"ts-node": "^
|
|
42
|
+
"sinon": "10.0.0",
|
|
43
|
+
"ts-node": "^10.0.0",
|
|
44
44
|
"typescript": "^4.1.3"
|
|
45
45
|
},
|
|
46
46
|
"config": {
|
|
@@ -110,18 +110,11 @@
|
|
|
110
110
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
111
111
|
"version": "oclif-dev 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
|
},
|
|
123
116
|
"sfdx": {
|
|
124
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
125
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
117
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/1.3.0.crt",
|
|
118
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/1.3.0.sig"
|
|
126
119
|
}
|
|
127
120
|
}
|