@salesforce/plugin-limits 2.1.1 → 2.1.2
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/README.md +2 -2
- package/lib/commands/force/limits/api/display.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -50,11 +50,11 @@ yarn install
|
|
|
50
50
|
yarn build
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
To use your plugin, run using the local `./bin/
|
|
53
|
+
To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
56
|
# Run using local run file.
|
|
57
|
-
./bin/
|
|
57
|
+
./bin/dev force:limits
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.1.
|
|
1
|
+
{"version":"2.1.2","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.","strict":true,"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","pluginAlias":"@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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true},"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. To display all available record counts, run the command without the '--sobjecttype' parameter.","strict":true,"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","pluginAlias":"@salesforce/plugin-limits","pluginType":"core","aliases":[],"examples":["$ sfdx force:limits:recordcounts:display","$ 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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"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","multiple":false}},"args":[],"requiresUsername":true,"result":{"tableColumnData":{"name":{"header":"sObject"},"count":{"header":"Record Count"}}},"flagsConfig":{"sobjecttype":{"kind":"array","char":"s","description":"comma-separated list of API names of standard or custom objects for which to display record counts","input":[],"multiple":false,"type":"option"}}}}}
|
package/package.json
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-limits",
|
|
3
3
|
"description": "commands to display api limits to your org",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@oclif/core": "^1.20.4",
|
|
10
10
|
"@salesforce/command": "^5.2.22",
|
|
11
|
-
"@salesforce/core": "^3.
|
|
11
|
+
"@salesforce/core": "^3.32.2",
|
|
12
12
|
"tslib": "^2"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^3",
|
|
16
|
-
"@salesforce/cli-plugins-testkit": "^3.2.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^3.2.11",
|
|
16
|
+
"@salesforce/cli-plugins-testkit": "^3.2.9",
|
|
17
17
|
"@salesforce/dev-config": "^3.0.0",
|
|
18
18
|
"@salesforce/dev-scripts": "^3.1.0",
|
|
19
|
-
"@salesforce/plugin-command-reference": "^1.5.
|
|
19
|
+
"@salesforce/plugin-command-reference": "^1.5.2",
|
|
20
20
|
"@salesforce/prettier-config": "^0.0.2",
|
|
21
21
|
"@salesforce/ts-sinon": "1.4.0",
|
|
22
22
|
"@swc/core": "^1.3.16",
|
|
23
23
|
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
|
24
24
|
"@typescript-eslint/parser": "^5.42.0",
|
|
25
25
|
"chai": "^4.3.7",
|
|
26
|
-
"eslint": "^8.
|
|
26
|
+
"eslint": "^8.28.0",
|
|
27
27
|
"eslint-config-prettier": "^8.5.0",
|
|
28
28
|
"eslint-config-salesforce": "^1.1.0",
|
|
29
29
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
30
30
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
31
31
|
"eslint-plugin-header": "^3.0.0",
|
|
32
32
|
"eslint-plugin-import": "2.26.0",
|
|
33
|
-
"eslint-plugin-jsdoc": "^39.
|
|
33
|
+
"eslint-plugin-jsdoc": "^39.6.2",
|
|
34
34
|
"husky": "^7.0.4",
|
|
35
35
|
"mocha": "^9.1.3",
|
|
36
36
|
"nyc": "^15.1.0",
|
|
37
|
+
"oclif": "^3.2.28",
|
|
37
38
|
"prettier": "^2.7.1",
|
|
38
39
|
"pretty-quick": "^3.1.0",
|
|
39
40
|
"shx": "0.3.4",
|
|
40
41
|
"sinon": "10.0.0",
|
|
41
42
|
"ts-node": "^10.0.0",
|
|
42
|
-
"typescript": "^4.
|
|
43
|
+
"typescript": "^4.9.3"
|
|
43
44
|
},
|
|
44
45
|
"config": {},
|
|
45
46
|
"engines": {
|
|
@@ -111,7 +112,7 @@
|
|
|
111
112
|
"access": "public"
|
|
112
113
|
},
|
|
113
114
|
"sfdx": {
|
|
114
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.1.
|
|
115
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.1.
|
|
115
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.1.2.crt",
|
|
116
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.1.2.sig"
|
|
116
117
|
}
|
|
117
118
|
}
|