@salesforce/plugin-limits 1.2.3 → 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 +19 -21
- package/README.md +11 -8
- package/oclif.manifest.json +1 -1
- package/package.json +8 -15
package/CHANGELOG.md
CHANGED
|
@@ -2,62 +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.3.0](https://github.com/salesforcecli/plugin-limits/compare/v1.2.3...v1.3.0) (2021-12-02)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- bump deps ([1df1fef](https://github.com/salesforcecli/plugin-limits/commit/1df1fef17d0fc6655fa1db79f525948e893d557c))
|
|
10
|
+
|
|
5
11
|
### [1.2.3](https://github.com/salesforcecli/plugin-limits/compare/v1.2.2...v1.2.3) (2021-11-02)
|
|
6
12
|
|
|
7
13
|
### [1.2.2](https://github.com/salesforcecli/plugin-limits/compare/v1.2.1...v1.2.2) (2021-10-05)
|
|
8
14
|
|
|
9
|
-
|
|
10
15
|
### Bug Fixes
|
|
11
16
|
|
|
12
|
-
|
|
17
|
+
- update deps ([2f291d9](https://github.com/salesforcecli/plugin-limits/commit/2f291d9b20ae5d37bac285fb3964d97219d52526))
|
|
13
18
|
|
|
14
19
|
### [1.2.1](https://github.com/salesforcecli/plugin-limits/compare/v1.2.0...v1.2.1) (2021-05-10)
|
|
15
20
|
|
|
16
21
|
## [1.2.0](https://github.com/salesforcecli/plugin-limits/compare/v1.1.0...v1.2.0) (2021-04-29)
|
|
17
22
|
|
|
18
|
-
|
|
19
23
|
### Features
|
|
20
24
|
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
- add recordcounts command ([7628eaa](https://github.com/salesforcecli/plugin-limits/commit/7628eaab70a6b1fc9b015f22b4040de198d53745))
|
|
23
26
|
|
|
24
27
|
### Bug Fixes
|
|
25
28
|
|
|
26
|
-
|
|
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))
|
|
29
32
|
|
|
30
33
|
## [1.1.0](https://github.com/salesforcecli/plugin-limits/compare/v1.0.6...v1.1.0) (2021-04-26)
|
|
31
34
|
|
|
32
|
-
|
|
33
35
|
### Features
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
- add nut test ([#77](https://github.com/salesforcecli/plugin-limits/issues/77)) ([fa87c17](https://github.com/salesforcecli/plugin-limits/commit/fa87c172384d09e5a1c677743b20d9c2096fa445))
|
|
36
38
|
|
|
37
39
|
### [1.0.6](https://github.com/salesforcecli/plugin-limits/compare/v1.0.5...v1.0.6) (2021-04-13)
|
|
38
40
|
|
|
39
|
-
|
|
40
41
|
### Bug Fixes
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
- update help for force:limit:api:display ([86f3f51](https://github.com/salesforcecli/plugin-limits/commit/86f3f519e91fff81e5a1478a0c963e8ce011ce0d))
|
|
43
44
|
|
|
44
45
|
### [1.0.5](https://github.com/salesforcecli/plugin-limits/compare/v1.0.4...v1.0.5) (2021-04-01)
|
|
45
46
|
|
|
46
|
-
|
|
47
47
|
### Bug Fixes
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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))
|
|
52
52
|
|
|
53
53
|
### [1.0.4](https://github.com/salesforcecli/plugin-limits/compare/v1.0.3...v1.0.4) (2021-02-19)
|
|
54
54
|
|
|
55
55
|
### [1.0.3](https://github.com/salesforcecli/plugin-limits/compare/v1.0.2...v1.0.3) (2021-01-21)
|
|
56
56
|
|
|
57
|
-
|
|
58
57
|
### Bug Fixes
|
|
59
58
|
|
|
60
|
-
|
|
59
|
+
- add force topic ([970113e](https://github.com/salesforcecli/plugin-limits/commit/970113e53651ee63481ce9060e15e36352bbe493))
|
|
61
60
|
|
|
62
61
|
### [1.0.2](https://github.com/salesforcecli/plugin-limits/compare/v1.0.1...v1.0.2) (2020-12-16)
|
|
63
62
|
|
|
@@ -65,8 +64,7 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
65
64
|
|
|
66
65
|
## 1.0.0 (2020-11-16)
|
|
67
66
|
|
|
68
|
-
|
|
69
67
|
### Bug Fixes
|
|
70
68
|
|
|
71
|
-
|
|
72
|
-
|
|
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,9 +67,11 @@ 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
|
|
|
@@ -80,7 +82,7 @@ display current org’s limits
|
|
|
80
82
|
When you execute this command in a project, it provides limit information for your default scratch org.
|
|
81
83
|
|
|
82
84
|
USAGE
|
|
83
|
-
$ sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
85
|
+
$ sfdx force:limits:api:display [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
84
86
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
85
87
|
|
|
86
88
|
OPTIONS
|
|
@@ -103,7 +105,7 @@ EXAMPLES
|
|
|
103
105
|
sfdx force:limits:api:display -u me@my.org
|
|
104
106
|
```
|
|
105
107
|
|
|
106
|
-
_See code: [src/commands/force/limits/api/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v1.2.
|
|
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)_
|
|
107
109
|
|
|
108
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]`
|
|
109
111
|
|
|
@@ -114,7 +116,7 @@ display record counts for the specified standard and custom objects
|
|
|
114
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.
|
|
115
117
|
|
|
116
118
|
USAGE
|
|
117
|
-
$ 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
|
|
118
120
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
119
121
|
|
|
120
122
|
OPTIONS
|
|
@@ -135,8 +137,8 @@ OPTIONS
|
|
|
135
137
|
this command invocation
|
|
136
138
|
|
|
137
139
|
DESCRIPTION
|
|
138
|
-
Use this command to get an approximate count of the records in standard or custom objects in your org. These record
|
|
139
|
-
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
|
|
140
142
|
they're calculated asynchronously and your org’s storage usage isn’t updated immediately.
|
|
141
143
|
|
|
142
144
|
EXAMPLES
|
|
@@ -144,5 +146,6 @@ EXAMPLES
|
|
|
144
146
|
sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org
|
|
145
147
|
```
|
|
146
148
|
|
|
147
|
-
_See code: [src/commands/force/limits/recordcounts/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v1.2.
|
|
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
|
+
|
|
148
151
|
<!-- commandsstop -->
|
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,13 +1,13 @@
|
|
|
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": "^4.
|
|
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": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@oclif/plugin-command-snapshot": "^2.0.0",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^1.4.10",
|
|
17
17
|
"@salesforce/dev-config": "^2.1.2",
|
|
18
|
-
"@salesforce/dev-scripts": "^0.
|
|
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
21
|
"@salesforce/ts-sinon": "1.3.21",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
30
30
|
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
31
31
|
"eslint-plugin-header": "^3.0.0",
|
|
32
|
-
"eslint-plugin-import": "2.
|
|
32
|
+
"eslint-plugin-import": "2.25.2",
|
|
33
33
|
"eslint-plugin-jsdoc": "^35.1.2",
|
|
34
34
|
"eslint-plugin-prettier": "^3.1.3",
|
|
35
|
-
"husky": "^
|
|
35
|
+
"husky": "^7.0.4",
|
|
36
36
|
"lint-staged": "^11.0.0",
|
|
37
37
|
"mocha": "^8.4.0",
|
|
38
38
|
"nyc": "^15.1.0",
|
|
@@ -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/security/@salesforce/plugin-limits/1.
|
|
125
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/1.
|
|
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
|
}
|