Skip to content

Commit

Permalink
feat: use @ocilf/core v2 (#274)
Browse files Browse the repository at this point in the history
* feat: use @ocilf/core v2

* chore: bump deps
  • Loading branch information
mdonnalley authored Jan 18, 2023
1 parent 3a4447a commit ec6a253
Show file tree
Hide file tree
Showing 3 changed files with 476 additions and 252 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Salesforce",
"bugs": "https://github.com/oclif/plugin-command-snapshot/issues",
"dependencies": {
"@oclif/core": "^1.24.0",
"@oclif/core": "^2.0.2-beta.6",
"chalk": "^4.1.2",
"just-diff": "^5.2.0",
"lodash": "^4.17.21",
Expand All @@ -16,7 +16,7 @@
"devDependencies": {
"@commitlint/config-conventional": "^12.1.4",
"@oclif/plugin-help": "^5.1.22",
"@oclif/test": "^2.2.20",
"@oclif/test": "^2.3.0",
"@types/chai": "^4.3.4",
"@types/mocha": "^8",
"@types/node": "^15",
Expand All @@ -29,7 +29,7 @@
"husky": "6",
"mocha": "^8",
"nyc": "^15",
"oclif": "^2.6.3",
"oclif": "^3.5.0",
"sinon": "^11.1.2",
"ts-node": "^10",
"typescript": "^4.9.4"
Expand Down Expand Up @@ -74,4 +74,4 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\" --timeout 20000",
"version": "oclif readme && git add README.md"
}
}
}
4 changes: 2 additions & 2 deletions src/snapshot-command.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Command, Interfaces} from '@oclif/core'
import {Command} from '@oclif/core'
import * as _ from 'lodash'

export type SnapshotEntry = {
Expand All @@ -9,7 +9,7 @@ export type SnapshotEntry = {
}

export abstract class SnapshotCommand extends Command {
get commands(): Interfaces.Command.Loadable[] {
get commands(): Command.Loadable[] {
const devPlugins = this.config.pjson.oclif.devPlugins ?? []
const commands = this.config.commands
// Ignore dev plugins
Expand Down
Loading

0 comments on commit ec6a253

Please sign in to comment.