From eca31e225697df40b6df98240d08404bbd1b15fc Mon Sep 17 00:00:00 2001 From: CaiHaosen <“caihaosen@mail.bnu.edu.cn> Date: Wed, 24 Jul 2024 15:09:15 +0800 Subject: [PATCH] chore: ignore TS warning for formkit --- ui/package.json | 3 ++- ui/src/views/HtmlInjectionAdd.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/package.json b/ui/package.json index 7fae694e..b5dbaee1 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,7 +1,8 @@ { "scripts": { "dev": "vite build --watch --mode=development", - "build": "vite build", + "build": "run-p type-check \"build-only {@}\" --", + "build-only": "vite build", "test:unit": "vitest", "type-check": "vue-tsc --build --force", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", diff --git a/ui/src/views/HtmlInjectionAdd.vue b/ui/src/views/HtmlInjectionAdd.vue index 2cdf0797..cbbf35c9 100644 --- a/ui/src/views/HtmlInjectionAdd.vue +++ b/ui/src/views/HtmlInjectionAdd.vue @@ -137,6 +137,7 @@ const submitForm = () => {