diff --git a/README.md b/README.md index 300d6f0..75de935 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # @allindevelopers/vue-local-scope +> An implementation of [posva/vue-local-scope](https://github.com/posva/vue-local-scope) for Vue 3 and TypeScript support + Allows to reuse an expression that is repeating multiple times in a Vue Template ```vue @@ -18,5 +20,9 @@ import { LocalScope } from "@allindevelopers/vue-local-scope"; ``` +With Full Type Completion + +image + > [!NOTE] > Can be used in JSX but types are not infered diff --git a/package-lock.json b/package-lock.json index d68f8c5..e9acf59 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@allindevelopers/vue-local-scope", - "version": "0.2.0", + "version": "0.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@allindevelopers/vue-local-scope", - "version": "0.2.0", + "version": "0.2.2", "license": "MIT", "devDependencies": { "@allindevelopers/prettier-config": "^1.0.0", @@ -16,11 +16,11 @@ "prettier": "^3.3.3", "typescript": "~5.6.2", "vite": "^5.4.10", - "vue": "^3.5.12", + "vue": "^3.2", "vue-tsc": "^2.1.8" }, "peerDependencies": { - "vue": "^3.5.12" + "vue": "^3.2" } }, "node_modules/@allindevelopers/prettier-config": { diff --git a/package.json b/package.json index b41fa60..232f8b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@allindevelopers/vue-local-scope", "license": "MIT", - "version": "0.2.0", + "version": "0.2.2", "type": "module", "files": [ "dist" @@ -18,7 +18,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/iamandrewluca/vue-local-scope.git" + "url": "https://github.com/allindevelopers/vue-local-scope.git" }, "keywords": [ "vue", @@ -35,7 +35,7 @@ "release": "npx np" }, "peerDependencies": { - "vue": "^3.5.12" + "vue": "^3.2" }, "devDependencies": { "@allindevelopers/prettier-config": "^1.0.0", @@ -45,7 +45,7 @@ "prettier": "^3.3.3", "typescript": "~5.6.2", "vite": "^5.4.10", - "vue": "^3.5.12", + "vue": "^3.2", "vue-tsc": "^2.1.8" }, "prettier": "@allindevelopers/prettier-config"