66 "bugs" : " https://github.com/forcedotcom/cli/issues" ,
77 "main" : " lib/index.js" ,
88 "dependencies" : {
9- "@oclif/core" : " ^2.1.4 " ,
9+ "@oclif/core" : " ^2.3.1 " ,
1010 "@salesforce/apex-node" : " ^1.6.0" ,
11- "@salesforce/core" : " ^3.33.4 " ,
12- "@salesforce/sf-plugins-core" : " ^2.1.2 " ,
11+ "@salesforce/core" : " ^3.33.5 " ,
12+ "@salesforce/sf-plugins-core" : " ^2.2.3 " ,
1313 "chalk" : " ^4.1.0" ,
1414 "tslib" : " ^2"
1515 },
1616 "devDependencies" : {
1717 "@oclif/plugin-command-snapshot" : " ^3.3.6" ,
1818 "@oclif/plugin-help" : " ^5" ,
1919 "@salesforce/dev-config" : " 3.1.0" ,
20- "@salesforce/dev-scripts" : " ^3 .1.1" ,
20+ "@salesforce/dev-scripts" : " ^4 .1.1" ,
2121 "@salesforce/plugin-command-reference" : " ^2.3.1" ,
2222 "@salesforce/prettier-config" : " ^0.0.2" ,
2323 "@salesforce/ts-sinon" : " ^1.4.4" ,
2424 "@salesforce/ts-types" : " 1.7.3" ,
25- "@swc/core" : " ^1.3.35" ,
26- "@types/mkdirp" : " 0.5.2" ,
25+ "@swc/core" : " ^1.3.37" ,
2726 "@typescript-eslint/eslint-plugin" : " ^5.53.0" ,
2827 "@typescript-eslint/parser" : " ^5.53.0" ,
2928 "chai" : " ^4.2.0" ,
30- "cross-env" : " 7.0.3" ,
3129 "eslint" : " ^8.32.0" ,
3230 "eslint-config-prettier" : " ^8.6.0" ,
3331 "eslint-config-salesforce" : " ^1.1.0" ,
3634 "eslint-plugin-header" : " ^3.0.0" ,
3735 "eslint-plugin-import" : " ^2.27.5" ,
3836 "eslint-plugin-jsdoc" : " ^39.3.6" ,
39- "eslint-plugin-sf-plugin" : " ^1.8.1" ,
40- "globby" : " ^8" ,
37+ "eslint-plugin-sf-plugin" : " ^1.9.2" ,
4138 "husky" : " ^7.0.4" ,
4239 "mocha" : " ^9.1.3" ,
4340 "nyc" : " ^15.1.0" ,
4441 "oclif" : " ^3.7.0" ,
45- "prettier" : " ^2.7.1 " ,
42+ "prettier" : " ^2.8.4 " ,
4643 "pretty-quick" : " ^3.1.0" ,
4744 "shx" : " ^0.3.4" ,
4845 "sinon" : " 10.0.0" ,
4946 "ts-node" : " ^10.0.0" ,
50- "typescript" : " 4.9.5"
47+ "typescript" : " 4.9.5" ,
48+ "wireit" : " ^0.9.5"
5149 },
5250 "engines" : {
5351 "node" : " >=14.0.0"
104102 },
105103 "repository" : " salesforcecli/plugin-apex" ,
106104 "scripts" : {
107- "build" : " sf-build " ,
105+ "build" : " wireit " ,
108106 "clean" : " sf-clean" ,
109107 "clean-all" : " sf-clean all" ,
110108 "clean:lib" : " shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json" ,
111- "compile" : " sf-compile " ,
109+ "compile" : " wireit " ,
112110 "docs" : " sf-docs" ,
113- "format" : " sf-format " ,
114- "lint" : " sf-lint " ,
111+ "format" : " wireit " ,
112+ "lint" : " wireit " ,
115113 "postpack" : " shx rm -f oclif.manifest.json" ,
116- "posttest" : " yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference" ,
117114 "prepack" : " sf-prepack" ,
118115 "prepare" : " sf-install" ,
119- "pretest" : " sf-compile-test" ,
120- "test" : " sf-test" ,
121- "test:command-reference" : " ./bin/dev commandreference:generate --erroronwarnings" ,
122- "test:deprecation-policy" : " ./bin/dev snapshot:compare" ,
123- "test:json-schema" : " ./bin/dev schema:compare" ,
116+ "test" : " wireit" ,
124117 "test:nuts" : " nyc mocha \" **/*.nut.ts\" --slow 4500 --timeout 600000 --parallel" ,
118+ "test:only" : " wireit" ,
125119 "version" : " oclif readme"
126120 },
127121 "lint-staged" : {
128122 "./{src,test}/**/*.{ts,js}" : [
129123 " eslint -c .eslintrc.json --fix"
130124 ]
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+ }
131231 }
132- }
232+ }
0 commit comments