Skip to content

Commit

Permalink
feat: Update to Hubot v11
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Update to Hubot v11
  • Loading branch information
joeyguerra committed Nov 13, 2023
1 parent 89e062d commit 233e986
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 52 deletions.
4 changes: 1 addition & 3 deletions IrcAdapter.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import Adapter from 'hubot/src/adapter.js'
import Response from 'hubot/src/response.js'
import { TextMessage, EnterMessage, LeaveMessage } from 'hubot/src/message.js'
import { TextMessage, EnterMessage, LeaveMessage, Response, Adapter } from 'hubot'

class IrcResponse extends Response {
async sendPrivate(...strings) {
Expand Down
47 changes: 7 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hubot-friends/hubot-irc",
"version": "1.0.0",
"description": "IRC Adapter for Hubot > version `9`.",
"version": "0.0.0-development",
"description": "IRC Adapter for Hubot > version `11`.",
"main": "index.mjs",
"scripts": {
"test": "node --test",
Expand All @@ -23,14 +23,10 @@
},
"homepage": "https://github.com/hubot-friends/hubot-irc#readme",
"peerDependencies": {
"hubot": "^9.0.0"
"hubot": ">= 11"
},
"engines": {
"node": ">= 18.17.0",
"npm": ">= 9.5.1"
},
"dependencies": {
"irc": "^0.5.2"
"node": ">= 18"
},
"release": {
"branches": [
Expand All @@ -41,5 +37,7 @@
"publishConfig": {
"access": "public"
},
"devDependencies": {}
"dependencies": {
"irc": "^0.5.2"
}
}

0 comments on commit 233e986

Please sign in to comment.