@salesforce/plugin-trust 2.4.3 → 2.4.5

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 +126 -22
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.4.3",
2
+ "version": "2.4.5",
3
3
  "commands": {
4
4
  "plugins:trust:verify": {
5
5
  "id": "plugins:trust:verify",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-trust",
3
3
  "description": "validate a digital signature for a npm package",
4
- "version": "2.4.3",
4
+ "version": "2.4.5",
5
5
  "author": "Salesforce",
6
6
  "main": "lib/index.js",
7
7
  "bin": {
@@ -10,8 +10,8 @@
10
10
  "bugs": "https://github.com/forcedotcom/cli/issues",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^2.3.0",
13
- "@salesforce/core": "^3.33.1",
14
- "@salesforce/plugin-telemetry": "^2.0.5",
13
+ "@salesforce/core": "^3.33.4",
14
+ "@salesforce/plugin-telemetry": "^2.1.3",
15
15
  "@salesforce/sf-plugins-core": "^2",
16
16
  "@salesforce/telemetry": "^3.2.13",
17
17
  "got": "^11",
@@ -24,27 +24,27 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@oclif/plugin-command-snapshot": "^3.3.3",
27
- "@salesforce/cli-plugins-testkit": "^3.2.18",
27
+ "@salesforce/cli-plugins-testkit": "^3.2.25",
28
28
  "@salesforce/dev-config": "^3.0.0",
29
- "@salesforce/dev-scripts": "^3.1.1",
30
- "@salesforce/plugin-command-reference": "^2.2.8",
29
+ "@salesforce/dev-scripts": "^4.1.2",
30
+ "@salesforce/plugin-command-reference": "^2.4.1",
31
31
  "@salesforce/prettier-config": "^0.0.2",
32
32
  "@salesforce/ts-sinon": "^1.4.6",
33
- "@swc/core": "^1.3.24",
33
+ "@swc/core": "^1.3.39",
34
34
  "@types/proxy-from-env": "^1.0.1",
35
35
  "@types/shelljs": "^0.8.9",
36
36
  "@types/sinon-chai": "^3.2.5",
37
37
  "@typescript-eslint/eslint-plugin": "^5.33.0",
38
38
  "@typescript-eslint/parser": "^5.51.0",
39
39
  "chai": "^4.3.7",
40
- "eslint": "^8.34.0",
40
+ "eslint": "^8.35.0",
41
41
  "eslint-config-prettier": "^8.5.0",
42
42
  "eslint-config-salesforce": "^1.1.1",
43
43
  "eslint-config-salesforce-license": "^0.1.6",
44
44
  "eslint-config-salesforce-typescript": "^1.1.1",
45
45
  "eslint-plugin-header": "^3.1.1",
46
- "eslint-plugin-import": "2.26.0",
47
- "eslint-plugin-jsdoc": "^39.8.0",
46
+ "eslint-plugin-import": "2.27.5",
47
+ "eslint-plugin-jsdoc": "^39.9.1",
48
48
  "eslint-plugin-sf-plugin": "^1.8.0",
49
49
  "husky": "^7.0.4",
50
50
  "mocha": "^9.1.3",
@@ -56,7 +56,8 @@
56
56
  "sinon": "10.0.0",
57
57
  "sinon-chai": "^3.7.0",
58
58
  "ts-node": "^10.0.0",
59
- "typescript": "^4.9.4"
59
+ "typescript": "^4.9.5",
60
+ "wireit": "^0.9.5"
60
61
  },
61
62
  "config": {},
62
63
  "engines": {
@@ -103,30 +104,133 @@
103
104
  },
104
105
  "repository": "salesforcecli/plugin-trust",
105
106
  "scripts": {
106
- "build": "sf-build",
107
+ "build": "wireit",
107
108
  "clean": "sf-clean",
108
109
  "clean-all": "sf-clean all",
109
110
  "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
110
- "compile": "sf-compile",
111
+ "compile": "wireit",
111
112
  "docs": "sf-docs",
112
- "format": "sf-format",
113
- "lint": "sf-lint",
113
+ "format": "wireit",
114
+ "lint": "wireit",
114
115
  "postpack": "shx rm -f oclif.manifest.json",
115
- "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
116
116
  "prepack": "sf-prepack",
117
117
  "prepare": "sf-install",
118
- "pretest": "sf-compile-test",
119
- "test": "sf-test",
120
- "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
121
- "test:deprecation-policy": "./bin/dev snapshot:compare",
118
+ "test": "wireit",
122
119
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000",
120
+ "test:only": "wireit",
123
121
  "version": "oclif readme"
124
122
  },
125
123
  "publishConfig": {
126
124
  "access": "public"
127
125
  },
126
+ "wireit": {
127
+ "build": {
128
+ "dependencies": [
129
+ "compile",
130
+ "lint"
131
+ ]
132
+ },
133
+ "compile": {
134
+ "command": "tsc -p . --pretty --incremental",
135
+ "files": [
136
+ "src/**/*.ts",
137
+ "tsconfig.json",
138
+ "messages/**"
139
+ ],
140
+ "output": [
141
+ "lib/**",
142
+ "*.tsbuildinfo"
143
+ ],
144
+ "clean": "if-file-deleted"
145
+ },
146
+ "format": {
147
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
148
+ "files": [
149
+ "src/**/*.ts",
150
+ "test/**/*.ts",
151
+ "schemas/**/*.json",
152
+ "command-snapshot.json",
153
+ ".prettier*"
154
+ ],
155
+ "output": []
156
+ },
157
+ "lint": {
158
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
159
+ "files": [
160
+ "src/**/*.ts",
161
+ "test/**/*.ts",
162
+ "messages/**",
163
+ ".eslint*"
164
+ ],
165
+ "output": []
166
+ },
167
+ "test:compile": {
168
+ "command": "tsc -p \"./test\" --pretty",
169
+ "files": [
170
+ "test/**/*.ts",
171
+ "tsconfig.json",
172
+ "test/tsconfig.json"
173
+ ],
174
+ "output": []
175
+ },
176
+ "test": {
177
+ "dependencies": [
178
+ "test:compile",
179
+ "test:only",
180
+ "test:command-reference",
181
+ "test:deprecation-policy",
182
+ "lint",
183
+ "test:json-schema"
184
+ ]
185
+ },
186
+ "test:only": {
187
+ "command": "nyc mocha \"test/**/*.test.ts\"",
188
+ "env": {
189
+ "FORCE_COLOR": "2"
190
+ },
191
+ "files": [
192
+ "test/**/*.ts",
193
+ "src/**/*.ts",
194
+ "tsconfig.json",
195
+ ".mocha*",
196
+ "test/tsconfig.json",
197
+ "!*.nut.ts",
198
+ ".nycrc"
199
+ ],
200
+ "output": []
201
+ },
202
+ "test:command-reference": {
203
+ "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
204
+ "files": [
205
+ "src/**/*.ts",
206
+ "messages/**",
207
+ "package.json"
208
+ ],
209
+ "output": [
210
+ "tmp/root"
211
+ ]
212
+ },
213
+ "test:deprecation-policy": {
214
+ "command": "\"./bin/dev\" snapshot:compare",
215
+ "files": [
216
+ "src/**/*.ts"
217
+ ],
218
+ "output": [],
219
+ "dependencies": [
220
+ "compile"
221
+ ]
222
+ },
223
+ "test:json-schema": {
224
+ "command": "\"./bin/dev\" schema:compare",
225
+ "files": [
226
+ "src/**/*.ts",
227
+ "schemas"
228
+ ],
229
+ "output": []
230
+ }
231
+ },
128
232
  "sfdx": {
129
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.4.3.crt",
130
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.4.3.sig"
233
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.4.5.crt",
234
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/2.4.5.sig"
131
235
  }
132
236
  }