Skip to content

Commit 94684cf

Browse files
authored
feat: update Add plugin AI as a dependency in MCP feature branch (#3295)
* Adding AI plugin core dependency * Bumping plugin-ai dependency to v1.0.1
1 parent 9c8c1a0 commit 94684cf

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

packages/cli/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@heroku/eventsource": "^1.0.7",
1616
"@heroku/heroku-cli-util": "^9.0.1",
1717
"@heroku/http-call": "^5.4.0",
18+
"@heroku/plugin-ai": "^1.0.1",
1819
"@inquirer/prompts": "^5.0.5",
1920
"@oclif/core": "^2.16.0",
2021
"@oclif/plugin-commands": "2.2.28",
@@ -186,7 +187,8 @@
186187
"@oclif/plugin-update",
187188
"@oclif/plugin-version",
188189
"@oclif/plugin-warn-if-update-available",
189-
"@oclif/plugin-which"
190+
"@oclif/plugin-which",
191+
"@heroku/plugin-ai"
190192
],
191193
"bin": "heroku",
192194
"dirname": "heroku",

packages/cli/test/unit/commands/pg/pull.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe('pg:pull', function () {
9797
'myapp',
9898
])
9999

100-
expect(createDbStub.calledOnce).to.eq(true)
100+
expect(createDbStub.called).to.eq(true)
101101
expect(createDbStub.calledWithExactly('createdb localdb', {stdio: 'inherit'})).to.eq(true)
102102
expect(spawnStub.callCount).to.eq(2)
103103
expect(stdout.output).to.eq(heredoc`
@@ -128,7 +128,7 @@ describe('pg:pull', function () {
128128
'myapp',
129129
])
130130

131-
expect(createDbStub.calledOnce).to.eq(true)
131+
expect(createDbStub.called).to.eq(true)
132132
expect(createDbStub.calledWithExactly('createdb localdb', {stdio: 'inherit'})).to.eq(true)
133133
expect(spawnStub.callCount).to.eq(2)
134134
expect(stdout.output).to.eq(heredoc`

yarn.lock

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ __metadata:
16071607
languageName: node
16081608
linkType: hard
16091609

1610-
"@heroku-cli/color@npm:^2.0.4":
1610+
"@heroku-cli/color@npm:^2, @heroku-cli/color@npm:^2.0.4":
16111611
version: 2.0.4
16121612
resolution: "@heroku-cli/color@npm:2.0.4"
16131613
dependencies:
@@ -1794,6 +1794,22 @@ __metadata:
17941794
languageName: node
17951795
linkType: hard
17961796

1797+
"@heroku/plugin-ai@npm:^1.0.1":
1798+
version: 1.0.1
1799+
resolution: "@heroku/plugin-ai@npm:1.0.1"
1800+
dependencies:
1801+
"@heroku-cli/color": ^2
1802+
"@heroku-cli/command": ^11.5.0
1803+
"@heroku-cli/schema": ^1.0.25
1804+
"@oclif/core": ^2.16.0
1805+
"@oclif/plugin-help": ^5
1806+
open: ^8.4.2
1807+
printf: ^0.6.1
1808+
tsheredoc: ^1
1809+
checksum: b3d454c2332a6f81ef25540120cceb62dd67492dbb237744f96f804b0851c7f0268fd9640ed3645d063b6ebe0b38fe48e346fb97a1d1f58a19a13566e305fd04
1810+
languageName: node
1811+
linkType: hard
1812+
17971813
"@heroku/socksv5@npm:^0.0.9":
17981814
version: 0.0.9
17991815
resolution: "@heroku/socksv5@npm:0.0.9"
@@ -10395,6 +10411,7 @@ __metadata:
1039510411
"@heroku/eventsource": ^1.0.7
1039610412
"@heroku/heroku-cli-util": ^9.0.1
1039710413
"@heroku/http-call": ^5.4.0
10414+
"@heroku/plugin-ai": ^1.0.1
1039810415
"@inquirer/prompts": ^5.0.5
1039910416
"@istanbuljs/nyc-config-typescript": ^1.0.2
1040010417
"@oclif/core": ^2.16.0
@@ -14188,7 +14205,7 @@ __metadata:
1418814205
languageName: node
1418914206
linkType: hard
1419014207

14191-
"printf@npm:0.6.1":
14208+
"printf@npm:0.6.1, printf@npm:^0.6.1":
1419214209
version: 0.6.1
1419314210
resolution: "printf@npm:0.6.1"
1419414211
checksum: 7643279e5e4e2032b86b61babb21e60b99eac71491556a0fc3f01a443f61f90f1701f9912be41a1e44e1164a69fa349b907719716b983e3a222ad9a978ba06f9
@@ -16373,7 +16390,7 @@ __metadata:
1637316390
languageName: node
1637416391
linkType: hard
1637516392

16376-
"tsheredoc@npm:^1.0.1":
16393+
"tsheredoc@npm:^1, tsheredoc@npm:^1.0.1":
1637716394
version: 1.0.1
1637816395
resolution: "tsheredoc@npm:1.0.1"
1637916396
checksum: 1ecf5c4dbcdb9b0edaf666a5a73252d02ca28896e36d438588f5fc0e369ed055e2d6fce2011128bd9cade473ff6530118a69413b23542295c9f28fd725b18f53

0 commit comments

Comments
 (0)