Browse Source

chore: downgrade rolldown-vite to v7.0.11

0xJacky 4 days ago
parent
commit
d4c3cceea2
5 changed files with 1037 additions and 129 deletions
  1. 3 0
      app/.eslint-auto-import.mjs
  2. 5 1
      app/auto-imports.d.ts
  3. 3 2
      app/package.json
  4. 1025 125
      app/pnpm-lock.yaml
  5. 1 1
      app/src/version.json

+ 3 - 0
app/.eslint-auto-import.mjs

@@ -17,6 +17,7 @@ export default {
     "MaybeRefOrGetter": true,
     "PropType": true,
     "Ref": true,
+    "ShallowRef": true,
     "Slot": true,
     "Slots": true,
     "T": true,
@@ -34,12 +35,14 @@ export default {
     "getActivePinia": true,
     "getCurrentInstance": true,
     "getCurrentScope": true,
+    "getCurrentWatcher": true,
     "h": true,
     "inject": true,
     "isProxy": true,
     "isReactive": true,
     "isReadonly": true,
     "isRef": true,
+    "isShallow": true,
     "mapActions": true,
     "mapGetters": true,
     "mapState": true,

+ 5 - 1
app/auto-imports.d.ts

@@ -24,12 +24,14 @@ declare global {
   const getActivePinia: typeof import('pinia')['getActivePinia']
   const getCurrentInstance: typeof import('vue')['getCurrentInstance']
   const getCurrentScope: typeof import('vue')['getCurrentScope']
+  const getCurrentWatcher: typeof import('vue')['getCurrentWatcher']
   const h: typeof import('vue')['h']
   const inject: typeof import('vue')['inject']
   const isProxy: typeof import('vue')['isProxy']
   const isReactive: typeof import('vue')['isReactive']
   const isReadonly: typeof import('vue')['isReadonly']
   const isRef: typeof import('vue')['isRef']
+  const isShallow: typeof import('vue')['isShallow']
   const mapActions: typeof import('pinia')['mapActions']
   const mapGetters: typeof import('pinia')['mapGetters']
   const mapState: typeof import('pinia')['mapState']
@@ -88,7 +90,7 @@ declare global {
 // for type re-export
 declare global {
   // @ts-ignore
-  export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
+  export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
   import('vue')
 }
 
@@ -115,12 +117,14 @@ declare module 'vue' {
     readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']>
     readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
     readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
+    readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>
     readonly h: UnwrapRef<typeof import('vue')['h']>
     readonly inject: UnwrapRef<typeof import('vue')['inject']>
     readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
     readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
     readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
     readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
+    readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
     readonly mapActions: UnwrapRef<typeof import('pinia')['mapActions']>
     readonly mapGetters: UnwrapRef<typeof import('pinia')['mapGetters']>
     readonly mapState: UnwrapRef<typeof import('pinia')['mapState']>

+ 3 - 2
app/package.json

@@ -18,7 +18,7 @@
     "@fingerprintjs/fingerprintjs": "^4.6.2",
     "@formkit/auto-animate": "^0.8.2",
     "@simplewebauthn/browser": "^13.1.2",
-    "@uozi-admin/curd": "^4.7.2",
+    "@uozi-admin/curd": "^4.7.4",
     "@uozi-admin/request": "^2.8.4",
     "@vue/reactivity": "^3.5.18",
     "@vue/shared": "^3.5.18",
@@ -68,6 +68,7 @@
     "@types/lodash": "^4.17.20",
     "@types/nprogress": "^0.2.3",
     "@types/sortablejs": "^1.15.8",
+    "@vitejs/plugin-legacy": "^7.2.1",
     "@vitejs/plugin-vue": "^6.0.1",
     "@vitejs/plugin-vue-jsx": "^5.0.1",
     "@vue/compiler-sfc": "^3.5.18",
@@ -82,7 +83,7 @@
     "unplugin-auto-import": "^20.0.0",
     "unplugin-vue-components": "^29.0.0",
     "unplugin-vue-define-options": "^1.5.5",
-    "vite": "npm:rolldown-vite@7.1.0",
+    "vite": "npm:rolldown-vite@7.0.11",
     "vite-plugin-inspect": "^11.3.2",
     "vite-svg-loader": "^5.1.0",
     "vue-tsc": "^3.0.5"

File diff suppressed because it is too large
+ 1025 - 125
app/pnpm-lock.yaml


+ 1 - 1
app/src/version.json

@@ -1 +1 @@
-{"version":"2.1.17","build_id":1,"total_build":468}
+{"version":"2.1.17","build_id":9,"total_build":476}

Some files were not shown because too many files changed in this diff