@salesforce/plugin-limits 2.0.0 → 2.0.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 CHANGED
@@ -98,8 +98,8 @@ DESCRIPTION
98
98
  When you execute this command in a project, it provides limit information for your default scratch org.
99
99
 
100
100
  EXAMPLES
101
- sfdx force:limits:api:display
102
- sfdx force:limits:api:display -u me@my.org
101
+ $ sfdx force:limits:api:display
102
+ $ sfdx force:limits:api:display -u me@my.org
103
103
  ```
104
104
 
105
105
  _See code: [src/commands/force/limits/api/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v2.0.0/src/commands/force/limits/api/display.ts)_
@@ -136,9 +136,9 @@ DESCRIPTION
136
136
  record counts, run the command without the '--sobjecttype' parameter.
137
137
 
138
138
  EXAMPLES
139
- sfdx force:limits:recordcounts:display
140
- sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity
141
- sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org
139
+ $ sfdx force:limits:recordcounts:display
140
+ $ sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity
141
+ $ sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org
142
142
  ```
143
143
 
144
144
  _See code: [src/commands/force/limits/recordcounts/display.ts](https://github.com/salesforcecli/plugin-limits/blob/v2.0.0/src/commands/force/limits/recordcounts/display.ts)_
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "description": "display current org’s limits\nWhen you execute this command in a project, it provides limit information for your default scratch org.",
3
- "examples": ["sfdx force:limits:api:display", "sfdx force:limits:api:display -u me@my.org"]
3
+ "examples": ["$ sfdx force:limits:api:display", "$ sfdx force:limits:api:display -u me@my.org"]
4
4
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "commandDescription": "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.",
3
3
  "examples": [
4
- "sfdx force:limits:recordcounts:display",
5
- "sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity",
6
- "sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org"
4
+ "$ sfdx force:limits:recordcounts:display",
5
+ "$ sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity",
6
+ "$ sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.org"
7
7
  ],
8
8
  "sobjecttypeFlagDescription": "comma-separated list of API names of standard or custom objects for which to display record counts"
9
9
  }
@@ -1 +1 @@
1
- {"version":"2.0.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. To display all available record counts, run the command without the '--sobjecttype' parameter.","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","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"}},"args":[]}}}
1
+ {"version":"2.0.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.","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. To display all available record counts, run the command without the '--sobjecttype' parameter.","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","$ 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"}},"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": "2.0.0",
4
+ "version": "2.0.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.6.3",
10
- "@salesforce/command": "^5.0.4",
10
+ "@salesforce/command": "^5.2.10",
11
11
  "@salesforce/core": "^3.10.1",
12
12
  "tslib": "^2"
13
13
  },
@@ -19,7 +19,7 @@
19
19
  "@salesforce/dev-scripts": "^2.0.0",
20
20
  "@salesforce/plugin-command-reference": "^1.3.0",
21
21
  "@salesforce/prettier-config": "^0.0.2",
22
- "@salesforce/ts-sinon": "1.3.21",
22
+ "@salesforce/ts-sinon": "1.4.0",
23
23
  "@typescript-eslint/eslint-plugin": "^4.33.0",
24
24
  "@typescript-eslint/parser": "^4.33.0",
25
25
  "chai": "^4.2.0",
@@ -30,7 +30,7 @@
30
30
  "eslint-config-salesforce-license": "^0.1.6",
31
31
  "eslint-config-salesforce-typescript": "^0.2.7",
32
32
  "eslint-plugin-header": "^3.0.0",
33
- "eslint-plugin-import": "2.25.4",
33
+ "eslint-plugin-import": "2.26.0",
34
34
  "eslint-plugin-jsdoc": "^35.1.2",
35
35
  "eslint-plugin-prettier": "^3.1.3",
36
36
  "husky": "^7.0.4",
@@ -50,7 +50,7 @@
50
50
  }
51
51
  },
52
52
  "engines": {
53
- "node": ">=12.0.0"
53
+ "node": ">=14.0.0"
54
54
  },
55
55
  "files": [
56
56
  "/lib",
@@ -118,7 +118,7 @@
118
118
  "access": "public"
119
119
  },
120
120
  "sfdx": {
121
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.0.0.crt",
122
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.0.0.sig"
121
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.0.2.crt",
122
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.0.2.sig"
123
123
  }
124
124
  }
