Skip to content

Commit e053ccf

Browse files
committed
chore: parking orbit cleanup
1 parent 78000fb commit e053ccf

File tree

5 files changed

+215
-248
lines changed

5 files changed

+215
-248
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $ sfdx force:apex:log:list -u [email protected]
3535
Alternatively, 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

6868
2. Set some breakpoints in your code.

bin/run

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
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'))

command-snapshot.json

Lines changed: 14 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
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",
@@ -20,7 +8,8 @@
208
"json",
219
"loglevel",
2210
"targetusername"
23-
]
11+
],
12+
"alias": []
2413
},
2514
{
2615
"command": "force:apex:log:get",
@@ -33,7 +22,8 @@
3322
"number",
3423
"outputdir",
3524
"targetusername"
36-
]
25+
],
26+
"alias": []
3727
},
3828
{
3929
"command": "force:apex:log:list",
@@ -43,7 +33,8 @@
4333
"json",
4434
"loglevel",
4535
"targetusername"
46-
]
36+
],
37+
"alias": []
4738
},
4839
{
4940
"command": "force:apex:log:tail",
@@ -54,8 +45,10 @@
5445
"debuglevel",
5546
"json",
5647
"loglevel",
57-
"skiptraceflag"
58-
]
48+
"skiptraceflag",
49+
"targetusername"
50+
],
51+
"alias": []
5952
},
6053
{
6154
"command": "force:apex:test:report",
@@ -71,7 +64,8 @@
7164
"testrunid",
7265
"verbose",
7366
"wait"
74-
]
67+
],
68+
"alias": []
7569
},
7670
{
7771
"command": "force:apex:test:run",
@@ -92,27 +86,7 @@
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
]

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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",
@@ -30,7 +30,7 @@
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",
@@ -101,8 +101,8 @@
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": {

0 commit comments

Comments
 (0)