diff --git a/README.md b/README.md index f43ca4b..2bd152d 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,12 @@ Google Map location plugin for GUI Chat applications. Display locations on an in ## Installation ```bash -yarn add @gui-chat-plugin/map +yarn add @gui-chat-plugin/map 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 90d9d9d..b86beae 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,6 @@ "typecheck": "vue-tsc --noEmit", "lint": "eslint src" }, - "dependencies": { - "gui-chat-protocol": "^1.2.0" - }, "devDependencies": { "@eslint/js": "^10.0.1", "@tailwindcss/vite": "^4.3.3", @@ -51,6 +48,7 @@ "vue-tsc": "^3.3.8" }, "peerDependencies": { - "vue": "^3.5.0" + "vue": "^3.5.0", + "gui-chat-protocol": "^1.2.0" } }