@salesforce/plugin-limits 2.3.2 → 2.3.4

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.
Files changed (2) hide show
  1. package/oclif.manifest.json +1 -1
  2. package/package.json +117 -23
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.3.2",
2
+ "version": "2.3.4",
3
3
  "commands": {
4
4
  "limits:api:display": {
5
5
  "id": "limits:api:display",
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-limits",
3
3
  "description": "commands to display api limits to your org",
4
- "version": "2.3.2",
4
+ "version": "2.3.4",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "main": "lib/index.js",
8
8
  "dependencies": {
9
- "@oclif/core": "^2.0.7",
9
+ "@oclif/core": "^2.1.7",
10
10
  "@salesforce/core": "^3.32.11",
11
- "@salesforce/kit": "^1.8.0",
12
- "@salesforce/sf-plugins-core": "^2.0.1",
11
+ "@salesforce/kit": "^1.8.5",
12
+ "@salesforce/sf-plugins-core": "^2.1.1",
13
13
  "@salesforce/ts-types": "^1.7.3",
14
14
  "tslib": "^2"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@oclif/plugin-command-snapshot": "^3.2.16",
18
18
  "@oclif/test": "^2.3.4",
19
- "@salesforce/cli-plugins-testkit": "^3.2.19",
19
+ "@salesforce/cli-plugins-testkit": "^3.2.21",
20
20
  "@salesforce/dev-config": "^3.1.0",
21
- "@salesforce/dev-scripts": "^3.1.0",
22
- "@salesforce/plugin-command-reference": "^2.2.9",
21
+ "@salesforce/dev-scripts": "^3.1.1",
22
+ "@salesforce/plugin-command-reference": "^2.3.1",
23
23
  "@salesforce/prettier-config": "^0.0.2",
24
- "@salesforce/ts-sinon": "^1.4.3",
24
+ "@salesforce/ts-sinon": "^1.4.6",
25
25
  "@swc/core": "^1.3.32",
26
26
  "@typescript-eslint/eslint-plugin": "^5.50.0",
27
27
  "@typescript-eslint/parser": "^5.48.1",
28
28
  "chai": "^4.3.7",
29
- "eslint": "^8.32.0",
29
+ "eslint": "^8.34.0",
30
30
  "eslint-config-prettier": "^8.6.0",
31
31
  "eslint-config-salesforce": "^1.1.1",
32
32
  "eslint-config-salesforce-license": "^0.1.6",
@@ -34,18 +34,19 @@
34
34
  "eslint-plugin-header": "^3.1.1",
35
35
  "eslint-plugin-import": "2.27.5",
36
36
  "eslint-plugin-jsdoc": "^39.6.4",
37
- "eslint-plugin-sf-plugin": "^1.8.0",
37
+ "eslint-plugin-sf-plugin": "^1.8.1",
38
38
  "husky": "^7.0.4",
39
39
  "mocha": "^9.1.3",
40
40
  "nyc": "^15.1.0",
41
- "oclif": "^3.6.0",
42
- "prettier": "^2.8.1",
41
+ "oclif": "^3.6.3",
42
+ "prettier": "^2.8.4",
43
43
  "pretty-quick": "^3.1.0",
44
44
  "shx": "0.3.4",
45
45
  "sinon": "10.0.0",
46
46
  "swc": "^1.0.11",
47
47
  "ts-node": "^10.4.0",
48
- "typescript": "^4.9.4"
48
+ "typescript": "^4.9.5",
49
+ "wireit": "^0.9.3"
49
50
  },
50
51
  "config": {},
51
52
  "engines": {
@@ -79,13 +80,13 @@
79
80
  ],
80
81
  "topics": {
81
82
  "limits": {
82
- "description": "display current org’s limits",
83
+ "description": "Display an org’s limits.",
83
84
  "subtopics": {
84
85
  "api": {
85
- "description": "display current org’s api limits"
86
+ "description": "Display an org’s API limits."
86
87
  },
87
88
  "recordcounts": {
88
- "description": "display record counts for the current"
89
+ "description": "Display record counts for an org."
89
90
  }
90
91
  }
91
92
  }
@@ -102,22 +103,115 @@
102
103
  "format": "sf-format",
103
104
  "lint": "sf-lint",
104
105
  "postpack": "shx rm -f oclif.manifest.json",
105
- "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference && yarn test:json-schema",
106
106
  "prepack": "sf-prepack",
107
107
  "prepare": "sf-install",
108
108
  "pretest": "sf-compile-test",
109
109
  "test": "sf-test",
110
- "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
111
- "test:deprecation-policy": "./bin/dev snapshot:compare",
112
- "test:json-schema": "./bin/dev schema:compare",
113
- "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
110
+ "test:command-reference": "wireit",
111
+ "test:compile": "wireit",
112
+ "test:deprecation-policy": "wireit",
113
+ "test:json-schema": "wireit",
114
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 5",
115
+ "test:only": "wireit",
114
116
  "version": "oclif-dev readme"
115
117
  },
116
118
  "publishConfig": {
117
119
  "access": "public"
118
120
  },
121
+ "wireit": {
122
+ "build": {
123
+ "dependencies": [
124
+ "compile",
125
+ "lint"
126
+ ]
127
+ },
128
+ "compile": {
129
+ "command": "tsc -p . --pretty --incremental",
130
+ "files": [
131
+ "src/**/*.ts",
132
+ "tsconfig.json",
133
+ "messages/**"
134
+ ],
135
+ "output": [
136
+ "lib/**",
137
+ "*.tsbuildinfo"
138
+ ],
139
+ "clean": "if-file-deleted"
140
+ },
141
+ "format": {
142
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\""
143
+ },
144
+ "lint": {
145
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
146
+ "files": [
147
+ "src/**/*.ts",
148
+ "test/**/*.ts",
149
+ "messages/**",
150
+ ".eslintignore",
151
+ ".eslintrc.js"
152
+ ],
153
+ "output": []
154
+ },
155
+ "test:compile": {
156
+ "command": "tsc -p \"./test\" --pretty",
157
+ "files": [
158
+ "test/**/*.ts",
159
+ "tsconfig.json",
160
+ "test/tsconfig.json"
161
+ ],
162
+ "output": []
163
+ },
164
+ "test": {
165
+ "dependencies": [
166
+ "test:compile",
167
+ "test:only",
168
+ "test:command-reference",
169
+ "test:deprecation-policy",
170
+ "lint",
171
+ "test:json-schema"
172
+ ]
173
+ },
174
+ "test:only": {
175
+ "command": "nyc mocha \"test/**/*.test.ts\"",
176
+ "files": [
177
+ "test/**/*.ts",
178
+ "src/**/*.ts",
179
+ "tsconfig.json",
180
+ "test/tsconfig.json"
181
+ ],
182
+ "output": []
183
+ },
184
+ "test:command-reference": {
185
+ "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
186
+ "files": [
187
+ "src/**/*.ts",
188
+ "messages/**"
189
+ ],
190
+ "output": [
191
+ "tmp/root"
192
+ ]
193
+ },
194
+ "test:deprecation-policy": {
195
+ "command": "\"./bin/dev\" snapshot:compare",
196
+ "files": [
197
+ "src/**/*.ts"
198
+ ],
199
+ "output": [],
200
+ "dependencies": [
201
+ "compile"
202
+ ]
203
+ },
204
+ "test:json-schema": {
205
+ "command": "\"./bin/dev\" schema:compare",
206
+ "files": [
207
+ "src/**/*.ts",
208
+ "schemas"
209
+ ],
210
+ "output": []
211
+ }
212
+ },
119
213
  "sfdx": {
120
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.3.2.crt",
121
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.3.2.sig"
214
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.3.4.crt",
215
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-limits/2.3.4.sig"
122
216
  }
123
217
  }