From 8e3d86415af7f8355d9a3486561fb87a86c7150f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B9=9B=E8=93=9D?= Date: Thu, 7 Dec 2023 10:19:23 +0800 Subject: [PATCH 1/2] Add web-types.json to solve the problem that WebStorm cannot recognize the v-wave directive. --- package.json | 6 ++++-- web-types.json | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 web-types.json diff --git a/package.json b/package.json index df7d77a..93fbb5b 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,17 @@ { "name": "v-wave", - "version": "2.0.0", + "version": "2.0.1", "description": "The material-ripple directive for Vue that actually works", "type": "module", "main": "dist/cjs/index.cjs", "module": "dist/es/index.js", "unpkg": "dist/iife/index.js", "types": "dist/types/", + "web-types": "./web-types.json", "files": [ "dist/**/*", - "nuxt/**/*" + "nuxt/**/*", + "web-types.json" ], "scripts": { "test": "jest", diff --git a/web-types.json b/web-types.json new file mode 100644 index 0000000..3130506 --- /dev/null +++ b/web-types.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://json.schemastore.org/web-types", + "framework": "vue", + "name": "v-wave", + "version": "2.0.1", + "contributions": { + "html": { + "attributes": [ + { + "name": "v-wave", + "description": "The material-ripple directive for Vue that actually works" + } + ] + } + } + } + \ No newline at end of file From 04b3e86a5049f71434bcea5ef6fb25c48cfb42cb Mon Sep 17 00:00:00 2001 From: Justin Taddei Date: Wed, 26 Jun 2024 14:06:21 -0600 Subject: [PATCH 2/2] Revert version number --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 93fbb5b..ae8a4be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "v-wave", - "version": "2.0.1", + "version": "2.0.0", "description": "The material-ripple directive for Vue that actually works", "type": "module", "main": "dist/cjs/index.cjs",