From 0f32965dd3a2a67f7eefa5fbae9973f69bd4707d Mon Sep 17 00:00:00 2001 From: "WANGFAN\\wangf" <15871339963@163.com> Date: Wed, 4 Dec 2024 17:19:23 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=B0=83=E6=95=B4=E4=BA=86=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=9F=BA=E6=9C=AC=E8=AF=B4=E6=98=8E=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/vite-plugin.ts | 4 +++- package.json | 15 +++++++++++++++ tsconfig.json | 1 - tsconfig.node.json | 11 ----------- 4 files changed, 18 insertions(+), 13 deletions(-) delete mode 100644 tsconfig.node.json diff --git a/build/vite-plugin.ts b/build/vite-plugin.ts index e86d852..ded6aea 100644 --- a/build/vite-plugin.ts +++ b/build/vite-plugin.ts @@ -1,7 +1,6 @@ import vue from "@vitejs/plugin-vue"; import path from "path"; import { PluginOption } from "vite"; -import eslintPlugin from "vite-plugin-eslint"; import { vitePluginForArco } from "@arco-plugins/vite-vue"; import { createHtmlPlugin } from "vite-plugin-html"; import { createSvgIconsPlugin } from "vite-plugin-svg-icons"; @@ -9,6 +8,9 @@ import AutoImport from "unplugin-auto-import/vite"; import { ArcoResolver } from "unplugin-vue-components/resolvers"; import Components from "unplugin-vue-components/vite"; import { viteMockServe } from "vite-plugin-mock"; +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-expect-error +import eslintPlugin from "vite-plugin-eslint"; /** * 创建 vite 插件 * @param viteEnv diff --git a/package.json b/package.json index aba3b02..8d4b1da 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,21 @@ "private": true, "version": "1.0.0", "type": "module", + "description": "snow-admin open source management system", + "author": { + "name": "WANGFan", + "email": "2547096351@qq.com", + "url": "https://gitee.com/wang_fan_w" + }, + "license": "MIT", + "homepage": "https://gitee.com/wang_fan_w/SnowAdmin", + "repository": { + "type": "git", + "url": "https://gitee.com/wang_fan_w/SnowAdmin.git" + }, + "bugs": { + "url": "https://gitee.com/wang_fan_w/SnowAdmin/issues" + }, "scripts": { "dev": "vite", "build:dev": "vue-tsc && vite build --mode development", diff --git a/tsconfig.json b/tsconfig.json index 471bf6b..22cde98 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -41,5 +41,4 @@ ], // 指定被编译文件所在的目录 // exclude表示要排除的、不编译的文件,它也可以指定一个列表,规则和include一样,可以是文件或文件夹,可以是相对路径或绝对路径,可以使用通配符 "exclude": ["node_modules", "dist", "**/*.js"] // 指定不需要被编译的目录 - // "references": [{ "path": "./tsconfig.node.json" }] } diff --git a/tsconfig.node.json b/tsconfig.node.json deleted file mode 100644 index 97ede7e..0000000 --- a/tsconfig.node.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "skipLibCheck": true, - "module": "ESNext", - "moduleResolution": "bundler", - "allowSyntheticDefaultImports": true, - "strict": true - }, - "include": ["vite.config.ts"] -}