package/CHANGELOG.md DELETED
@@ -1,81 +0,0 @@
1
- # Changelog
2
-
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
-
5
- ## [2.0.0](https://github.com/salesforcecli/plugin-limits/compare/v1.3.0...v2.0.0) (2022-04-01)
6
-
7
- ### Features
8
-
9
- - display all record counts ([2e905ce](https://github.com/salesforcecli/plugin-limits/commit/2e905ceaef69865680b1cdfb5a9cd0468302f753))
10
-
11
- ### Bug Fixes
12
-
13
- - parking orbit plugin-limits ([e870115](https://github.com/salesforcecli/plugin-limits/commit/e870115b61bb8d6201787bf2d74e2ae3de5b13e2))
14
- - parking orbit plugin-limits ([ce77180](https://github.com/salesforcecli/plugin-limits/commit/ce77180d05176f6f1016762a06356210d6bf46d3))
15
-
16
- ## [1.3.0](https://github.com/salesforcecli/plugin-limits/compare/v1.2.3...v1.3.0) (2021-12-02)
17
-
18
- ### Features
19
-
20
- - bump deps ([1df1fef](https://github.com/salesforcecli/plugin-limits/commit/1df1fef17d0fc6655fa1db79f525948e893d557c))
21
-
22
- ### [1.2.3](https://github.com/salesforcecli/plugin-limits/compare/v1.2.2...v1.2.3) (2021-11-02)
23
-
24
- ### [1.2.2](https://github.com/salesforcecli/plugin-limits/compare/v1.2.1...v1.2.2) (2021-10-05)
25
-
26
- ### Bug Fixes
27
-
28
- - update deps ([2f291d9](https://github.com/salesforcecli/plugin-limits/commit/2f291d9b20ae5d37bac285fb3964d97219d52526))
29
-
30
- ### [1.2.1](https://github.com/salesforcecli/plugin-limits/compare/v1.2.0...v1.2.1) (2021-05-10)
31
-
32
- ## [1.2.0](https://github.com/salesforcecli/plugin-limits/compare/v1.1.0...v1.2.0) (2021-04-29)
33
-
34
- ### Features
35
-
36
- - add recordcounts command ([7628eaa](https://github.com/salesforcecli/plugin-limits/commit/7628eaab70a6b1fc9b015f22b4040de198d53745))
37
-
38
- ### Bug Fixes
39
-
40
- - add 0 count response output ([14ede94](https://github.com/salesforcecli/plugin-limits/commit/14ede94c39dfc7cca008a22b2bd2fcecee3e0c5c))
41
- - arg in test ([b56ad46](https://github.com/salesforcecli/plugin-limits/commit/b56ad4687d59dc4272b4a6c770d4f81b059ace74))
42
- - update message ([3e5c28f](https://github.com/salesforcecli/plugin-limits/commit/3e5c28f118caceaff6acaace3e0ed5f94cf1bca9))
43
-
44
- ## [1.1.0](https://github.com/salesforcecli/plugin-limits/compare/v1.0.6...v1.1.0) (2021-04-26)
45
-
46
- ### Features
47
-
48
- - add nut test ([#77](https://github.com/salesforcecli/plugin-limits/issues/77)) ([fa87c17](https://github.com/salesforcecli/plugin-limits/commit/fa87c172384d09e5a1c677743b20d9c2096fa445))
49
-
50
- ### [1.0.6](https://github.com/salesforcecli/plugin-limits/compare/v1.0.5...v1.0.6) (2021-04-13)
51
-
52
- ### Bug Fixes
53
-
54
- - update help for force:limit:api:display ([86f3f51](https://github.com/salesforcecli/plugin-limits/commit/86f3f519e91fff81e5a1478a0c963e8ce011ce0d))
55
-
56
- ### [1.0.5](https://github.com/salesforcecli/plugin-limits/compare/v1.0.4...v1.0.5) (2021-04-01)
57
-
58
- ### Bug Fixes
59
-
60
- - jobs names [skip-validate-pr] ([4103421](https://github.com/salesforcecli/plugin-limits/commit/4103421091618625c08cec33a98682194d43e589))
61
- - leif .yml merge [skip-validate-pr] ([bdbf265](https://github.com/salesforcecli/plugin-limits/commit/bdbf2658b369ad3053cca3ed50cc3c0cafffcbb1))
62
- - leif .yml merge [skip-validate-pr] ([42dc4b1](https://github.com/salesforcecli/plugin-limits/commit/42dc4b1ae9308f54efcbe24fab564b135a287e24))
63
-
64
- ### [1.0.4](https://github.com/salesforcecli/plugin-limits/compare/v1.0.3...v1.0.4) (2021-02-19)
65
-
66
- ### [1.0.3](https://github.com/salesforcecli/plugin-limits/compare/v1.0.2...v1.0.3) (2021-01-21)
67
-
68
- ### Bug Fixes
69
-
70
- - add force topic ([970113e](https://github.com/salesforcecli/plugin-limits/commit/970113e53651ee63481ce9060e15e36352bbe493))
71
-
72
- ### [1.0.2](https://github.com/salesforcecli/plugin-limits/compare/v1.0.1...v1.0.2) (2020-12-16)
73
-
74
- ### [1.0.1](https://github.com/salesforcecli/plugin-limits/compare/v1.0.0...v1.0.1) (2020-12-10)
75
-
76
- ## 1.0.0 (2020-11-16)
77
-
78
- ### Bug Fixes
79
-
80
- - add command, test, config/readme housekeeping ([8273060](https://github.com/salesforcecli/plugin-limits/commit/82730609c6eb3c6c294fc3b16096a7ebc354b2f4))
81
- - bumped release-orb to 4 ([bcdc288](https://github.com/salesforcecli/plugin-limits/commit/bcdc288aa6b41f0ca3c93dc00fa5270390248069))