Skip to content

Commit 9366b09

Browse files
committed
fix: use latest sf-plugins-core
1 parent 83a0b03 commit 9366b09

File tree

3 files changed

+221
-97
lines changed

3 files changed

+221
-97
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"author": "Thomas @amphro",
66
"bugs": "https://github.com/salesforcecli/plugin-command-reference/issues",
77
"dependencies": {
8-
"@oclif/core": "^0.5.34",
9-
"@salesforce/command": "^4.0.5",
8+
"@oclif/core": "^0.5.38",
109
"@salesforce/core": "^2.2.0",
1110
"@salesforce/kit": "^1.5.17",
11+
"@salesforce/sf-plugins-core": "^0.0.23",
1212
"@salesforce/ts-types": "^1.5.20",
1313
"chalk": "^3.0.0",
1414
"handlebars": "^4.7.7",

src/commands/commandreference/generate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import * as os from 'os';
99
import * as path from 'path';
10-
import { SfCommand } from '@salesforce/command';
10+
import { SfCommand } from '@salesforce/sf-plugins-core';
1111
import { Flags } from '@oclif/core';
1212
import { Plugin } from '@oclif/core/lib/interfaces/plugin';
1313
import { fs, Messages, SfdxError } from '@salesforce/core';
@@ -22,7 +22,7 @@ import { events, mergeDeep } from '../../utils';
2222
Messages.importMessagesDirectory(__dirname);
2323
const messages = Messages.loadMessages('@salesforce/plugin-command-reference', 'main');
2424

25-
export default class CommandReferenceGenerate extends SfCommand {
25+
export default class CommandReferenceGenerate extends SfCommand<AnyJson> {
2626
public static description = messages.getMessage('commandDescription');
2727

2828
public static flags = {

0 commit comments

Comments
 (0)