Bläddra i källkod

chore: downgrade Vite to 5.x for Node.js 18 compatibility

- Downgrade vite from 7.x to 5.4.x
- Downgrade @vitejs/plugin-vue to 5.2.x
- Downgrade typescript to 5.6.x
- Downgrade vue-tsc to 2.2.x
- Remove TypeScript 5.8+ options (erasableSyntaxOnly, noUncheckedSideEffectImports)

This allows Jenkins CI/CD to build with Node.js 18.20.4

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
yb 3 veckor sedan
förälder
incheckning
69560eac16
4 ändrade filer med 290 tillägg och 298 borttagningar
  1. 6 6
      package.json
  2. 282 287
      pnpm-lock.yaml
  3. 1 2
      tsconfig.app.json
  4. 1 3
      tsconfig.node.json

+ 6 - 6
package.json

@@ -19,11 +19,11 @@
     "vue-router": "^4.6.4"
     "vue-router": "^4.6.4"
   },
   },
   "devDependencies": {
   "devDependencies": {
-    "@types/node": "^24.10.4",
-    "@vitejs/plugin-vue": "^6.0.1",
-    "@vue/tsconfig": "^0.8.1",
-    "typescript": "~5.9.3",
-    "vite": "^7.2.4",
-    "vue-tsc": "^3.1.4"
+    "@types/node": "^20.17.0",
+    "@vitejs/plugin-vue": "^5.2.0",
+    "@vue/tsconfig": "^0.7.0",
+    "typescript": "~5.6.3",
+    "vite": "^5.4.0",
+    "vue-tsc": "^2.2.0"
   }
   }
 }
 }

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 282 - 287
pnpm-lock.yaml


+ 1 - 2
tsconfig.app.json

@@ -10,8 +10,7 @@
     "strict": true,
     "strict": true,
     "noUnusedLocals": true,
     "noUnusedLocals": true,
     "noUnusedParameters": true,
     "noUnusedParameters": true,
-    "noFallthroughCasesInSwitch": true,
-    "noUncheckedSideEffectImports": true
+    "noFallthroughCasesInSwitch": true
   },
   },
   "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
   "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
 }
 }

+ 1 - 3
tsconfig.node.json

@@ -18,9 +18,7 @@
     "strict": true,
     "strict": true,
     "noUnusedLocals": true,
     "noUnusedLocals": true,
     "noUnusedParameters": true,
     "noUnusedParameters": true,
-    "erasableSyntaxOnly": true,
-    "noFallthroughCasesInSwitch": true,
-    "noUncheckedSideEffectImports": true
+    "noFallthroughCasesInSwitch": true
   },
   },
   "include": ["vite.config.ts"]
   "include": ["vite.config.ts"]
 }
 }

Vissa filer visades inte eftersom för många filer har ändrats