File tree Expand file tree Collapse file tree 5 files changed +215
-248
lines changed
Expand file tree Collapse file tree 5 files changed +215
-248
lines changed Original file line number Diff line number Diff line change 3535Alternatively, you can also run the command from the ` plugin-apex ` package directory without linking the plugin:
3636
3737```
38- $ NODE_OPTIONS=--inspect-brk bin/run force:apex:log:list -u [email protected] 38+ $ NODE_OPTIONS=--inspect-brk bin/dev force:apex:log:list -u [email protected] 3939```
4040<br />
4141### Running the Test Suite
@@ -59,10 +59,10 @@ We recommend using the Visual Studio Code (VS Code) IDE for your plugin developm
5959$ sfdx force:apex:log:list -u [email protected] --dev-suspend 6060```
6161
62- Alternatively, replace ` sfdx ` with ` NODE_OPTIONS=--inspect-brk bin/run ` and run your command:
62+ Alternatively, replace ` sfdx ` with ` NODE_OPTIONS=--inspect-brk bin/dev ` and run your command:
6363
6464```
65- $ NODE_OPTIONS=--inspect-brk bin/run force:apex:log:list -u [email protected] 65+ $ NODE_OPTIONS=--inspect-brk bin/dev force:apex:log:list -u [email protected] 6666```
6767
68682 . Set some breakpoints in your code.
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
3- require ( '@oclif/command' ) . run ( ) . catch ( require ( '@oclif/errors/handle' ) ) ;
3+ require ( '@oclif/core' ) . run ( )
4+ . then ( require ( '@oclif/core/flush' ) )
5+ . catch ( require ( '@oclif/core/handle' ) )
Original file line number Diff line number Diff line change 11[
2- {
3- "command" : " commandreference:generate" ,
4- "plugin" : " @salesforce/plugin-command-reference" ,
5- "flags" : [
6- " erroronwarnings" ,
7- " hidden" ,
8- " json" ,
9- " loglevel" ,
10- " outputdir" ,
11- " plugins"
12- ]
13- },
142 {
153 "command" : " force:apex:execute" ,
164 "plugin" : " @salesforce/plugin-apex" ,
208 " json" ,
219 " loglevel" ,
2210 " targetusername"
23- ]
11+ ],
12+ "alias" : []
2413 },
2514 {
2615 "command" : " force:apex:log:get" ,
3322 " number" ,
3423 " outputdir" ,
3524 " targetusername"
36- ]
25+ ],
26+ "alias" : []
3727 },
3828 {
3929 "command" : " force:apex:log:list" ,
4333 " json" ,
4434 " loglevel" ,
4535 " targetusername"
46- ]
36+ ],
37+ "alias" : []
4738 },
4839 {
4940 "command" : " force:apex:log:tail" ,
5445 " debuglevel" ,
5546 " json" ,
5647 " loglevel" ,
57- " skiptraceflag"
58- ]
48+ " skiptraceflag" ,
49+ " targetusername"
50+ ],
51+ "alias" : []
5952 },
6053 {
6154 "command" : " force:apex:test:report" ,
7164 " testrunid" ,
7265 " verbose" ,
7366 " wait"
74- ]
67+ ],
68+ "alias" : []
7569 },
7670 {
7771 "command" : " force:apex:test:run" ,
9286 " tests" ,
9387 " verbose" ,
9488 " wait"
95- ]
96- },
97- {
98- "command" : " help" ,
99- "plugin" : " @oclif/plugin-help" ,
100- "flags" : [
101- " all"
102- ]
103- },
104- {
105- "command" : " snapshot:compare" ,
106- "plugin" : " @oclif/plugin-command-snapshot" ,
107- "flags" : [
108- " filepath"
109- ]
110- },
111- {
112- "command" : " snapshot:generate" ,
113- "plugin" : " @oclif/plugin-command-snapshot" ,
114- "flags" : [
115- " filepath"
116- ]
89+ ],
90+ "alias" : []
11791 }
11892]
Original file line number Diff line number Diff line change 1414 "tslib" : " ^1"
1515 },
1616 "devDependencies" : {
17- "@oclif/plugin-command-snapshot" : " ^3" ,
17+ "@oclif/plugin-command-snapshot" : " ^3.2.11 " ,
1818 "@oclif/plugin-help" : " ^5" ,
1919 "@oclif/test" : " ^2.2.2" ,
2020 "@salesforce/dev-config" : " 3.0.1" ,
3030 "globby" : " ^8" ,
3131 "mocha" : " ^5" ,
3232 "nyc" : " ^14.1.1" ,
33- "oclif" : " ^2.6.3 " ,
33+ "oclif" : " ^3.2.28 " ,
3434 "shx" : " ^0.3.4" ,
3535 "sinon" : " ^7.3.1" ,
3636 "ts-node" : " ^8.7.0" ,
101101 "postpack" : " shx rm -f oclif.manifest.json" ,
102102 "test" : " cross-env FORCE_COLOR=true mocha --recursive \" ./test/**/*.test.ts\" --full-trace" ,
103103 "version" : " oclif readme && git add README.md" ,
104- "test:deprecation-policy" : " ./bin/run snapshot:compare" ,
105- "test:command-reference" : " ./bin/run commandreference:generate -p apex --erroronwarnings" ,
104+ "test:deprecation-policy" : " ./bin/dev snapshot:compare" ,
105+ "test:command-reference" : " ./bin/dev commandreference:generate -p apex --erroronwarnings" ,
106106 "package" : " npm pack"
107107 },
108108 "husky" : {
You can’t perform that action at this time.
0 commit comments