mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-22 04:57:10 +08:00
upgrade(package.json): 升级 eslint 等版本避免 install 警告信息
Some checks are pending
npm run build 测试 / task (18.x, npm, macOS-latest) (push) Waiting to run
npm run build 测试 / task (18.x, npm, ubuntu-latest) (push) Waiting to run
npm run build 测试 / task (18.x, npm, windows-latest) (push) Waiting to run
npm run build 测试 / task (18.x, pnpm, macOS-latest) (push) Waiting to run
npm run build 测试 / task (18.x, pnpm, ubuntu-latest) (push) Waiting to run
npm run build 测试 / task (18.x, pnpm, windows-latest) (push) Waiting to run
npm run build 测试 / task (18.x, yarn, macOS-latest) (push) Waiting to run
npm run build 测试 / task (18.x, yarn, ubuntu-latest) (push) Waiting to run
npm run build 测试 / task (18.x, yarn, windows-latest) (push) Waiting to run
Docker 镜像 / task (18.x, npm, ubuntu-latest) (push) Waiting to run
同步代码 / gitcode (push) Waiting to run
同步代码 / gitlink (push) Waiting to run
同步代码 / gitee (push) Waiting to run
Some checks are pending
npm run build 测试 / task (18.x, npm, macOS-latest) (push) Waiting to run
npm run build 测试 / task (18.x, npm, ubuntu-latest) (push) Waiting to run
npm run build 测试 / task (18.x, npm, windows-latest) (push) Waiting to run
npm run build 测试 / task (18.x, pnpm, macOS-latest) (push) Waiting to run
npm run build 测试 / task (18.x, pnpm, ubuntu-latest) (push) Waiting to run
npm run build 测试 / task (18.x, pnpm, windows-latest) (push) Waiting to run
npm run build 测试 / task (18.x, yarn, macOS-latest) (push) Waiting to run
npm run build 测试 / task (18.x, yarn, ubuntu-latest) (push) Waiting to run
npm run build 测试 / task (18.x, yarn, windows-latest) (push) Waiting to run
Docker 镜像 / task (18.x, npm, ubuntu-latest) (push) Waiting to run
同步代码 / gitcode (push) Waiting to run
同步代码 / gitlink (push) Waiting to run
同步代码 / gitee (push) Waiting to run
This commit is contained in:
parent
bed646f4c9
commit
afeeba3f6f
3
auto-imports.d.ts
vendored
3
auto-imports.d.ts
vendored
@ -3,7 +3,6 @@
|
|||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
// noinspection JSUnusedGlobalSymbols
|
// noinspection JSUnusedGlobalSymbols
|
||||||
// Generated by unplugin-auto-import
|
// Generated by unplugin-auto-import
|
||||||
// biome-ignore lint: disable
|
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const EffectScope: typeof import('vue')['EffectScope']
|
const EffectScope: typeof import('vue')['EffectScope']
|
||||||
@ -84,6 +83,6 @@ declare global {
|
|||||||
// for type re-export
|
// for type re-export
|
||||||
declare global {
|
declare global {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
|
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
||||||
import('vue')
|
import('vue')
|
||||||
}
|
}
|
||||||
|
42
package.json
42
package.json
@ -43,30 +43,30 @@
|
|||||||
"vuedraggable": "4.1.0"
|
"vuedraggable": "4.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@swc/core": "~1.6.13",
|
"@swc/core": "1.6.13",
|
||||||
"@types/node": "^20.0.0",
|
"@types/node": "20.0.0",
|
||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "0.2.0",
|
||||||
"@types/sortablejs": "^1.15.0",
|
"@types/sortablejs": "1.15.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
"@typescript-eslint/eslint-plugin": "8.13.0",
|
||||||
"@typescript-eslint/parser": "^5.53.0",
|
"@typescript-eslint/parser": "8.13.0",
|
||||||
"@vitejs/plugin-vue": "^5.0.5",
|
"@vitejs/plugin-vue": "5.0.5",
|
||||||
"@vue/compiler-sfc": "^3.4.3",
|
"@vue/compiler-sfc": "3.4.3",
|
||||||
"consola": "^3.0.0",
|
"consola": "3.0.0",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"eslint": "^8.34.0",
|
"eslint": "9.14.0",
|
||||||
"eslint-plugin-vue": "^9.9.0",
|
"eslint-plugin-vue": "9.30.0",
|
||||||
"pinia-plugin-persist": "^1.0.0",
|
"glob": "9.3.5",
|
||||||
|
"pinia-plugin-persist": "1.0.0",
|
||||||
"prettier": "3.3.3",
|
"prettier": "3.3.3",
|
||||||
"sass": "1.58.3",
|
"sass": "1.58.3",
|
||||||
"terser": "^5.31.1",
|
"terser": "5.31.1",
|
||||||
"typescript": "^5.0.0",
|
"typescript": "5.6.3",
|
||||||
"unplugin-auto-import": "^0.18.0",
|
"vite": "5.3.3",
|
||||||
"vite": "^5.3.3",
|
"vite-plugin-compression": "0.5.1",
|
||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-top-level-await": "1.4.1",
|
||||||
"vite-plugin-style-import": "^2.0.0",
|
"unplugin-auto-import": "0.18.0",
|
||||||
"vite-plugin-top-level-await": "^1.4.1",
|
"unplugin-vue-setup-extend-plus": "1.0.1",
|
||||||
"vite-plugin-vue-setup-extend": "^0.4.0",
|
"vue-eslint-parser": "9.4.3"
|
||||||
"vue-eslint-parser": "^9.1.0"
|
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 1%",
|
"> 1%",
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import { defineConfig, loadEnv, ConfigEnv } from 'vite';
|
import { defineConfig, loadEnv, ConfigEnv } from 'vite';
|
||||||
import vueSetupExtend from 'vite-plugin-vue-setup-extend';
|
import vueSetupExtend from 'unplugin-vue-setup-extend-plus/vite';
|
||||||
import AutoImport from 'unplugin-auto-import/vite';
|
import AutoImport from 'unplugin-auto-import/vite';
|
||||||
import topLevelAwait from 'vite-plugin-top-level-await';
|
import topLevelAwait from 'vite-plugin-top-level-await';
|
||||||
import { createStyleImportPlugin, VxeTableResolve } from 'vite-plugin-style-import';
|
|
||||||
import viteCompression from 'vite-plugin-compression';
|
import viteCompression from 'vite-plugin-compression';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { svgBuilder } from '/@/components/IconSelector/index';
|
import { svgBuilder } from '/@/components/IconSelector/index';
|
||||||
@ -26,14 +25,11 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
|
|||||||
plugins: [
|
plugins: [
|
||||||
vue(), // Vue 插件
|
vue(), // Vue 插件
|
||||||
svgBuilder('./src/assets/icons/'), // 将 SVG 文件转换成 Vue 组件
|
svgBuilder('./src/assets/icons/'), // 将 SVG 文件转换成 Vue 组件
|
||||||
vueSetupExtend(), // setup语法糖增强插件
|
vueSetupExtend({}), // setup语法糖增强插件
|
||||||
AutoImport({
|
AutoImport({
|
||||||
imports: ['vue', 'vue-router', 'pinia'], // 自动导入的依赖库数组
|
imports: ['vue', 'vue-router', 'pinia'], // 自动导入的依赖库数组
|
||||||
dts: './auto-imports.d.ts', // 自动导入类型定义文件路径
|
dts: './auto-imports.d.ts', // 自动导入类型定义文件路径
|
||||||
}),
|
}),
|
||||||
createStyleImportPlugin({
|
|
||||||
resolves: [VxeTableResolve()], // 配置vxetable 按需加载
|
|
||||||
}),
|
|
||||||
topLevelAwait({
|
topLevelAwait({
|
||||||
promiseExportName: '__tla', // TLA Promise 变量名
|
promiseExportName: '__tla', // TLA Promise 变量名
|
||||||
promiseImportName: (i) => `__tla_${i}`, // TLA Promise 导入名
|
promiseImportName: (i) => `__tla_${i}`, // TLA Promise 导入名
|
||||||
|
Loading…
Reference in New Issue
Block a user