@salesforce/source-deploy-retrieve 10.3.8 → 10.3.10

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 (1) hide show
  1. package/package.json +27 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/source-deploy-retrieve",
3
- "version": "10.3.8",
3
+ "version": "10.3.10",
4
4
  "description": "JavaScript library to run Salesforce metadata deploys and retrieves",
5
5
  "main": "lib/src/index.js",
6
6
  "author": "Salesforce",
@@ -25,7 +25,7 @@
25
25
  "node": ">=18.0.0"
26
26
  },
27
27
  "dependencies": {
28
- "@salesforce/core": "^6.5.1",
28
+ "@salesforce/core": "^6.5.3",
29
29
  "@salesforce/kit": "^3.0.15",
30
30
  "@salesforce/ts-types": "^2.0.9",
31
31
  "fast-levenshtein": "^3.0.0",
@@ -36,11 +36,11 @@
36
36
  "jszip": "^3.10.1",
37
37
  "mime": "2.6.0",
38
38
  "minimatch": "^5.1.6",
39
- "proxy-agent": "^6.3.1",
39
+ "proxy-agent": "^6.4.0",
40
40
  "ts-retry-promise": "^0.7.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@salesforce/cli-plugins-testkit": "^4.4.12",
43
+ "@salesforce/cli-plugins-testkit": "^5.1.9",
44
44
  "@salesforce/dev-scripts": "^8.3.0",
45
45
  "@types/deep-equal-in-any-order": "^1.0.1",
46
46
  "@types/fast-levenshtein": "^0.0.4",
@@ -54,6 +54,7 @@
54
54
  "eslint-plugin-sf-plugin": "^1.17.3",
55
55
  "jsforce": "^2.0.0-beta.29",
56
56
  "mocha-junit-reporter": "^1.23.3",
57
+ "mocha-snap": "^5.0.0",
57
58
  "shelljs": "0.8.5",
58
59
  "shx": "^0.3.4",
59
60
  "ts-node": "^10.9.2",
@@ -82,6 +83,7 @@
82
83
  "test:nuts:suggest": "mocha \"test/nuts/suggestType/suggestType.nut.ts\" --timeout 10000",
83
84
  "test:only": "wireit",
84
85
  "test:registry": "mocha ./test/registry/registryCompleteness.test.ts --timeout 50000",
86
+ "test:snapshot": "wireit",
85
87
  "update-registry": "npx ts-node scripts/update-registry/update2.ts",
86
88
  "update-supported-metadata": "npx ts-node scripts/update-registry/update-supported-metadata.ts"
87
89
  },
@@ -103,6 +105,7 @@
103
105
  ]
104
106
  },
105
107
  "compile": {
108
+ "clean": "if-file-deleted",
106
109
  "command": "tspc -p . --pretty --incremental",
107
110
  "files": [
108
111
  "src/**/*.ts",
@@ -113,8 +116,7 @@
113
116
  "output": [
114
117
  "lib/**",
115
118
  "*.tsbuildinfo"
116
- ],
117
- "clean": "if-file-deleted"
119
+ ]
118
120
  },
119
121
  "format": {
120
122
  "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
@@ -150,7 +152,8 @@
150
152
  "dependencies": [
151
153
  "test:only",
152
154
  "test:compile",
153
- "test:registry-validation"
155
+ "test:registry-validation",
156
+ "test:snapshot"
154
157
  ]
155
158
  },
156
159
  "test:registry-validation": {
@@ -163,7 +166,7 @@
163
166
  "output": []
164
167
  },
165
168
  "test:only": {
166
- "command": "nyc mocha \"test/**/*.test.ts\" --exclude \"test/registry/registryValidation.test.ts\"",
169
+ "command": "nyc mocha \"test/**/*.test.ts\" --exclude \"test/registry/registryValidation.test.ts\" --exclude \"test/snapshot\"",
167
170
  "env": {
168
171
  "FORCE_COLOR": "2"
169
172
  },
@@ -186,6 +189,22 @@
186
189
  "messages/**/*.md"
187
190
  ],
188
191
  "output": []
192
+ },
193
+ "test:snapshot": {
194
+ "command": "mocha \"test/snapshot/**/*.test.ts\" --parallel",
195
+ "env": {
196
+ "FORCE_COLOR": "2"
197
+ },
198
+ "files": [
199
+ "test/**/*.ts",
200
+ "src/**/*.ts",
201
+ "src/registry/*.json",
202
+ "**/tsconfig.json",
203
+ ".mocha*",
204
+ "!*.nut.ts",
205
+ ".nycrc"
206
+ ],
207
+ "output": []
189
208
  }
190
209
  }
191
210
  }