Skip to content

Commit

Permalink
update package json with new hb and node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Jul 25, 2024
1 parent 55fbb71 commit dfc89b8
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 76 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@

</span>

> [!IMPORTANT]
> **Homebridge v2.0 Information**
>
> This template currently has a
> - `package.json -> engines.homebridge` value of `"^1.8.0 || ^2.0.0-beta.0"`
> - `package.json -> devDependencies.homebridge` value of `"^2.0.0-beta.0"`
>
> This is to ensure that your plugin will build and run on both Homebridge v1 and v2.
>
> Once Homebridge v2.0 has been released, you can remove the `-beta.0` in both places.
> [!IMPORTANT]
> **Node v22 Information**
>
> This template currently has a
> - `package.json -> engines.node` value of `"^18.20.4 || ^20.16.0 || ^22.5.1"`
>
> This is to remind developers that plugins should be supporting Node v22 from October 2024.
This is a template Homebridge dynamic platform plugin and can be used as a base to help you get started developing your own plugin.

This template should be used in conjunction with the [developer documentation](https://developers.homebridge.io/). A full list of all supported service types, and their characteristics is available on this site.
Expand Down
138 changes: 69 additions & 69 deletions package-lock.json

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

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"url": "https://github.com/USERNAME/GITHUB_PROJECT_NAME/issues"
},
"engines": {
"node": "^18.17.0 || ^20.9.0",
"homebridge": "^1.8.0"
"node": "^18.20.4 || ^20.16.0 || ^22.5.1",
"homebridge": "^1.8.0 || ^2.0.0-beta.0"
},
"main": "dist/index.js",
"scripts": {
Expand All @@ -28,14 +28,14 @@
"homebridge-plugin"
],
"devDependencies": {
"@types/node": "^20.14.10",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"@types/node": "^20.14.12",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^8.57.0",
"homebridge": "^1.8.3",
"homebridge": "^2.0.0-beta.0",
"nodemon": "^3.1.4",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.3"
"typescript": "^5.5.4"
}
}

0 comments on commit dfc89b8

Please sign in to comment.