diff --git a/README.md b/README.md index 12619da..52edd38 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,12 @@ Weather forecast plugin for GUI Chat applications. Fetches weather data from Jap ## Installation ```bash -yarn add @gui-chat-plugin/weather +yarn add @gui-chat-plugin/weather gui-chat-protocol ``` +> `gui-chat-protocol` is a peer dependency — install it alongside the plugin; the host application provides the runtime and this plugin only declares the compatible range. + + ## Usage ### Vue Integration diff --git a/package.json b/package.json index cdb1d36..3e55ccb 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,7 @@ "lint": "eslint src demo" }, "peerDependencies": { - "vue": "^3.5.0" - }, - "dependencies": { + "vue": "^3.5.0", "gui-chat-protocol": "^1.2.0" }, "devDependencies": { @@ -53,7 +51,8 @@ "vite": "^8.1.5", "vue": "^3.5.40", "vue-eslint-parser": "^10.4.1", - "vue-tsc": "^3.3.8" + "vue-tsc": "^3.3.8", + "gui-chat-protocol": "^1.2.0" }, "keywords": [ "guichat",