Merge upstream v2.5.1 while preserving domain dashboard extensions

This commit is contained in:
Codex committed 2026-10-22 23:50:03 +08:00
commit e74143b827
38 files changed
+3201 -329

No files matched your search

+10
View File
@@ -4,6 +4,16 @@ import path from "node:path";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vitest/config";
// Node ≥25 默认启用实验性 webstorage:其全局 localStorage 在无有效存储文件时
// 会遮蔽 jsdom 注入的同名全局(localStorage.clear 变为非函数)。测试 worker
// 进程统一禁用,保证 jsdom 的 storage 生效。
process.env.NODE_OPTIONS = [
process.env.NODE_OPTIONS,
"--no-experimental-webstorage",
]
.filter(Boolean)
.join(" ");
// Get git commit hash
const getGitHash = () => {
try {