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"] -}