Skip to content

Commit

Permalink
Update heroku-cli-util with new package location (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack authored Jul 23, 2024
1 parent 61e45bf commit b0e0592
Show file tree
Hide file tree
Showing 34 changed files with 232 additions and 303 deletions.
2 changes: 1 addition & 1 deletion commands/connect-events/db-set.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const inquirer = require('inquirer')

Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/info.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/pause.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/recover.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/resume.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/sf-auth.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const http = require('http')

Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/state.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

function * run (context, heroku) {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/stream-create.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/stream-delete.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect-events/stream-state.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/db-set.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const inquirer = require('inquirer')

Expand Down
2 changes: 1 addition & 1 deletion commands/connect/diagnose.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

function displayResults (results, flags) {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/export.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const fs = require('fs')

Expand Down
2 changes: 1 addition & 1 deletion commands/connect/import.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const fs = require('fs')

Expand Down
2 changes: 1 addition & 1 deletion commands/connect/info.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/mapping-delete.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/mapping-diagnose.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const diagnose = require('./diagnose')

Expand Down
2 changes: 1 addition & 1 deletion commands/connect/mapping-reload.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/mapping-state.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/mapping-write-errors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')

module.exports = {
topic: 'connect:mapping',
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/pause.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/recover.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/resume.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/sf-auth.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const http = require('http')

Expand Down
2 changes: 1 addition & 1 deletion commands/connect/state.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')

function * run (context, heroku) {
Expand Down
2 changes: 1 addition & 1 deletion commands/connect/write-errors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
const api = require('../../lib/connect/api.js')
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')

module.exports = {
topic: 'connect',
Expand Down
2 changes: 1 addition & 1 deletion lib/connect/api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'
const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const co = require('co')
const { ConnectClient } = require('../clients/connect')
const { DiscoveryClient } = require('../clients/discovery')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"axios": "^0.27.2",
"co": "4.6.0",
"heroku-cli-util": "^8.0.12",
"@heroku/heroku-cli-util": "^8.0.14",
"heroku-client": "^3.0.6",
"inquirer": "^5.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion test/commands/connect/diagnose.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* globals describe beforeEach it */

const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const nock = require('nock')
const expect = require('unexpected')
const cmd = require('../../../commands/connect/diagnose')
Expand Down
2 changes: 1 addition & 1 deletion test/commands/connect/info.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'
/* globals describe beforeEach it */

const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const nock = require('nock')
const expect = require('unexpected')
const infoCmd = require('../../../commands/connect/info')
Expand Down
2 changes: 1 addition & 1 deletion test/commands/connect/sf-auth.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'
/* globals describe beforeEach it */

const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const nock = require('nock')
const expect = require('unexpected')
const sinon = require('sinon')
Expand Down
2 changes: 1 addition & 1 deletion test/commands/connect/state.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'
/* globals describe beforeEach it */

const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const nock = require('nock')
const expect = require('unexpected')
const stateCmd = require('../../../commands/connect/state')
Expand Down
2 changes: 1 addition & 1 deletion test/init.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const cli = require('heroku-cli-util')
const cli = require('@heroku/heroku-cli-util')
const nock = require('nock')
cli.raiseErrors = true
nock.disableNetConnect()
Expand Down
Loading

0 comments on commit b0e0592

Please sign in to comment.