Skip to content

Commit

Permalink
fix(addons-v5): migrate addons-v5 package to OCLIF/core (#2116)
Browse files Browse the repository at this point in the history
* fix(addons-v5): migrate addons-v5 package to OCLIF/core
- add oclif/core dependency
- remove oclif/dev-cli and oclif/plugin-legacy dependencies
- replace oclif/config with oclif/core in create.js test file

* fix yarn.lock file

Co-authored-by: Katy Bowman <katybowman@salesforce.com>
  • Loading branch information
k80bowman and Katy Bowman committed Jan 27, 2023
1 parent 424b9e9 commit 771f106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/addons-v5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
"repositoryPrefix": "<%- repo %>/blob/v<%- version %>/packages/addons-v5/<%- commandPath %>"
},
"dependencies": {
"@oclif/core": "^1.20.2",
"heroku-cli-util": "^8.0.11",
"lodash": "^4.17.11",
"printf": "0.6.1"
},
"devDependencies": {
"@heroku-cli/dev-cli": "^1.26.13",
"@oclif/plugin-legacy": "^1.2.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"lolex": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/addons-v5/test/commands/addons/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const cmd = commands.find(c => c.topic === 'addons' && c.command === 'create')
const { expect } = require('chai')
const lolex = require('lolex')
const _ = require('lodash')
const Config = require('@oclif/config')
const { Config } = require('@oclif/core')
const sinon = require('sinon')
let config

Expand Down

0 comments on commit 771f106

Please sign in to comment.