Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

build: migrate from vite to tsdown (#6684)

白熱7e0e62ad82cc
diff --git a/.gitignore b/.gitignore
index 4ef0899e75..9e68882abb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -114,6 +114,7 @@ storybook-static
/blob-report/
/playwright/.cache/
playwright-report.json
+/artifacts/
*storybook.log
typedoc.json
diff --git a/common/debugger/package.json b/common/debugger/package.json
index 79dfd1038e..e221af3bea 100644
--- a/common/debugger/package.json
+++ b/common/debugger/package.json
@@ -23,34 +23,8 @@
"./*": "./src/*"
},
"main": "./src/index.ts",
- "types": "./lib/types/index.d.ts",
- "publishConfig": {
- "access": "public",
- "main": "./lib/es/index.js",
- "module": "./lib/es/index.js",
- "exports": {
- ".": {
- "import": "./lib/es/index.js",
- "require": "./lib/cjs/index.js",
- "types": "./lib/types/index.d.ts"
- },
- "./*": {
- "import": "./lib/es/*",
- "require": "./lib/cjs/*",
- "types": "./lib/types/index.d.ts"
- },
- "./lib/*": "./lib/*"
- }
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
"scripts": {
- "typecheck": "tsc --noEmit",
- "build": "univer-cli build --skipUMD"
+ "typecheck": "tsc --noEmit"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -76,8 +50,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18",
- "vue": "^3.5.29"
+ "vue": "^3.5.30"
}
}
diff --git a/common/debugger/src/vite-env.d.ts b/common/debugger/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/common/debugger/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/common/debugger/tsconfig.json b/common/debugger/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/common/debugger/tsconfig.json
+++ b/common/debugger/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/common/debugger/tsconfig.node.json b/common/debugger/tsconfig.node.json
deleted file mode 100644
index 4947a09903..0000000000
--- a/common/debugger/tsconfig.node.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
-}
diff --git a/common/debugger/vitest.config.ts b/common/debugger/vitest.config.ts
deleted file mode 100644
index af97c6d7a2..0000000000
--- a/common/debugger/vitest.config.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import createConfig from '@univerjs-infra/shared/vitest';
-
-export default createConfig();
diff --git a/common/mockdata/package.json b/common/mockdata/package.json
index fccb2cabe0..f01172ada7 100644
--- a/common/mockdata/package.json
+++ b/common/mockdata/package.json
@@ -24,7 +24,7 @@
},
"main": "./src/index.ts",
"scripts": {
- "prepare": "tsx ./scripts/generate-locales.ts"
+ "prepare": "node --experimental-strip-types ./scripts/generate-locales.mts"
},
"dependencies": {
"@univerjs/action-recorder": "workspace:*",
diff --git a/common/mockdata/scripts/generate-locales.ts b/common/mockdata/scripts/generate-locales.mts
similarity index 100%
rename from common/mockdata/scripts/generate-locales.ts
rename to common/mockdata/scripts/generate-locales.mts
diff --git a/common/shared/bin/index.ts b/common/shared/bin/index.ts
index 3fb9fc7ecf..2e87d44497 100755
--- a/common/shared/bin/index.ts
+++ b/common/shared/bin/index.ts
@@ -1,12 +1,11 @@
-#!/usr/bin/env -S npx tsx
+#!/usr/bin/env -S node --import tsx/esm
/* eslint-disable header/header */
-import type { IBuildOptions } from '../vite';
+import type { IBuildOptions } from '../tsdown/types';
import process from 'node:process';
-import { build } from '../vite';
+import { build } from '../tsdown/index';
const argvs = process.argv.slice(2);
-
const [command, ...args] = argvs;
if (command === 'build') {
@@ -22,5 +21,6 @@ if (command === 'build') {
options.nodeFirst = true;
}
- build(options);
+ // eslint-disable-next-line antfu/no-top-level-await
+ await build(options);
}
diff --git a/common/shared/eslint/index.ts b/common/shared/eslint/index.ts
index 355fdb5f48..05bdf2faf8 100644
--- a/common/shared/eslint/index.ts
+++ b/common/shared/eslint/index.ts
@@ -379,7 +379,7 @@ export const noBarrelImportPreset = (): Linter.Config => {
'packages/engine-render/src/components/docs/**/*.ts',
'**/*.tsx',
'**/*.d.ts',
- '**/vite.config.ts',
+ '**/tsdown.config.ts',
'playwright.config.ts',
'**/*.spec.ts',
'**/*.spec.tsx',
@@ -410,7 +410,6 @@ export const headerPreset = (): Linter.Config => {
files: ['**/*.ts', '**/*.tsx'],
ignores: [
'**/*.d.ts',
- '**/vite.config.ts',
'**/vitest.config.ts',
'**/vitest.workspace.ts',
'playwright.config.ts',
diff --git a/common/shared/package.json b/common/shared/package.json
index ffcdd2d6af..90cf04c027 100644
--- a/common/shared/package.json
+++ b/common/shared/package.json
@@ -1,5 +1,6 @@
{
"name": "@univerjs-infra/shared",
+ "type": "module",
"version": "0.17.0",
"private": true,
"description": "Some infrastructures for univerjs",
@@ -14,13 +15,13 @@
"exports": {
"./eslint": "./eslint/index.ts",
"./tsconfigs/*": "./tsconfigs/*.json",
- "./vite": "./vite/index.ts",
- "./vitest": "./vitest/index.js",
+ "./vitest": "./vitest/index.ts",
"./esbuild": "./esbuild/index.ts",
"./tailwind": "./tailwind/tailwind.config.ts",
- "./postcss": "./postcss/postcss.config.mjs"
+ "./postcss": "./postcss/postcss.config.mjs",
+ "./tsdown": "./tsdown/index.ts"
},
- "main": "bin/index.js",
+ "main": "bin/index.ts",
"bin": {
"univer-cli": "bin/index.ts"
},
@@ -28,10 +29,9 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
+ "@tsdown/css": "^0.21.2",
"@typescript-eslint/parser": "^8.56.1",
- "@vitejs/plugin-react": "^5.1.4",
- "@vitejs/plugin-vue": "^6.0.4",
- "@vitest/coverage-istanbul": "^4.0.18",
+ "@vitest/coverage-istanbul": "^4.1.0",
"autoprefixer": "^10.4.24",
"eslint-plugin-better-tailwindcss": "^4.3.0",
"eslint-plugin-header": "^3.1.1",
@@ -45,16 +45,16 @@
"sort-keys": "^6.0.0",
"tailwind-scrollbar": "^3",
"tailwindcss": "3.4.18",
- "vite": "^7.3.1",
- "vite-plugin-dts": "^4.5.4",
- "vite-plugin-external": "^6.2.2",
- "vitest": "^4.0.18"
+ "tsdown": "^0.21.3",
+ "unplugin-vue": "^7.1.1",
+ "vitest": "^4.1.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@univerjs/icons": "^1.1.1",
"@univerjs/icons-svg": "^1.1.1",
"@univerjs/protocol": "0.1.48",
- "typescript": "^5.9.3"
+ "typescript": "^5.9.3",
+ "vue-tsc": "^3.2.5"
}
}
diff --git a/common/shared/tsconfig.json b/common/shared/tsconfig.json
index 7f88116494..496521266e 100644
--- a/common/shared/tsconfig.json
+++ b/common/shared/tsconfig.json
@@ -10,7 +10,7 @@
"eslint/**/*.ts",
"eslint/**/*.d.ts",
"tailwind/**/*.ts",
- "vite/**/*.ts",
+ "tsdown/**/*.ts",
"vitest/**/*.ts"
],
"exclude": [
diff --git a/common/shared/tsconfigs/node.json b/common/shared/tsconfigs/node.json
index eee9197199..e5b36a9769 100644
--- a/common/shared/tsconfigs/node.json
+++ b/common/shared/tsconfigs/node.json
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
+ "extends": "./base.json",
"compilerOptions": {
- "composite": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
diff --git a/common/shared/tsdown/configs/module.ts b/common/shared/tsdown/configs/module.ts
new file mode 100644
index 0000000000..e2a681669d
--- /dev/null
+++ b/common/shared/tsdown/configs/module.ts
@@ -0,0 +1,69 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { UserConfig } from 'tsdown';
+import type { IEntryConfig } from '../types';
+import { defineConfig } from 'tsdown';
+import { createOutputAliasPlugin } from '../plugins/output-alias';
+import { createOutputObfuscatorPlugin } from '../plugins/output-obfuscator';
+
+export type TModuleFormat = 'cjs' | 'esm';
+
+export interface ICreateModuleConfigOptions {
+ baseConfig: Partial<UserConfig>;
+ enableObfuscation: boolean;
+ entry: IEntryConfig;
+ externalPackages: string[];
+ facadeExternalPackages: string[];
+ format: TModuleFormat;
+ outDir: string;
+ packageDir: string;
+ plugins: any[];
+}
+
+/**
+ * Creates the common ESM/CJS bundle config for a single package entry.
+ */
+export function createModuleConfig(options: ICreateModuleConfigOptions): UserConfig {
+ const { baseConfig, enableObfuscation, entry, externalPackages, facadeExternalPackages, format, outDir, packageDir, plugins } = options;
+ const neverBundle = entry.type === 'facade' ? facadeExternalPackages : externalPackages;
+ const copyToRoot = format === 'esm';
+ const keepRootIndexCss = entry.type === 'index' && format === 'esm';
+
+ return defineConfig({
+ ...baseConfig,
+ deps: {
+ neverBundle,
+ },
+ dts: false,
+ entry: { [entry.key]: entry.path },
+ format,
+ outputOptions: {
+ codeSplitting: true,
+ minify: true,
+ },
+ outDir,
+ plugins: [
+ ...plugins,
+ ...(enableObfuscation ? [createOutputObfuscatorPlugin()] : []),
+ createOutputAliasPlugin({
+ copyToRoot,
+ keepRootIndexCss,
+ packageDir,
+ }),
+ ],
+ });
+}
diff --git a/common/shared/tsdown/configs/umd.ts b/common/shared/tsdown/configs/umd.ts
new file mode 100644
index 0000000000..c98a97664b
--- /dev/null
+++ b/common/shared/tsdown/configs/umd.ts
@@ -0,0 +1,120 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { UserConfig } from 'tsdown';
+import type { IEntryConfig } from '../types';
+import { defineConfig } from 'tsdown';
+import { peerDepsMap } from '../data/peer-deps';
+import { createOutputAliasPlugin } from '../plugins/output-alias';
+import { createOutputObfuscatorPlugin } from '../plugins/output-obfuscator';
+
+export interface ICreateUmdConfigOptions {
+ baseConfig: Partial<UserConfig>;
+ enableObfuscation: boolean;
+ entry: IEntryConfig;
+ outDir: string;
+ packageDir: string;
+ packageName: string;
+ plugins: any[];
+}
+
+const UMD_GLOBALS: Record<string, string> = Object.fromEntries(
+ Object.entries(peerDepsMap).map(([source, value]) => [source, value.global])
+);
+
+function convertLibNameFromPackageName(name: string) {
+ return name
+ .replace(/^@(univerjs(?:-pro)?)\//, (_, matchedPrefix) => {
+ return matchedPrefix === 'univerjs-pro' ? 'univer-pro-' : 'univer-';
+ })
+ .replace('/facade', '-facade')
+ .split('-')
+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
+ .join('');
+}
+
+/**
+ * Maps externals to their browser globals in UMD builds.
+ */
+function resolveUmdGlobal(source: string) {
+ if (source in UMD_GLOBALS) {
+ return UMD_GLOBALS[source];
+ }
+
+ if (source.startsWith('@univerjs')) {
+ if (source === '@univerjs/protocol' || source === '@univerjs/icons') {
+ return null;
+ }
+
+ return convertLibNameFromPackageName(source);
+ }
+
+ return null;
+}
+
+/**
+ * Produces a stable UMD global name for primary, facade and locale entries.
+ */
+function getGlobalName(packageName: string, entryKey: string) {
+ const name = convertLibNameFromPackageName(packageName);
+
+ if (entryKey === 'facade') {
+ return `${name}Facade`;
+ }
+
+ if (entryKey.startsWith('locale/')) {
+ const localeKey = entryKey.split('/')[1];
+ return `${name}${convertLibNameFromPackageName(localeKey)}`;
+ }
+
+ return name;
+}
+
+/**
+ * Creates the browser-oriented UMD bundle config for a single package entry.
+ */
+export function createUmdConfig(options: ICreateUmdConfigOptions): UserConfig {
+ const { baseConfig, enableObfuscation, entry, outDir, packageDir, packageName, plugins } = options;
+
+ return defineConfig({
+ ...baseConfig,
+ deps: {
+ alwaysBundle: [/.*/],
+ neverBundle: (source: string) => Boolean(resolveUmdGlobal(source)),
+ onlyBundle: false,
+ },
+ dts: false,
+ entry: { [entry.key]: entry.path },
+ format: 'umd',
+ globalName: getGlobalName(packageName, entry.key),
+ outDir,
+ outputOptions: {
+ entryFileNames: '[name].js',
+ globals: (source: string) => resolveUmdGlobal(source) ?? convertLibNameFromPackageName(source),
+ minify: true,
+ },
+ platform: 'browser',
+ plugins: [
+ ...plugins,
+ ...(enableObfuscation ? [createOutputObfuscatorPlugin()] : []),
+ createOutputAliasPlugin({
+ copyToRoot: false,
+ keepRootIndexCss: false,
+ packageDir,
+ }),
+ ],
+ });
+}
diff --git a/common/shared/tsdown/constants.ts b/common/shared/tsdown/constants.ts
new file mode 100644
index 0000000000..aa5bf3991a
--- /dev/null
+++ b/common/shared/tsdown/constants.ts
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export const BUILD_OUTPUT_ROOT = 'dist';
+
+export const BUILD_OUTPUT_DIRECTORIES = {
+ cjs: 'lib/cjs',
+ esm: 'lib/es',
+ umd: 'lib/umd',
+} as const;
+
+export const CLEANUP_DIRECTORIES = ['dist', 'lib', 'coverage'] as const;
+export const DEFAULT_BROWSER_TARGET = 'chrome70';
+export const DEFAULT_ENTRY_FILE = 'src/index.ts';
+export const FACADE_ENTRY_FILE = 'src/facade/index.ts';
+export const LOCALE_DIRECTORY = 'src/locale';
+export const SOURCE_DIRECTORY = 'src';
+export const TYPE_BUILD_CONFIG_FILE = 'tsconfig.tsdown.build.json';
+export const TYPE_BUILD_EXCLUDES = ['src/**/__tests__/**', 'src/**/*.spec.ts', 'src/**/*.test.ts'];
diff --git a/common/shared/vite/data.ts b/common/shared/tsdown/data/peer-deps.ts
similarity index 99%
rename from common/shared/vite/data.ts
rename to common/shared/tsdown/data/peer-deps.ts
index f7090d3dda..6a03506f22 100644
--- a/common/shared/vite/data.ts
+++ b/common/shared/tsdown/data/peer-deps.ts
@@ -65,4 +65,4 @@ export const peerDepsMap = {
name: 'vue',
version: '>=3.0.0',
},
-};
+} as const;
diff --git a/common/shared/tsdown/index.ts b/common/shared/tsdown/index.ts
new file mode 100644
index 0000000000..c81d2ec0f0
--- /dev/null
+++ b/common/shared/tsdown/index.ts
@@ -0,0 +1,116 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { TModuleFormat } from './configs/module';
+import type { IBuildContext, IBuildOptions } from './types';
+import { existsSync, rmSync } from 'node:fs';
+import path from 'node:path';
+import process from 'node:process';
+import { build as tsdownBuild } from 'tsdown';
+import { createModuleConfig } from './configs/module';
+import { createUmdConfig } from './configs/umd';
+import { BUILD_OUTPUT_DIRECTORIES, BUILD_OUTPUT_ROOT, CLEANUP_DIRECTORIES } from './constants';
+import { createBaseConfig, createInputOptions, createInputPlugins } from './utils/base-config';
+import { cleanupPackageJson } from './utils/cleanup-pkg';
+import { getEntries } from './utils/entries';
+import { removeCssArtifacts } from './utils/files';
+import { createExternalPackages, readPackageJson } from './utils/package';
+import { emitPublishPackageJson } from './utils/publish-manifest';
+
+/**
+ * Builds the shared context consumed by all output format factories.
+ */
+function createBuildContext(packageDir: string, options: IBuildOptions): IBuildContext {
+ const packageJson = readPackageJson(packageDir);
+ const externalPackages = createExternalPackages(packageJson);
+
+ return {
+ entries: getEntries(packageDir),
+ externalPackages,
+ facadeExternalPackages: [...externalPackages, packageJson.name, `${packageJson.name}/*`],
+ inputOptions: createInputOptions(options),
+ packageDir,
+ packageJson,
+ plugins: createInputPlugins(packageDir),
+ };
+}
+
+/**
+ * Expands the package context into all required tsdown configs.
+ */
+function createConfigs(context: IBuildContext, options: IBuildOptions) {
+ const baseConfig = createBaseConfig(context);
+ const moduleFormats: TModuleFormat[] = ['esm', 'cjs'];
+ const enableObfuscation = context.packageJson.name.startsWith('@univerjs-pro/');
+
+ const moduleConfigs = context.entries.flatMap((entry) => {
+ return moduleFormats.map((format) => createModuleConfig({
+ baseConfig,
+ enableObfuscation,
+ entry,
+ externalPackages: context.externalPackages,
+ facadeExternalPackages: context.facadeExternalPackages,
+ format,
+ outDir: BUILD_OUTPUT_DIRECTORIES[format],
+ packageDir: context.packageDir,
+ plugins: context.plugins,
+ }));
+ });
+
+ if (options.skipUMD) {
+ return moduleConfigs;
+ }
+
+ const umdConfigs = context.entries.map((entry) => createUmdConfig({
+ baseConfig,
+ enableObfuscation,
+ entry,
+ outDir: BUILD_OUTPUT_DIRECTORIES.umd,
+ packageDir: context.packageDir,
+ packageName: context.packageJson.name,
+ plugins: context.plugins,
+ }));
+
+ return [...moduleConfigs, ...umdConfigs];
+}
+
+export function remove() {
+ const cwd = process.cwd();
+
+ for (const dir of CLEANUP_DIRECTORIES) {
+ const targetDir = path.resolve(cwd, dir);
+
+ if (existsSync(targetDir)) {
+ rmSync(targetDir, { force: true, recursive: true });
+ }
+ }
+}
+
+export async function build(options: IBuildOptions = {}) {
+ const packageDir = process.cwd();
+
+ if (options.cleanup) {
+ remove();
+ }
+
+ removeCssArtifacts(path.join(packageDir, BUILD_OUTPUT_ROOT));
+
+ const context = createBuildContext(packageDir, options);
+ const configs = createConfigs(context, options);
+ await Promise.all(configs.map((config) => tsdownBuild(config)));
+ cleanupPackageJson(packageDir, context.packageJson);
+ emitPublishPackageJson(packageDir);
+}
diff --git a/common/shared/tsdown/plugins/output-alias.ts b/common/shared/tsdown/plugins/output-alias.ts
new file mode 100644
index 0000000000..f365e6dd6b
--- /dev/null
+++ b/common/shared/tsdown/plugins/output-alias.ts
@@ -0,0 +1,74 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { cpSync, existsSync, mkdirSync, unlinkSync } from 'node:fs';
+import path from 'node:path';
+
+interface IBundleOutput {
+ fileName?: string;
+}
+
+export interface ICreateOutputAliasPluginOptions {
+ copyToRoot: boolean;
+ keepRootIndexCss: boolean;
+ packageDir: string;
+}
+
+export function createOutputAliasPlugin(options: ICreateOutputAliasPluginOptions) {
+ const { copyToRoot, keepRootIndexCss, packageDir } = options;
+
+ return {
+ name: 'create-output-alias',
+ writeBundle(outputOptions: { dir?: string }, bundle: Record<string, IBundleOutput>) {
+ if (!outputOptions.dir) {
+ return;
+ }
+
+ const outDir = path.resolve(packageDir, outputOptions.dir);
+ const rootDir = path.resolve(outDir, '..');
+
+ for (const output of Object.values(bundle)) {
+ if (!output.fileName || output.fileName.endsWith('.map')) {
+ continue;
+ }
+
+ const sourcePath = path.join(outDir, output.fileName);
+
+ if (output.fileName.endsWith('.css')) {
+ if (keepRootIndexCss) {
+ const rootCssPath = path.join(rootDir, 'index.css');
+ mkdirSync(path.dirname(rootCssPath), { recursive: true });
+ cpSync(sourcePath, rootCssPath);
+ }
+
+ if (existsSync(sourcePath)) {
+ unlinkSync(sourcePath);
+ }
+
+ continue;
+ }
+
+ if (!copyToRoot) {
+ continue;
+ }
+
+ const targetPath = path.join(rootDir, output.fileName);
+ mkdirSync(path.dirname(targetPath), { recursive: true });
+ cpSync(sourcePath, targetPath);
+ }
+ },
+ };
+}
diff --git a/common/shared/tsdown/plugins/output-obfuscator.ts b/common/shared/tsdown/plugins/output-obfuscator.ts
new file mode 100644
index 0000000000..c973d3a422
--- /dev/null
+++ b/common/shared/tsdown/plugins/output-obfuscator.ts
@@ -0,0 +1,68 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { ObfuscatorOptions } from 'javascript-obfuscator';
+import { readFileSync, writeFileSync } from 'node:fs';
+import path from 'node:path';
+import JavaScriptObfuscator from 'javascript-obfuscator';
+
+interface IBundleOutput {
+ fileName?: string;
+}
+
+const DEFAULT_OBFUSCATION_OPTIONS = {
+ compact: true,
+ identifierNamesGenerator: 'hexadecimal',
+ renameGlobals: false,
+ renameProperties: false,
+ selfDefending: false,
+ simplify: true,
+ splitStrings: false,
+ stringArray: true,
+ stringArrayThreshold: 1,
+ transformObjectKeys: true,
+ unicodeEscapeSequence: false,
+} satisfies ObfuscatorOptions;
+
+export function createOutputObfuscatorPlugin(options: Partial<ObfuscatorOptions> = {}) {
+ const obfuscationOptions: ObfuscatorOptions = {
+ ...DEFAULT_OBFUSCATION_OPTIONS,
+ ...options,
+ };
+
+ return {
+ name: 'create-output-obfuscator',
+ writeBundle(outputOptions: { dir?: string }, bundle: Record<string, IBundleOutput>) {
+ if (!outputOptions.dir) {
+ return;
+ }
+
+ const outDir = outputOptions.dir;
+
+ for (const output of Object.values(bundle)) {
+ if (!output.fileName || !output.fileName.endsWith('.js') || output.fileName.endsWith('.map')) {
+ continue;
+ }
+
+ const targetPath = path.resolve(outDir, output.fileName);
+ const sourceCode = readFileSync(targetPath, 'utf8');
+ const obfuscatedCode = JavaScriptObfuscator.obfuscate(sourceCode, obfuscationOptions).getObfuscatedCode();
+
+ writeFileSync(targetPath, obfuscatedCode, 'utf8');
+ }
+ },
+ };
+}
diff --git a/common/shared/tsdown/types.ts b/common/shared/tsdown/types.ts
new file mode 100644
index 0000000000..507202c16b
--- /dev/null
+++ b/common/shared/tsdown/types.ts
@@ -0,0 +1,48 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { UserConfig } from 'tsdown';
+
+export interface IBuildOptions {
+ skipUMD?: boolean;
+ cleanup?: boolean;
+ nodeFirst?: boolean;
+}
+
+export type TEntryType = 'facade' | 'index' | 'locale';
+
+export interface IEntryConfig {
+ key: string;
+ path: string;
+ type: TEntryType;
+}
+
+export interface IPackageJson {
+ [key: string]: unknown;
+ dependencies?: Record<string, string>;
+ name: string;
+ peerDependencies?: Record<string, string>;
+}
+
+export interface IBuildContext {
+ entries: IEntryConfig[];
+ externalPackages: string[];
+ facadeExternalPackages: string[];
+ inputOptions?: NonNullable<UserConfig['inputOptions']>;
+ packageDir: string;
+ packageJson: IPackageJson;
+ plugins: any[];
+}
diff --git a/common/shared/tsdown/utils/base-config.ts b/common/shared/tsdown/utils/base-config.ts
new file mode 100644
index 0000000000..061675f09a
--- /dev/null
+++ b/common/shared/tsdown/utils/base-config.ts
@@ -0,0 +1,67 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { UserConfig } from 'tsdown';
+import type { IBuildContext, IBuildOptions } from '../types';
+import path from 'node:path';
+import vue from 'unplugin-vue/rolldown';
+import { DEFAULT_BROWSER_TARGET } from '../constants';
+import { hasSourceFiles } from './files';
+
+/**
+ * Resolves extra bundler plugins based on the package source layout.
+ */
+export function createInputPlugins(packageDir: string): any[] {
+ return hasSourceFiles(packageDir, '.vue') ? [vue()] : [];
+}
+
+/**
+ * Builds resolver conditions for packages that prefer Node-first exports.
+ */
+export function createInputOptions(options: IBuildOptions): IBuildContext['inputOptions'] {
+ if (!options.nodeFirst) {
+ return undefined;
+ }
+
+ return {
+ resolve: {
+ conditionNames: ['node', 'default'],
+ },
+ };
+}
+
+/**
+ * Creates the shared tsdown base config used by all output formats.
+ */
+export function createBaseConfig(context: IBuildContext): Partial<UserConfig> {
+ return {
+ clean: false,
+ css: {
+ transformer: 'postcss' as const,
+ },
+ cwd: context.packageDir,
+ define: {
+ 'process.env.BUILD_TIMESTAMP': JSON.stringify(Math.floor(Date.now() / 1000)),
+ 'process.env.NODE_ENV': JSON.stringify('production'),
+ 'process.env.WS_NO_BUFFER_UTIL': JSON.stringify(true),
+ },
+ inputOptions: context.inputOptions,
+ outExtensions: () => ({ js: '.js' }),
+ report: true,
+ target: DEFAULT_BROWSER_TARGET,
+ tsconfig: path.join(context.packageDir, 'tsconfig.json'),
+ } satisfies Partial<UserConfig>;
+}
diff --git a/common/shared/tsdown/utils/cleanup-pkg.ts b/common/shared/tsdown/utils/cleanup-pkg.ts
new file mode 100644
index 0000000000..a8a2cf7242
--- /dev/null
+++ b/common/shared/tsdown/utils/cleanup-pkg.ts
@@ -0,0 +1,442 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* eslint-disable max-lines-per-function */
+import type { IPackageJson } from '../types';
+import path from 'node:path';
+import fs from 'fs-extra';
+import sortKeys from 'sort-keys';
+import * as ts from 'typescript';
+import { peerDepsMap } from '../data/peer-deps';
+
+type StringMap = Record<string, string>;
+type PeerDepValue = (typeof peerDepsMap)[keyof typeof peerDepsMap] & { optional?: boolean };
+type CleanupPackageJson = IPackageJson & {
+ dependencies?: StringMap;
+ devDependencies?: StringMap;
+ exports?: Record<string, unknown>;
+ optionalDependencies?: StringMap;
+ peerDependencies?: StringMap;
+ publishConfig?: {
+ access: string;
+ exports: Record<string, unknown>;
+ main: string;
+ module: string;
+ };
+};
+interface IDerivedDependencyGroups {
+ dependencies: StringMap;
+ devDependencies: StringMap;
+ optionalDependencies: StringMap;
+ peerDependencies: StringMap;
+}
+
+const SOURCE_EXTS = new Set(['.ts', '.tsx']);
+const TEST_FILE_RE = /\.(spec|test)\.[cm]?tsx?$/;
+const IMMUTABLE_MANAGED_DEPENDENCIES = new Set(['@univerjs/icons', '@univerjs/icons-svg', '@univerjs/protocol']);
+
+function filterPackageName(packageName: string): string {
+ if (packageName.startsWith('@univerjs/')) {
+ return packageName.split('/').slice(0, 2).join('/');
+ } else if (packageName.startsWith('@univerjs-pro/')) {
+ return packageName.split('/').slice(0, 2).join('/');
+ } else {
+ return packageName;
+ }
+}
+
+function isManagedUniverPackage(packageName: string) {
+ return packageName.startsWith('@univerjs/') || packageName.startsWith('@univerjs-pro/');
+}
+
+function shouldPreserveExistingDependency(packageName: string) {
+ return !isManagedUniverPackage(packageName) || IMMUTABLE_MANAGED_DEPENDENCIES.has(packageName);
+}
+
+function mergePreservingNonUniver(existing: StringMap | undefined, next: StringMap) {
+ const preserved = Object.fromEntries(
+ Object.entries(existing ?? {}).filter(([name]) => shouldPreserveExistingDependency(name))
+ ) as StringMap;
+
+ return sortKeys({ ...preserved, ...next });
+}
+
+function assignDependencyGroup(
+ pkg: CleanupPackageJson,
+ key: 'dependencies' | 'devDependencies' | 'optionalDependencies',
+ next: StringMap
+) {
+ const merged = mergePreservingNonUniver(pkg[key], next);
+
+ if (Object.keys(merged).length === 0) {
+ delete pkg[key];
+ return;
+ }
+
+ pkg[key] = merged;
+}
+
+function isTestSourceFile(filePath: string) {
+ const normalized = filePath.split(path.sep).join('/');
+ if (normalized.includes('/__tests__/')) {
+ return true;
+ }
+
+ return TEST_FILE_RE.test(normalized);
+}
+
+function parseModuleSpecifiersFromCode(code: string, filePath: string) {
+ const runtime = new Set<string>();
+ const typeOnly = new Set<string>();
+ const kind = path.extname(filePath) === '.tsx' ? ts.ScriptKind.TSX : ts.ScriptKind.TS;
+ const sourceFile = ts.createSourceFile(filePath, code, ts.ScriptTarget.Latest, true, kind);
+
+ function add(spec: string, isType: boolean) {
+ if (!spec || spec.startsWith('\0') || spec.startsWith('.') || spec.startsWith('/')) {
+ return;
+ }
+ (isType ? typeOnly : runtime).add(spec);
+ }
+
+ function addFromImportLike(moduleSpecifier: ts.Expression | undefined, isType: boolean) {
+ if (moduleSpecifier && ts.isStringLiteralLike(moduleSpecifier)) {
+ add(moduleSpecifier.text, isType);
+ }
+ }
+
+ for (const stmt of sourceFile.statements) {
+ if (ts.isImportDeclaration(stmt)) {
+ const spec = stmt.moduleSpecifier;
+ const clause = stmt.importClause;
+ if (!clause) {
+ addFromImportLike(spec, false);
+ continue;
+ }
+
+ if (clause.isTypeOnly) {
+ addFromImportLike(spec, true);
+ continue;
+ }
+
+ let hasValue = Boolean(clause.name);
+ if (clause.namedBindings) {
+ if (ts.isNamespaceImport(clause.namedBindings)) {
+ hasValue = true;
+ } else if (ts.isNamedImports(clause.namedBindings)) {
+ const allTypeOnly = clause.namedBindings.elements.length > 0
+ && clause.namedBindings.elements.every((el) => el.isTypeOnly);
+ const anyValue = clause.namedBindings.elements.some((el) => !el.isTypeOnly);
+ if (anyValue) {
+ hasValue = true;
+ } else if (allTypeOnly && !hasValue) {
+ addFromImportLike(spec, true);
+ continue;
+ }
+ }
+ }
+
+ addFromImportLike(spec, !hasValue);
+ continue;
+ }
+
+ if (ts.isExportDeclaration(stmt) && stmt.moduleSpecifier) {
+ const spec = stmt.moduleSpecifier;
+ if (stmt.isTypeOnly) {
+ addFromImportLike(spec, true);
+ continue;
+ }
+
+ if (stmt.exportClause && ts.isNamedExports(stmt.exportClause)) {
+ const allTypeOnly = stmt.exportClause.elements.length > 0
+ && stmt.exportClause.elements.every((el) => el.isTypeOnly);
+ addFromImportLike(spec, allTypeOnly);
+ continue;
+ }
+
+ addFromImportLike(spec, false);
+ continue;
+ }
+ }
+
+ function visit(node: ts.Node) {
+ if (ts.isImportTypeNode(node)) {
+ const arg = node.argument;
+ if (ts.isLiteralTypeNode(arg) && ts.isStringLiteralLike(arg.literal)) {
+ add(arg.literal.text, true);
+ }
+ }
+
+ if (ts.isCallExpression(node) && node.arguments.length === 1 && ts.isStringLiteralLike(node.arguments[0])) {
+ const callee = node.expression;
+ if (callee.kind === ts.SyntaxKind.ImportKeyword) {
+ add(node.arguments[0].text, false);
+ } else if (ts.isIdentifier(callee) && callee.text === 'require') {
+ add(node.arguments[0].text, false);
+ }
+ }
+
+ ts.forEachChild(node, visit);
+ }
+
+ visit(sourceFile);
+
+ return { runtime, typeOnly };
+}
+
+function walkSourceFiles(dir: string, files: string[] = []) {
+ if (!fs.existsSync(dir)) {
+ return files;
+ }
+
+ const entries = fs.readdirSync(dir, { withFileTypes: true });
+ for (const entry of entries) {
+ const fullPath = path.join(dir, entry.name);
+ if (entry.isDirectory()) {
+ if (entry.name === 'node_modules' || entry.name === 'dist' || entry.name === 'lib' || entry.name === 'coverage') {
+ continue;
+ }
+
+ walkSourceFiles(fullPath, files);
+ continue;
+ }
+
+ if (SOURCE_EXTS.has(path.extname(entry.name))) {
+ files.push(fullPath);
+ }
+ }
+
+ return files;
+}
+
+function collectBareSpecifiersFromSource(packageDir: string) {
+ const runtimeValueSpecifiers = new Set<string>();
+ const runtimeTypeSpecifiers = new Set<string>();
+ const testSpecifiers = new Set<string>();
+ const srcDir = path.resolve(packageDir, 'src');
+
+ for (const file of walkSourceFiles(srcDir)) {
+ const code = fs.readFileSync(file, 'utf8');
+ const isTest = isTestSourceFile(file);
+ const { runtime, typeOnly } = parseModuleSpecifiersFromCode(code, file);
+
+ for (const spec of runtime) {
+ if (isTest) {
+ testSpecifiers.add(spec);
+ } else {
+ runtimeValueSpecifiers.add(spec);
+ }
+ }
+
+ for (const spec of typeOnly) {
+ if (isTest) {
+ testSpecifiers.add(spec);
+ } else {
+ runtimeTypeSpecifiers.add(spec);
+ }
+ }
+ }
+
+ return {
+ runtimeValue: [...runtimeValueSpecifiers],
+ runtimeType: [...runtimeTypeSpecifiers],
+ test: [...testSpecifiers],
+ };
+}
+
+function resolvePeerDepVersion(value: PeerDepValue): { name: string; version: string; optional: boolean } | null {
+ let version = value.version;
+ let name = value.name;
+ const optional = Boolean(value.optional);
+ const visited = new Set<string>();
+
+ while (version in peerDepsMap) {
+ if (visited.has(version)) {
+ return null;
+ }
+
+ visited.add(version);
+ const next = peerDepsMap[version as keyof typeof peerDepsMap] as PeerDepValue;
+ name = next.name;
+ version = next.version;
+ }
+
+ return { name, optional, version };
+}
+
+function resolveUniverDependencyVersion(name: string) {
+ if (IMMUTABLE_MANAGED_DEPENDENCIES.has(name)) {
+ return undefined;
+ }
+
+ return 'workspace:*';
+}
+
+function deriveDependencyGroups(packageDir: string, packageJson: IPackageJson): IDerivedDependencyGroups {
+ const declaredDependencies = packageJson.dependencies ?? {};
+ const declaredOptionalDependencies = (packageJson as CleanupPackageJson).optionalDependencies ?? {};
+ const peerDeps: StringMap = {};
+ const deps: StringMap = {};
+ const optionalDeps: StringMap = {};
+ const devDeps: StringMap = {};
+ const { runtimeValue, runtimeType, test } = collectBareSpecifiersFromSource(packageDir);
+ const runtimeUniver = new Set<string>();
+ const runtimeTypeOnlyUniver = new Set<string>();
+ const testOnlyUniver = new Set<string>();
+
+ for (const source of runtimeValue) {
+ if (Object.prototype.hasOwnProperty.call(peerDepsMap, source)) {
+ const value = peerDepsMap[source as keyof typeof peerDepsMap] as PeerDepValue;
+ const resolved = resolvePeerDepVersion(value);
+ if (!resolved) {
+ continue;
+ }
+
+ // Local package manifests win over the shared peer-dependency registry.
+ if (resolved.name in declaredDependencies || resolved.name in declaredOptionalDependencies) {
+ continue;
+ }
+
+ if (resolved.optional) {
+ optionalDeps[resolved.name] = resolved.version;
+ } else {
+ peerDeps[resolved.name] = resolved.version;
+ }
+ continue;
+ }
+
+ if (source.startsWith('@univerjs')) {
+ runtimeUniver.add(filterPackageName(source));
+ }
+ }
+
+ for (const source of runtimeType) {
+ if (source.startsWith('@univerjs')) {
+ runtimeTypeOnlyUniver.add(filterPackageName(source));
+ }
+ }
+
+ for (const source of test) {
+ if (source.startsWith('@univerjs')) {
+ testOnlyUniver.add(filterPackageName(source));
+ }
+ }
+
+ for (const name of runtimeUniver) {
+ if (name === packageJson.name) {
+ continue;
+ }
+
+ const dependencyVersion = resolveUniverDependencyVersion(name);
+ if (dependencyVersion) {
+ deps[name] = dependencyVersion;
+ }
+ }
+
+ for (const name of new Set([...testOnlyUniver, ...runtimeTypeOnlyUniver])) {
+ if (runtimeUniver.has(name) || name === packageJson.name) {
+ continue;
+ }
+
+ const dependencyVersion = resolveUniverDependencyVersion(name);
+ if (dependencyVersion) {
+ devDeps[name] = dependencyVersion;
+ }
+ }
+
+ return {
+ dependencies: deps,
+ devDependencies: devDeps,
+ optionalDependencies: optionalDeps,
+ peerDependencies: peerDeps,
+ };
+}
+
+function applyPublishManifest(pkg: CleanupPackageJson, packageDir: string) {
+ const hasLocales = fs.existsSync(path.resolve(packageDir, 'src/locale'));
+ const hasFacade = fs.existsSync(path.resolve(packageDir, 'src/facade/index.ts'));
+
+ pkg.publishConfig = {
+ access: 'public',
+ main: './lib/es/index.js',
+ module: './lib/es/index.js',
+ exports: {
+ '.': {
+ import: './lib/es/index.js',
+ require: './lib/cjs/index.js',
+ types: './lib/types/index.d.ts',
+ },
+ './*': {
+ import: './lib/es/*',
+ require: './lib/cjs/*',
+ types: './lib/types/index.d.ts',
+ },
+ },
+ };
+
+ pkg.exports ||= {};
+
+ if (hasLocales) {
+ pkg.exports['./locale/*'] = './src/locale/*.ts';
+ pkg.publishConfig.exports['./locale/*'] = {
+ import: './lib/es/locale/*.js',
+ require: './lib/cjs/locale/*.js',
+ types: './lib/types/locale/*.d.ts',
+ };
+ }
+
+ if (hasFacade) {
+ pkg.exports['./facade'] = './src/facade/index.ts';
+ pkg.publishConfig.exports['./facade'] = {
+ import: './lib/es/facade.js',
+ require: './lib/cjs/facade.js',
+ types: './lib/types/facade/index.d.ts',
+ };
+ pkg.publishConfig.exports['./lib/facade'] = pkg.publishConfig.exports['./facade'];
+ }
+
+ pkg.publishConfig.exports['./lib/*'] = './lib/*';
+}
+
+function assignPeerDependencies(pkg: CleanupPackageJson, peerDeps: StringMap) {
+ const managedPeerDepNames = [...new Set(Object.values(peerDepsMap).map((value) => value.name))];
+ const existing = { ...pkg.peerDependencies };
+ for (const key of managedPeerDepNames) {
+ delete existing[key];
+ }
+
+ const merged = Object.keys(peerDeps).length > 0 ? sortKeys({ ...existing, ...peerDeps }) : sortKeys(existing);
+ if (Object.keys(merged).length === 0) {
+ delete pkg.peerDependencies;
+ return;
+ }
+
+ pkg.peerDependencies = merged;
+}
+
+export function cleanupPackageJson(packageDir: string, packageJson: IPackageJson) {
+ const pkgPath = path.resolve(packageDir, 'package.json');
+ const pkg = fs.readJSONSync(pkgPath) as CleanupPackageJson;
+ const dependencyGroups = deriveDependencyGroups(packageDir, packageJson);
+
+ applyPublishManifest(pkg, packageDir);
+ assignDependencyGroup(pkg, 'optionalDependencies', dependencyGroups.optionalDependencies);
+ assignPeerDependencies(pkg, dependencyGroups.peerDependencies);
+ assignDependencyGroup(pkg, 'dependencies', dependencyGroups.dependencies);
+ // This rewrite only owns @univerjs-managed entries; unrelated dev deps stay intact.
+ assignDependencyGroup(pkg, 'devDependencies', dependencyGroups.devDependencies);
+
+ fs.writeJSONSync(pkgPath, pkg, { spaces: 4 });
+}
diff --git a/common/shared/tsdown/utils/entries.ts b/common/shared/tsdown/utils/entries.ts
new file mode 100644
index 0000000000..5a32dce462
--- /dev/null
+++ b/common/shared/tsdown/utils/entries.ts
@@ -0,0 +1,61 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { IEntryConfig } from '../types';
+import { existsSync, readdirSync, statSync } from 'node:fs';
+import path from 'node:path';
+import { DEFAULT_ENTRY_FILE, FACADE_ENTRY_FILE, LOCALE_DIRECTORY } from '../constants';
+
+/**
+ * Collects all canonical build entries for a package.
+ */
+export function getEntries(packageDir: string): IEntryConfig[] {
+ const entries: IEntryConfig[] = [{
+ key: 'index',
+ path: path.join(packageDir, DEFAULT_ENTRY_FILE),
+ type: 'index',
+ }];
+
+ const facadeEntry = path.join(packageDir, FACADE_ENTRY_FILE);
+ if (existsSync(facadeEntry)) {
+ entries.push({
+ key: 'facade',
+ path: facadeEntry,
+ type: 'facade',
+ });
+ }
+
+ const localeDir = path.join(packageDir, LOCALE_DIRECTORY);
+ if (!existsSync(localeDir)) {
+ return entries;
+ }
+
+ for (const fileName of readdirSync(localeDir).sort((left, right) => left.localeCompare(right))) {
+ const fullPath = path.join(localeDir, fileName);
+
+ if (statSync(fullPath).isDirectory() || !fileName.endsWith('.ts') || !fileName.includes('-')) {
+ continue;
+ }
+
+ entries.push({
+ key: `locale/${fileName.replace(/\.ts$/, '')}`,
+ path: fullPath,
+ type: 'locale',
+ });
+ }
+
+ return entries;
+}
diff --git a/common/shared/tsdown/utils/files.ts b/common/shared/tsdown/utils/files.ts
new file mode 100644
index 0000000000..8053dca260
--- /dev/null
+++ b/common/shared/tsdown/utils/files.ts
@@ -0,0 +1,76 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { existsSync, readdirSync, unlinkSync } from 'node:fs';
+import path from 'node:path';
+import { SOURCE_DIRECTORY } from '../constants';
+
+/**
+ * Walks the package source tree and returns whether a given file suffix exists.
+ */
+export function hasSourceFiles(packageDir: string, extension: string) {
+ const sourceDir = path.join(packageDir, SOURCE_DIRECTORY);
+
+ if (!existsSync(sourceDir)) {
+ return false;
+ }
+
+ const stack = [sourceDir];
+
+ while (stack.length > 0) {
+ const currentDir = stack.pop()!;
+ const entries = readdirSync(currentDir, { withFileTypes: true });
+
+ for (const entry of entries) {
+ const fullPath = path.join(currentDir, entry.name);
+
+ if (entry.isDirectory()) {
+ stack.push(fullPath);
+ continue;
+ }
+
+ if (entry.name.endsWith(extension)) {
+ return true;
+ }
+ }
+ }
+
+ return false;
+}
+
+/**
+ * Removes emitted css artifacts before a new build so alias copies stay deterministic.
+ */
+export function removeCssArtifacts(dir: string) {
+ if (!existsSync(dir)) {
+ return;
+ }
+
+ const entries = readdirSync(dir, { withFileTypes: true });
+
+ for (const entry of entries) {
+ const fullPath = path.join(dir, entry.name);
+
+ if (entry.isDirectory()) {
+ removeCssArtifacts(fullPath);
+ continue;
+ }
+
+ if (entry.name.endsWith('.css')) {
+ unlinkSync(fullPath);
+ }
+ }
+}
diff --git a/common/shared/tsdown/utils/package.ts b/common/shared/tsdown/utils/package.ts
new file mode 100644
index 0000000000..999008fa3e
--- /dev/null
+++ b/common/shared/tsdown/utils/package.ts
@@ -0,0 +1,40 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { IPackageJson } from '../types';
+import { readFileSync } from 'node:fs';
+import path from 'node:path';
+
+/**
+ * Reads the package manifest used to derive dependency externalization rules.
+ */
+export function readPackageJson(packageDir: string): IPackageJson {
+ return JSON.parse(readFileSync(path.join(packageDir, 'package.json'), 'utf-8')) as IPackageJson;
+}
+
+/**
+ * Produces the external package allowlist including subpath imports.
+ */
+export function createExternalPackages(packageJson: IPackageJson) {
+ const dependencyNames = [
+ ...Object.keys(packageJson.dependencies ?? {}),
+ ...Object.keys(packageJson.peerDependencies ?? {}),
+ ];
+
+ return [...new Set(dependencyNames)]
+ .sort((left, right) => left.localeCompare(right))
+ .flatMap((packageName) => [packageName, `${packageName}/*`]);
+}
diff --git a/common/shared/tsdown/utils/publish-manifest.ts b/common/shared/tsdown/utils/publish-manifest.ts
new file mode 100644
index 0000000000..250fdc71e6
--- /dev/null
+++ b/common/shared/tsdown/utils/publish-manifest.ts
@@ -0,0 +1,81 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { IPackageJson } from '../types';
+import { mkdirSync, writeFileSync } from 'node:fs';
+import path from 'node:path';
+import { readPackageJson } from './package';
+
+const ROOT_MANIFEST_FIELDS = [
+ 'author',
+ 'bugs',
+ 'dependencies',
+ 'description',
+ 'engines',
+ 'funding',
+ 'homepage',
+ 'keywords',
+ 'license',
+ 'name',
+ 'optionalDependencies',
+ 'peerDependencies',
+ 'peerDependenciesMeta',
+ 'repository',
+ 'sideEffects',
+ 'type',
+ 'version',
+] as const;
+
+function pickRootManifest(pkg: IPackageJson) {
+ const manifest: Record<string, unknown> = {};
+
+ for (const field of ROOT_MANIFEST_FIELDS) {
+ if (pkg[field] !== undefined) {
+ manifest[field] = pkg[field];
+ }
+ }
+
+ return manifest;
+}
+
+/**
+ * Creates the publish-time package manifest inside the dist directory.
+ */
+export function emitPublishPackageJson(packageDir: string) {
+ const pkg = readPackageJson(packageDir);
+ const publishConfig = pkg.publishConfig as Record<string, unknown> | undefined;
+ const publishDirectory = typeof publishConfig?.directory === 'string' ? publishConfig.directory : null;
+
+ if (!publishConfig || !publishDirectory) {
+ return;
+ }
+
+ const distDir = path.join(packageDir, publishDirectory);
+ const manifest = {
+ ...pickRootManifest(pkg),
+ } as Record<string, unknown>;
+
+ for (const [key, value] of Object.entries(publishConfig)) {
+ if (key === 'access' || key === 'directory') {
+ continue;
+ }
+
+ manifest[key] = value;
+ }
+
+ mkdirSync(distDir, { recursive: true });
+ writeFileSync(path.join(distDir, 'package.json'), `${JSON.stringify(manifest, null, 4)}\n`);
+}
diff --git a/common/shared/vite/auto-detected-external-plugin.ts b/common/shared/vite/auto-detected-external-plugin.ts
deleted file mode 100644
index 86813c5def..0000000000
--- a/common/shared/vite/auto-detected-external-plugin.ts
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import type { Plugin } from 'vite';
-import { peerDepsMap } from './data';
-import { convertLibNameFromPackageName } from './utils';
-
-export function autoDetectedExternalPlugin(): Plugin {
- const globals: Record<string, string> = {};
- let hasCss = false;
-
- return {
- name: 'auto-detected-external',
- enforce: 'pre',
- apply: 'build',
-
- resolveId(source) {
- if (source.endsWith('.css')) {
- hasCss = true;
- return null;
- }
-
- if (Object.prototype.hasOwnProperty.call(peerDepsMap, source)) {
- const dep = peerDepsMap[source as keyof typeof peerDepsMap];
- globals[source] = dep.global;
-
- return { id: source, external: true };
- } else if (source.startsWith('@univerjs')) {
- if (source === '@univerjs/icons') {
- return null;
- }
- if (source === '@univerjs/protocol') {
- return null;
- }
-
- globals[source] = convertLibNameFromPackageName(source);
-
- return { id: source, external: true };
- }
-
- return null;
- },
-
- outputOptions(opts) {
- opts.globals = globals;
-
- if (hasCss) {
- opts.assetFileNames = 'index.css';
- }
-
- return opts;
- },
- };
-};
diff --git a/common/shared/vite/cleanup-pkg-plugin.ts b/common/shared/vite/cleanup-pkg-plugin.ts
deleted file mode 100644
index 6f9a4948cd..0000000000
--- a/common/shared/vite/cleanup-pkg-plugin.ts
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import type { Plugin } from 'vite';
-import path from 'node:path';
-import process from 'node:process';
-import fs from 'fs-extra';
-import sortKeys from 'sort-keys';
-import localPkg from '../package.json';
-import { peerDepsMap } from './data';
-
-type StringMap = Record<string, string>;
-type PeerDepValue = (typeof peerDepsMap)[keyof typeof peerDepsMap] & { optional?: boolean };
-
-function filterPackageName(packageName: string): string {
- if (packageName.startsWith('@univerjs/')) {
- return packageName.split('/').slice(0, 2).join('/');
- } else if (packageName.startsWith('@univerjs-pro/')) {
- return packageName.split('/').slice(0, 2).join('/');
- } else {
- return packageName;
- }
-}
-
-/* eslint-disable-next-line max-lines-per-function */
-export function cleanupPkgPlugin(): Plugin {
- const __pkg = path.resolve(process.cwd(), 'package.json');
- const pkg = fs.readJSONSync(__pkg);
- const isPro = pkg.name.startsWith('@univerjs-pro');
- const localDevDependencies = localPkg.devDependencies as StringMap;
-
- const peerDeps: StringMap = {};
- const deps: StringMap = {};
- const optionalDeps: StringMap = {};
-
- return {
- name: 'cleanup-pkg',
- enforce: 'pre',
- apply: 'build',
-
- resolveId(source) {
- if (Object.prototype.hasOwnProperty.call(peerDepsMap, source)) {
- const value = peerDepsMap[source as keyof typeof peerDepsMap] as PeerDepValue;
- if (!(value.version in peerDepsMap)) {
- if (value.optional) {
- optionalDeps[value.name] = value.version;
- } else {
- peerDeps[value.name] = value.version;
- }
- }
- } else if (source.startsWith('@univerjs')) {
- const name = filterPackageName(source);
- if (['@univerjs/icons', '@univerjs/protocol'].includes(name)) {
- if (name === '@univerjs/protocol' && isPro) {
- deps[name] = 'workspace:*';
- } else {
- const dependencyVersion = localDevDependencies[name];
- if (dependencyVersion) {
- deps[name] = dependencyVersion;
- }
- }
- } else if (name !== pkg.name) {
- const name = filterPackageName(source);
- deps[name] = 'workspace:*';
- }
- }
-
- return null;
- },
-
- generateBundle() {
- const hasLocales = fs.existsSync(path.resolve(process.cwd(), 'src/locale'));
- const hasFacade = fs.existsSync(path.resolve(process.cwd(), 'src/facade/index.ts'));
- pkg.publishConfig = {
- access: 'public',
- main: './lib/es/index.js',
- module: './lib/es/index.js',
- exports: {
- '.': {
- import: './lib/es/index.js',
- require: './lib/cjs/index.js',
- types: './lib/types/index.d.ts',
- },
- './*': {
- import: './lib/es/*',
- require: './lib/cjs/*',
- types: './lib/types/index.d.ts',
- },
- },
- };
- if (hasLocales) {
- pkg.exports['./locale/*'] = './src/locale/*.ts';
- pkg.publishConfig.exports['./locale/*'] = {
- import: './lib/es/locale/*.js',
- require: './lib/cjs/locale/*.js',
- types: './lib/types/locale/*.d.ts',
- };
- }
- if (hasFacade) {
- pkg.exports['./facade'] = './src/facade/index.ts';
- pkg.publishConfig.exports['./facade'] = {
- import: './lib/es/facade.js',
- require: './lib/cjs/facade.js',
- types: './lib/types/facade/index.d.ts',
- };
- pkg.publishConfig.exports['./lib/facade'] = pkg.publishConfig.exports['./facade'];
- }
- pkg.publishConfig.exports['./lib/*'] = './lib/*';
-
- if (Object.keys(optionalDeps).length > 0) {
- pkg.optionalDependencies = sortKeys(optionalDeps);
- }
-
- if (Object.keys(peerDeps).length > 0) {
- pkg.peerDependencies = sortKeys(peerDeps);
- }
-
- // Remove the existing @univerjs dependencies
- if (pkg?.dependencies) {
- for (const key of Object.keys(pkg.dependencies)) {
- if (key.startsWith('@univerjs')) {
- delete pkg.dependencies[key];
- }
- }
- if (Object.keys(deps).length > 0) {
- pkg.dependencies = sortKeys({ ...pkg.dependencies, ...deps });
- }
- }
-
- if (pkg?.devDependencies) {
- for (const key of Object.keys(pkg.devDependencies)) {
- if (['@univerjs/protocol', '@univerjs/icons-svg'].includes(key)) {
- if (key === '@univerjs/protocol' && isPro) {
- pkg.devDependencies[key] = 'workspace:*';
- } else {
- const dependencyVersion = localDevDependencies[key];
- if (dependencyVersion) {
- pkg.devDependencies[key] = dependencyVersion;
- }
- }
- }
- }
- }
-
- // Write package.json atomically to avoid concurrent readers seeing partial JSON content.
- const tempPkgPath = `${__pkg}.${process.pid}.${Date.now()}.tmp`;
- const pkgContent = `${JSON.stringify(pkg, null, 4)}\n`;
- fs.writeFileSync(tempPkgPath, pkgContent, 'utf8');
- fs.moveSync(tempPkgPath, __pkg, { overwrite: true });
- },
- };
-};
diff --git a/common/shared/vite/index.ts b/common/shared/vite/index.ts
deleted file mode 100644
index 47c6058e40..0000000000
--- a/common/shared/vite/index.ts
+++ /dev/null
@@ -1,241 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import type { InlineConfig } from 'vite';
-import path from 'node:path';
-import process from 'node:process';
-import react from '@vitejs/plugin-react';
-import vue from '@vitejs/plugin-vue';
-import fs from 'fs-extra';
-import { mergeConfig, build as viteBuild } from 'vite';
-import dts from 'vite-plugin-dts';
-import vitePluginExternal from 'vite-plugin-external';
-import { autoDetectedExternalPlugin } from './auto-detected-external-plugin';
-import { cleanupPkgPlugin } from './cleanup-pkg-plugin';
-import { trimClassNamePlugin } from './plugin-trim-classname-plugin';
-import { convertLibNameFromPackageName, obfuscator } from './utils';
-
-interface IBuildExecuterOptions {
- pkg: {
- name: string;
- };
- entry: Record<string, string>;
- isPro: boolean;
-}
-
-async function buildESM(sharedConfig: InlineConfig, options: IBuildExecuterOptions) {
- const { entry } = options;
-
- await Promise.all(Object.keys(entry).map((key) => {
- const basicConfig: InlineConfig = {
- build: {
- emptyOutDir: false,
- outDir: 'lib',
- lib: {
- entry: {
- [key]: entry[key],
- },
- fileName: () => `es/${key}.js`,
- formats: ['es'],
- },
- rollupOptions: {
- output: {
- inlineDynamicImports: true,
- },
- },
- },
- };
-
- const config: InlineConfig = mergeConfig(sharedConfig, basicConfig);
-
- if (key === 'index') {
- config.plugins?.unshift(cleanupPkgPlugin());
- config.plugins?.push(
- dts({
- entryRoot: 'src',
- outDir: 'lib/types',
- clearPureImport: false,
- exclude: ['**/__tests__/**'],
- })
- );
- }
-
- return viteBuild(config);
- }));
-
- const __dirname = process.cwd();
- const libDir = path.resolve(__dirname, 'lib');
- const esmDir = path.resolve(__dirname, 'lib/es');
-
- fs.copySync(esmDir, libDir);
-}
-
-async function buildCJS(sharedConfig: InlineConfig, options: IBuildExecuterOptions) {
- const { entry } = options;
-
- return Promise.all(Object.keys(entry).map((key) => {
- const config: InlineConfig = mergeConfig(sharedConfig, {
- build: {
- emptyOutDir: false,
- outDir: 'lib',
- lib: {
- entry: {
- [key]: entry[key],
- },
- fileName: () => `cjs/${key}.js`,
- formats: ['cjs'],
- },
- },
- });
-
- return viteBuild(config);
- }));
-}
-
-async function buildUMD(sharedConfig: InlineConfig, options: IBuildExecuterOptions) {
- const { pkg, entry } = options;
-
- return Promise.all(Object.keys(entry).map((key) => {
- let name = convertLibNameFromPackageName(pkg.name);
- if (key.includes('facade')) {
- name = `${name}Facade`;
- }
- if (key.includes('locale')) {
- const localeKey = key.split('/')[1];
- name = `${name}${convertLibNameFromPackageName(localeKey)}`;
- }
-
- const config: InlineConfig = mergeConfig(sharedConfig, {
- build: {
- emptyOutDir: false,
- outDir: 'lib',
- lib: {
- entry: {
- [key]: entry[key],
- },
- name,
- fileName: () => `umd/${key}.js`,
- formats: ['umd'],
- },
- },
- });
-
- return viteBuild(config);
- }));
-}
-
-export interface IBuildOptions {
- /**
- * Skip UMD build
- * @default false
- * @description If true, UMD build will be skipped. Useful for packages that run in Node.js environment.
- */
- skipUMD?: boolean;
-
- /**
- * Cleanup all compiled files
- * @default false
- */
- cleanup?: boolean;
-
- /**
- * Condition to build node first
- * @default false
- */
- nodeFirst?: boolean;
-}
-
-export function remove() {
- const __dirname = process.cwd();
-
- [
- path.resolve(__dirname, './lib'),
- path.resolve(__dirname, './coverage'),
- ].forEach((dir) => {
- if (fs.existsSync(dir)) {
- fs.removeSync(dir);
- }
- });
-}
-
-export async function build(options?: IBuildOptions) {
- const { skipUMD = false, cleanup = false, nodeFirst = false } = options ?? {};
-
- if (cleanup) {
- remove();
- }
-
- const __dirname = process.cwd();
-
- const pkg = fs.readJsonSync(path.resolve(__dirname, 'package.json'));
- const isPro = pkg.name.startsWith('@univerjs-pro/');
-
- const entry: Record<string, string> = {
- index: path.resolve(__dirname, 'src/index.ts'),
- };
- const hasFacade = fs.existsSync(path.resolve(__dirname, 'src/facade/index.ts'));
- const hasLocales = fs.existsSync(path.resolve(__dirname, 'src/locale'));
-
- if (hasFacade) {
- entry.facade = path.resolve(__dirname, 'src/facade/index.ts');
- }
- if (hasLocales) {
- const locales = fs.readdirSync(path.resolve(__dirname, 'src/locale'));
- for (const file of locales) {
- if (fs.statSync(path.resolve(__dirname, 'src/locale', file)).isDirectory() || !file.includes('-')) {
- continue;
- }
- const localeValue = file.replace('.ts', '');
- entry[`locale/${localeValue}`] = path.resolve(__dirname, 'src/locale', file);
- }
- }
-
- const sharedConfig: InlineConfig = {
- configFile: false,
- build: {
- target: 'chrome70',
- },
- resolve: {
- conditions: nodeFirst ? ['node', 'default'] : undefined,
- },
- define: {
- 'process.env.NODE_ENV': JSON.stringify('production'),
- 'process.env.BUILD_TIMESTAMP': JSON.stringify(Math.floor(Date.now() / 1000)),
- // for ws package to avoid optional dependency issue
- 'process.env.WS_NO_BUFFER_UTIL': JSON.stringify(true),
- },
- plugins: [
- trimClassNamePlugin(),
- react({}),
- vue({}),
- autoDetectedExternalPlugin(),
- vitePluginExternal({
- nodeBuiltins: true,
- }),
- isPro ? obfuscator() : null,
- ],
- };
-
- const buildExecuterOptions: IBuildExecuterOptions = {
- pkg,
- entry,
- isPro,
- };
-
- buildESM(sharedConfig, buildExecuterOptions);
- buildCJS(sharedConfig, buildExecuterOptions);
- !skipUMD && buildUMD(sharedConfig, buildExecuterOptions);
-}
diff --git a/common/shared/vite/plugin-trim-classname-plugin.ts b/common/shared/vite/plugin-trim-classname-plugin.ts
deleted file mode 100644
index 70e672bd2e..0000000000
--- a/common/shared/vite/plugin-trim-classname-plugin.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import type { Plugin } from 'vite';
-
-export function trimClassNamePlugin(): Plugin {
- return {
- name: 'vite-plugin-trim-classname',
- transform(code: string, id: string) {
- if (id.endsWith('.tsx')) {
- const transformedCode = code.replace(
- /className: `([^`}]+)`/g,
- (_match: string, classNameValue: string) => {
- const cleanedClassName = classNameValue
- .replace(/\n/g, ' ')
- .replace(/\s{2,}/g, ' ')
- .trim();
- return `className: \`${cleanedClassName}\``;
- }
- ).replace(
- /clsx\(`([^`}]+)`/g,
- (_match: string, classNameValue: string) => {
- const cleanedClassName = classNameValue
- .replace(/\n/g, ' ')
- .replace(/\s{2,}/g, ' ')
- .trim();
- return `clsx(\`${cleanedClassName}\``;
- }
- );
-
- return {
- code: transformedCode,
- map: null,
- };
- }
- return null;
- },
- };
-};
diff --git a/common/shared/vite/utils.ts b/common/shared/vite/utils.ts
deleted file mode 100644
index 401f246f01..0000000000
--- a/common/shared/vite/utils.ts
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import type { Plugin } from 'vite';
-import process from 'node:process';
-import JavaScriptObfuscator from 'javascript-obfuscator';
-
-/**
- * Convert the package name to the library name.
- *
- * @param name
- * @returns Library name
- * @example
- * convertLibNameFromPackageName('@univerjs-pro/sheets-print') // UniverProSheetsPrint
- * convertLibNameFromPackageName('@univerjs/sheets-ui') // UniverSheetsUi
- * convertLibNameFromPackageName(''@univerjs/watermark/facade') // UniverWatermarkFacade
- */
-export function convertLibNameFromPackageName(name: string) {
- return name
- .replace(/^@(univerjs(?:-pro)?)\//, (_, matchedPrefix) => {
- return matchedPrefix === 'univerjs-pro' ? 'univer-pro-' : 'univer-';
- })
- .replace('/facade', '-facade')
- .split('-')
- .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
- .join('');
-};
-
-/**
- * A plugin that obfuscates the @univerjs-pro/* packages.
- */
-export function obfuscator(): Plugin {
- return {
- name: 'obfuscator',
- enforce: 'post',
- async generateBundle(_options, bundle) {
- if (process.env.NODE_ENV === 'development') {
- return;
- }
-
- for (const file in bundle) {
- if (bundle[file].type === 'chunk' && /\.js$/.test(file)) {
- const code = bundle[file].code;
- const obfuscationResult = JavaScriptObfuscator.obfuscate(code, {
- ignoreImports: true,
- });
- bundle[file].code = obfuscationResult.getObfuscatedCode();
- }
- }
- },
- };
-};
diff --git a/common/shared/vitest/index.js b/common/shared/vitest/index.ts
similarity index 76%
rename from common/shared/vitest/index.js
rename to common/shared/vitest/index.ts
index 61c3720ee2..110a752dc9 100644
--- a/common/shared/vitest/index.js
+++ b/common/shared/vitest/index.ts
@@ -14,9 +14,13 @@
* limitations under the License.
*/
-const { defineConfig, mergeConfig } = require('vitest/config');
+import { createRequire } from 'node:module';
+import { defineConfig, mergeConfig } from 'vitest/config';
-function createConfig(options) {
+const require = createRequire(import.meta.url);
+const coverageProviderModule = require.resolve('@vitest/coverage-istanbul');
+
+export default function createConfig(options?: any) {
return defineConfig(mergeConfig({
test: {
testTimeout: 30_000,
@@ -30,7 +34,11 @@ function createConfig(options) {
coverage: {
reporter: ['html', 'json'],
provider: 'custom',
- customProviderModule: require.resolve('@vitest/coverage-istanbul'),
+ // `customProviderModule` expects a file path. Using a bare
+ // package name makes Vitest resolve it as a relative path from
+ // each package root (e.g. `packages/foo/@vitest/...`) and fail.
+ // Resolve it from this shared package's deps instead.
+ customProviderModule: coverageProviderModule,
include: ['src/**/*.{ts,tsx}'],
exclude: [
'coverage/**',
@@ -60,7 +68,5 @@ function createConfig(options) {
],
},
},
- }, options));
+ }, options ?? {}));
}
-
-module.exports = createConfig;
diff --git a/examples/tsconfig.json b/examples/tsconfig.json
index 380cc42668..a7e6aeac52 100644
--- a/examples/tsconfig.json
+++ b/examples/tsconfig.json
@@ -5,6 +5,5 @@
"allowArbitraryExtensions": true,
"outDir": "local"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/examples/umd/docs.html b/examples/umd/docs.html
new file mode 100644
index 0000000000..40bd11292b
--- /dev/null
+++ b/examples/umd/docs.html
@@ -0,0 +1,171 @@
+<head>
+ <script src="https://unpkg.com/[email protected]/umd/react.production.min.js"></script>
+ <script src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js"></script>
+ <script>
+ /**
+ * Starting from Univer 0.6.0, with the support for React 19[^1], UMD users may need additional adaptation.
+ * It is recommended to migrate to module script[^2] and a more modern build system.
+ *
+ * [^1]: [Module Script] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#applying_the_module_to_your_html
+ * [^2]: [support for React 19] https://github.com/dream-num/univer/pull/4247
+ */
+
+ /**
+ * Fix `Uncaught TypeError: client.createRoot is not a function`
+ * If using UMD React < 18, you might need the following code.
+ */
+ (function (global) {
+ 'use strict';
+ if (!global.ReactDOM) {
+ throw new Error('ReactDOM must be loaded before ReactCreateRoot.');
+ }
+ const ReactDOM = global.ReactDOM;
+ if (!ReactDOM.createRoot) {
+ ReactDOM.createRoot = function (container) {
+ return {
+ render: (element) => {
+ ReactDOM.render(element, container);
+ },
+ };
+ };
+ }
+ })(this);
+
+ /**
+ * Fix `Uncaught TypeError: jsxRuntime.jsx is not a function`
+ * If using UMD React, you might need the following code.
+ * Reference: https://unpkg.com/[email protected]/cjs/react-jsx-runtime.production.min.js
+ */
+ (function (global) {
+ 'use strict';
+ if (!global.React) {
+ throw new Error('React must be loaded before ReactJSXRuntime.');
+ }
+ const React = global.React;
+ if (!React.jsx || !React.jsxs) {
+ const REACT_ELEMENT_TYPE = Symbol.for('react.element');
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
+ const RESERVED_PROPS = {
+ key: true,
+ ref: true,
+ __self: true,
+ __source: true,
+ };
+ const ReactCurrentOwner = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
+ function createReactElement(type, config, maybeKey) {
+ const props = {};
+ let key = null;
+ let ref = null;
+ if (maybeKey !== undefined) {
+ key = `${maybeKey}`;
+ }
+ if (config.key !== undefined) {
+ key = `${config.key}`;
+ }
+ if (config.ref !== undefined) {
+ ref = config.ref;
+ }
+ for (var propName in config) {
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
+ props[propName] = config[propName];
+ }
+ }
+ if (type && type.defaultProps) {
+ const defaultProps = type.defaultProps;
+ for (var propName in defaultProps) {
+ if (props[propName] === undefined) {
+ props[propName] = defaultProps[propName];
+ }
+ }
+ }
+ return {
+ $$typeof: REACT_ELEMENT_TYPE,
+ type,
+ key,
+ ref,
+ props,
+ _owner: ReactCurrentOwner.current,
+ };
+ }
+ React.jsx = createReactElement;
+ React.jsxs = createReactElement;
+ }
+ })(this);
+ </script>
+ <script src="https://unpkg.com/[email protected]/dist/bundles/rxjs.umd.min.js"></script>
+ <script src="https://unpkg.com/[email protected]/dist/echarts.min.js"></script>
+ <script src="https://unpkg.com/@wendellhu/[email protected]/dist/umd/index.js"></script>
+ <script src="https://unpkg.com/@wendellhu/[email protected]/dist/umd/react-bindings/index.js"></script>
+
+ <script src="/packages/themes/lib/umd/index.js"></script>
+ <script src="https://unpkg.com/@univerjs/protocol/lib/umd/index.js"></script>
+ <script src="/packages/core/lib/umd/index.js"></script>
+ <script src="/packages/network/lib/umd/index.js"></script>
+ <script src="/packages/telemetry/lib/umd/index.js"></script>
+ <script src="/packages/rpc/lib/umd/index.js"></script>
+ <script src="/packages/design/lib/umd/index.js"></script>
+ <script src="/packages/engine-render/lib/umd/index.js"></script>
+ <script src="/packages/engine-formula/lib/umd/index.js"></script>
+ <script src="/packages/drawing/lib/umd/index.js"></script>
+ <script src="/packages/ui/lib/umd/index.js"></script>
+ <script src="/packages/docs/lib/umd/index.js"></script>
+ <script src="/packages/docs-ui/lib/umd/index.js"></script>
+
+ <script src="/packages/core/lib/umd/facade.js"></script>
+ <script src="/packages/engine-formula/lib/umd/facade.js"></script>
+ <script src="/packages/ui/lib/umd/facade.js"></script>
+ <script src="/packages/docs-ui/lib/umd/facade.js"></script>
+
+ <script src="/packages/design/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/ui/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/docs-ui/lib/umd/locale/en-US.js"></script>
+
+ <link rel="stylesheet" href="/packages/design/lib/index.css" />
+ <link rel="stylesheet" href="/packages/ui/lib/index.css" />
+ <link rel="stylesheet" href="/packages/docs-ui/lib/index.css" />
+
+ <style>
+ html,
+ body,
+ #root,
+ #app {
+ padding: 0;
+ margin: 0;
+ height: 100%;
+ }
+ </style>
+</head>
+<body>
+ <div id="app"></div>
+
+ <script>
+ const { Univer, LocaleType, mergeLocales, UniverInstanceType } = UniverCore;
+ const { FUniver } = UniverCoreFacade;
+ const { UniverRenderEnginePlugin } = UniverEngineRender;
+ const { UniverFormulaEnginePlugin } = UniverEngineFormula;
+ const { UniverUIPlugin } = UniverUi;
+ const { UniverDocsPlugin } = UniverDocs;
+ const { UniverDocsUIPlugin } = UniverDocsUi;
+
+ const univer = new Univer({
+ locale: LocaleType.EN_US,
+ locales: {
+ [LocaleType.EN_US]: mergeLocales(UniverDesignEnUS, UniverUiEnUS, UniverDocsUiEnUS),
+ },
+ });
+
+ univer.registerPlugin(UniverRenderEnginePlugin);
+ univer.registerPlugin(UniverFormulaEnginePlugin);
+
+ univer.registerPlugin(UniverUIPlugin, {
+ container: 'app',
+ });
+
+ univer.registerPlugin(UniverDocsPlugin);
+ univer.registerPlugin(UniverDocsUIPlugin);
+
+ univer.createUnit(UniverInstanceType.UNIVER_DOC, {});
+
+ const univerAPI = FUniver.newAPI(univer);
+ </script>
+</body>
diff --git a/examples/umd/sheets.html b/examples/umd/sheets.html
new file mode 100644
index 0000000000..18e4f79e77
--- /dev/null
+++ b/examples/umd/sheets.html
@@ -0,0 +1,207 @@
+<head>
+ <script src="https://unpkg.com/[email protected]/umd/react.production.min.js"></script>
+ <script src="https://unpkg.com/[email protected]/umd/react-dom.production.min.js"></script>
+ <script>
+ /**
+ * Starting from Univer 0.6.0, with the support for React 19[^1], UMD users may need additional adaptation.
+ * It is recommended to migrate to module script[^2] and a more modern build system.
+ *
+ * [^1]: [Module Script] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#applying_the_module_to_your_html
+ * [^2]: [support for React 19] https://github.com/dream-num/univer/pull/4247
+ */
+
+ /**
+ * Fix `Uncaught TypeError: client.createRoot is not a function`
+ * If using UMD React < 18, you might need the following code.
+ */
+ (function (global) {
+ 'use strict';
+ if (!global.ReactDOM) {
+ throw new Error('ReactDOM must be loaded before ReactCreateRoot.');
+ }
+ const ReactDOM = global.ReactDOM;
+ if (!ReactDOM.createRoot) {
+ ReactDOM.createRoot = function (container) {
+ return {
+ render: (element) => {
+ ReactDOM.render(element, container);
+ },
+ };
+ };
+ }
+ })(this);
+
+ /**
+ * Fix `Uncaught TypeError: jsxRuntime.jsx is not a function`
+ * If using UMD React, you might need the following code.
+ * Reference: https://unpkg.com/[email protected]/cjs/react-jsx-runtime.production.min.js
+ */
+ (function (global) {
+ 'use strict';
+ if (!global.React) {
+ throw new Error('React must be loaded before ReactJSXRuntime.');
+ }
+ const React = global.React;
+ if (!React.jsx || !React.jsxs) {
+ const REACT_ELEMENT_TYPE = Symbol.for('react.element');
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
+ const RESERVED_PROPS = {
+ key: true,
+ ref: true,
+ __self: true,
+ __source: true,
+ };
+ const ReactCurrentOwner = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
+ function createReactElement(type, config, maybeKey) {
+ const props = {};
+ let key = null;
+ let ref = null;
+ if (maybeKey !== undefined) {
+ key = `${maybeKey}`;
+ }
+ if (config.key !== undefined) {
+ key = `${config.key}`;
+ }
+ if (config.ref !== undefined) {
+ ref = config.ref;
+ }
+ for (var propName in config) {
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
+ props[propName] = config[propName];
+ }
+ }
+ if (type && type.defaultProps) {
+ const defaultProps = type.defaultProps;
+ for (var propName in defaultProps) {
+ if (props[propName] === undefined) {
+ props[propName] = defaultProps[propName];
+ }
+ }
+ }
+ return {
+ $$typeof: REACT_ELEMENT_TYPE,
+ type,
+ key,
+ ref,
+ props,
+ _owner: ReactCurrentOwner.current,
+ };
+ }
+ React.jsx = createReactElement;
+ React.jsxs = createReactElement;
+ }
+ })(this);
+ </script>
+ <script src="https://unpkg.com/[email protected]/dist/bundles/rxjs.umd.min.js"></script>
+ <script src="https://unpkg.com/[email protected]/dist/echarts.min.js"></script>
+ <script src="https://unpkg.com/@wendellhu/[email protected]/dist/umd/index.js"></script>
+ <script src="https://unpkg.com/@wendellhu/[email protected]/dist/umd/react-bindings/index.js"></script>
+
+ <script src="/packages/themes/lib/umd/index.js"></script>
+ <script src="https://unpkg.com/@univerjs/protocol/lib/umd/index.js"></script>
+ <script src="/packages/core/lib/umd/index.js"></script>
+ <script src="/packages/network/lib/umd/index.js"></script>
+ <script src="/packages/telemetry/lib/umd/index.js"></script>
+ <script src="/packages/rpc/lib/umd/index.js"></script>
+ <script src="/packages/design/lib/umd/index.js"></script>
+ <script src="/packages/engine-render/lib/umd/index.js"></script>
+ <script src="/packages/engine-formula/lib/umd/index.js"></script>
+ <script src="/packages/drawing/lib/umd/index.js"></script>
+ <script src="/packages/ui/lib/umd/index.js"></script>
+ <script src="/packages/docs/lib/umd/index.js"></script>
+ <script src="/packages/docs-ui/lib/umd/index.js"></script>
+ <script src="/packages/sheets/lib/umd/index.js"></script>
+ <script src="/packages/sheets-ui/lib/umd/index.js"></script>
+ <script src="/packages/sheets-formula/lib/umd/index.js"></script>
+ <script src="/packages/sheets-formula-ui/lib/umd/index.js"></script>
+ <script src="/packages/sheets-numfmt/lib/umd/index.js"></script>
+ <script src="/packages/sheets-numfmt-ui/lib/umd/index.js"></script>
+
+ <script src="/packages/core/lib/umd/facade.js"></script>
+ <script src="/packages/engine-formula/lib/umd/facade.js"></script>
+ <script src="/packages/ui/lib/umd/facade.js"></script>
+ <script src="/packages/docs-ui/lib/umd/facade.js"></script>
+ <script src="/packages/sheets/lib/umd/facade.js"></script>
+ <script src="/packages/sheets-ui/lib/umd/facade.js"></script>
+ <script src="/packages/sheets-formula/lib/umd/facade.js"></script>
+ <script src="/packages/sheets-numfmt/lib/umd/facade.js"></script>
+
+ <script src="/packages/design/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/ui/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/sheets/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/sheets-ui/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/docs-ui/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/sheets-formula-ui/lib/umd/locale/en-US.js"></script>
+ <script src="/packages/sheets-numfmt-ui/lib/umd/locale/en-US.js"></script>
+
+ <link rel="stylesheet" href="/packages/design/lib/index.css" />
+ <link rel="stylesheet" href="/packages/ui/lib/index.css" />
+ <link rel="stylesheet" href="/packages/docs-ui/lib/index.css" />
+ <link rel="stylesheet" href="/packages/sheets-ui/lib/index.css" />
+ <link rel="stylesheet" href="/packages/sheets-formula-ui/lib/index.css" />
+ <link rel="stylesheet" href="/packages/sheets-numfmt-ui/lib/index.css" />
+
+ <style>
+ html,
+ body,
+ #root,
+ #app {
+ padding: 0;
+ margin: 0;
+ height: 100%;
+ }
+ </style>
+</head>
+<body>
+ <div id="app"></div>
+
+ <script>
+ const { Univer, LocaleType, mergeLocales, UniverInstanceType } = UniverCore;
+ const { FUniver } = UniverCoreFacade;
+ const { UniverRenderEnginePlugin } = UniverEngineRender;
+ const { UniverFormulaEnginePlugin } = UniverEngineFormula;
+ const { UniverUIPlugin } = UniverUi;
+ const { UniverSheetsPlugin } = UniverSheets;
+ const { UniverSheetsUIPlugin } = UniverSheetsUi;
+ const { UniverDocsPlugin } = UniverDocs;
+ const { UniverDocsUIPlugin } = UniverDocsUi;
+ const { UniverSheetsFormulaPlugin } = UniverSheetsFormula;
+ const { UniverSheetsFormulaUIPlugin } = UniverSheetsFormulaUi;
+ const { UniverSheetsNumfmtPlugin } = UniverSheetsNumfmt;
+ const { UniverSheetsNumfmtUIPlugin } = UniverSheetsNumfmtUi;
+
+ const univer = new Univer({
+ locale: LocaleType.EN_US,
+ locales: {
+ [LocaleType.EN_US]: mergeLocales(
+ UniverDesignEnUS,
+ UniverUiEnUS,
+ UniverDocsUiEnUS,
+ UniverSheetsEnUS,
+ UniverSheetsUiEnUS,
+ UniverSheetsFormulaUiEnUS,
+ UniverSheetsNumfmtUiEnUS,
+ ),
+ },
+ });
+
+ univer.registerPlugin(UniverRenderEnginePlugin);
+ univer.registerPlugin(UniverFormulaEnginePlugin);
+
+ univer.registerPlugin(UniverUIPlugin, {
+ container: 'app',
+ });
+
+ univer.registerPlugin(UniverDocsPlugin);
+ univer.registerPlugin(UniverDocsUIPlugin);
+
+ univer.registerPlugin(UniverSheetsFormulaPlugin);
+ univer.registerPlugin(UniverSheetsFormulaUIPlugin);
+ univer.registerPlugin(UniverSheetsNumfmtPlugin);
+ univer.registerPlugin(UniverSheetsNumfmtUIPlugin);
+
+ univer.createUnit(UniverInstanceType.UNIVER_SHEET, {});
+
+ const univerAPI = FUniver.newAPI(univer);
+ </script>
+</body>
diff --git a/package.json b/package.json
index 5712d2b446..144fa57724 100644
--- a/package.json
+++ b/package.json
@@ -18,22 +18,32 @@
"bugs": {
"url": "https://github.com/dream-num/univer/issues"
},
- "engines": {
- "node": ">=20",
- "pnpm": ">=10"
+ "devEngines": {
+ "runtime": [
+ {
+ "name": "node",
+ "version": ">=22.18"
+ },
+ {
+ "name": "pnpm",
+ "version": ">=10"
+ }
+ ]
},
"scripts": {
"prepare": "husky",
"pre-commit": "lint-staged",
"dev": "pnpm --filter univer-examples dev:demo -- --host 0.0.0.0",
- "dev:libs": "pnpm --filter univer-examples dev:demo-libs",
+ "dev:umd": "serve .",
"dev:e2e": "pnpm --filter univer-examples dev:e2e",
"use:react16": "tsx ./scripts/react-version-manager.ts --react=16",
"use:react19": "tsx ./scripts/react-version-manager.ts --react=19",
"typecheck": "turbo typecheck",
+ "serve:umd": "serve .",
"test": "turbo test -- --passWithNoTests",
"coverage": "turbo coverage -- --passWithNoTests",
- "build": "turbo build --concurrency=30% --filter=!./common/*",
+ "analyze:build": "tsx ./scripts/build-analysis.ts",
+ "build": "turbo build --concurrency=100% --filter=!./common/*",
"build:ci": "turbo build --concurrency=100% --filter=!./common/*",
"build:demo": "pnpm --filter univer-examples build:demo",
"build:e2e": "pnpm --filter univer-examples build:e2e",
@@ -46,8 +56,8 @@
},
"devDependencies": {
"@antfu/eslint-config": "^7.7.0",
- "@commitlint/cli": "^20.4.3",
- "@commitlint/config-conventional": "^20.4.3",
+ "@commitlint/cli": "^20.5.0",
+ "@commitlint/config-conventional": "^20.5.0",
"@eslint-react/eslint-plugin": "^2.13.0",
"@eslint/compat": "^2.0.3",
"@playwright/test": "^1.57.0",
@@ -59,7 +69,6 @@
"@types/react-dom": "19.2.3",
"@univerjs-infra/shared": "workspace:*",
"@univerjs/design": "workspace:*",
- "@vitejs/plugin-react": "^5.1.4",
"eslint": "10.0.3",
"eslint-plugin-format": "^2.0.1",
"eslint-plugin-react": "^7.37.5",
@@ -75,9 +84,9 @@
"serve": "^14.2.6",
"tailwindcss": "3.4.18",
"tsx": "^4.21.0",
- "turbo": "^2.8.14",
+ "turbo": "^2.8.17",
"typescript": "^5.9.3",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
},
"pnpm": {
"onlyBuiltDependencies": [
diff --git a/packages/action-recorder/package.json b/packages/action-recorder/package.json
index 817c43beb5..cf68c4fdb0 100644
--- a/packages/action-recorder/package.json
+++ b/packages/action-recorder/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -80,7 +82,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/action-recorder/src/vite-env.d.ts b/packages/action-recorder/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/action-recorder/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/action-recorder/tsconfig.json b/packages/action-recorder/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/action-recorder/tsconfig.json
+++ b/packages/action-recorder/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/action-recorder/tsconfig.node.json b/packages/action-recorder/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/action-recorder/tsconfig.node.json
+++ b/packages/action-recorder/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/core/package.json b/packages/core/package.json
index 760c04085f..f830bcd23e 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -66,10 +66,11 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
- "@wendellhu/redi": "1.1.1",
"rxjs": ">=7.0.0"
},
"dependencies": {
@@ -93,7 +94,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/core/src/common/di.ts b/packages/core/src/common/di.ts
index 13917943f4..4e8a154b54 100644
--- a/packages/core/src/common/di.ts
+++ b/packages/core/src/common/di.ts
@@ -16,7 +16,45 @@
import type { Dependency, DependencyIdentifier, Injector } from '@wendellhu/redi';
-export * from '@wendellhu/redi';
+export {
+ createIdentifier,
+ forwardRef,
+ Inject,
+ Injector,
+ InjectSelf,
+ isAsyncDependencyItem,
+ isAsyncHook,
+ isClassDependencyItem,
+ isCtor,
+ isDisposable,
+ isFactoryDependencyItem,
+ isValueDependencyItem,
+ LookUp,
+ Many,
+ Optional,
+ Quantity,
+ RediError,
+ Self,
+ setDependencies,
+ SkipSelf,
+ WithNew,
+} from '@wendellhu/redi';
+export type {
+ AsyncDependencyItem,
+ AsyncHook,
+ ClassDependencyItem,
+ Ctor,
+ Dependency,
+ DependencyIdentifier,
+ DependencyItem,
+ DependencyPair,
+ FactoryDependencyItem,
+ IAccessor,
+ IdentifierDecorator,
+ IDisposable,
+ SyncDependencyItem,
+ ValueDependencyItem,
+} from '@wendellhu/redi';
/**
* Register the dependencies to the injector.
diff --git a/packages/core/src/facade/__tests__/f-univer.integration.spec.ts b/packages/core/src/facade/__tests__/f-univer.integration.spec.ts
index 90fe9c1266..4af9f1e0d8 100644
--- a/packages/core/src/facade/__tests__/f-univer.integration.spec.ts
+++ b/packages/core/src/facade/__tests__/f-univer.integration.spec.ts
@@ -129,7 +129,6 @@ describe('FUniver integration', () => {
expect(paragraph.horizontalAlign).toBe(HorizontalAlign.CENTER);
expect(univerAPI.newTextDecoration({ s: univerAPI.Enum.BooleanNumber.TRUE }).build().s).toBe(univerAPI.Enum.BooleanNumber.TRUE);
expect(univerAPI.newRichTextValue(createDocData('facade-rich-text') as IDocumentData).getData().body?.dataStream).toBe('Hello\r\n');
- expect(univerAPI.Util.tools.deleteBlank(' f a c a d e ')).toBe('facade');
expect(univerAPI.Util.rectangle.intersects(
{ startRow: 0, endRow: 1, startColumn: 0, endColumn: 1 },
{ startRow: 1, endRow: 2, startColumn: 1, endColumn: 2 }
diff --git a/packages/core/src/shared/__tests__/tools.spec.ts b/packages/core/src/shared/__tests__/tools.spec.ts
index f80bc850f4..e7801c2547 100644
--- a/packages/core/src/shared/__tests__/tools.spec.ts
+++ b/packages/core/src/shared/__tests__/tools.spec.ts
@@ -28,13 +28,6 @@ describe('Tools extra coverage', () => {
it('should handle basic string and index helpers', () => {
expect(Tools.deleteNull({ a: 1, b: null, c: undefined })).toEqual({ a: 1 });
- expect(Tools.stringAt(0)).toBe('A');
- expect(Tools.stringAt(26)).toBe('AA');
- expect(Tools.indexAt('A')).toBe(0);
- expect(Tools.indexAt('AA')).toBe(26);
- expect(Tools.deleteBlank(' a b\n c ')).toBe('abc');
- expect(Tools.deleteBlank()).toBeUndefined();
- expect(Tools.getClassName(new CustomProto())).toBe('CustomProto');
});
it('should merge, compare and clone complex values', () => {
@@ -43,7 +36,6 @@ describe('Tools extra coverage', () => {
{ a: { c: 2 }, list: [2, 3], extra: 'x' }
);
expect(merged).toEqual({ a: { b: 1, c: 2 }, list: [2, 3], keep: true, extra: 'x' });
- expect(Tools.numberFixed(1.236, 2)).toBe(1.24);
expect(Tools.diffValue([1, { a: 2 }], [1, { a: 2 }])).toBe(true);
expect(Tools.diffValue(new Date('2024-01-01'), new Date('2024-01-01'))).toBe(true);
expect(Tools.diffValue(/a/i, /a/i)).toBe(true);
@@ -93,10 +85,6 @@ describe('Tools extra coverage', () => {
const input = { a: 1, b: null, c: { d: undefined, e: 2 } };
expect(Tools.removeNull(input)).toEqual({ a: 1, c: { e: 2 } });
- expect(Tools.fillTwoDimensionalArray(2, 3, 'x')).toEqual([
- ['x', 'x', 'x'],
- ['x', 'x', 'x'],
- ]);
expect(Tools.numToWord(27)).toBe('AA');
expect(Tools.ABCatNum('AZ')).toBe(51);
expect(Tools.ABCatNum('')).toBeNaN();
diff --git a/packages/core/src/shared/tools.ts b/packages/core/src/shared/tools.ts
index 1c49e4c1c7..a6b2c3d61a 100644
--- a/packages/core/src/shared/tools.ts
+++ b/packages/core/src/shared/tools.ts
@@ -16,13 +16,9 @@
import type { IStyleData } from '../types/interfaces';
import type { IKeyValue, Nullable } from './types';
-
import { customAlphabet, nanoid } from 'nanoid';
import { isLegalUrl, normalizeUrl, topLevelDomainSet } from '../common/url';
-const rmsPrefix = /^-ms-/;
-const rDashAlpha = /-([a-z])/g;
-
const alphabets = [
'A',
'B',
@@ -125,37 +121,6 @@ export class Tools {
return obj;
}
- static stringAt(index: number): string {
- let str = '';
- let idx = index;
- while (idx >= alphabets.length) {
- idx /= alphabets.length;
- idx -= 1;
- str += alphabets[idx % alphabets.length];
- }
- const last = index % alphabets.length;
- str += alphabets[last];
- return str;
- }
-
- static indexAt(code: string): number {
- let ret = 0;
- for (let i = 0; i < code.length - 1; i += 1) {
- const idx = code.charCodeAt(i) - 65;
- const expoNet = code.length - 1 - i;
- ret += alphabets.length ** expoNet + alphabets.length * idx;
- }
- ret += code.charCodeAt(code.length - 1) - 65;
- return ret;
- }
-
- static deleteBlank(value?: string) {
- if (Tools.isString(value)) {
- return value.replace(/\s/g, '');
- }
- return value;
- }
-
// eslint-disable-next-line complexity
static getSystemType(): string {
const sUserAgent = navigator.userAgent;
@@ -237,10 +202,6 @@ export class Tools {
return 'Unknown browser';
}
- static getClassName(instance: object): string {
- return instance.constructor.name;
- }
-
/** @deprecated This method is deprecated, please use `import { merge } from '@univerjs/core` instead */
static deepMerge(target: any, ...sources: any[]): any {
sources.forEach((item) => item && deepItem(item));
@@ -304,10 +265,6 @@ export class Tools {
return target;
}
- static numberFixed(value: number, digit: number): number {
- return Number(Number(value).toFixed(digit));
- }
-
static diffValue(one: any, two: any) {
return isValueEqual(one, two);
}
@@ -342,14 +299,6 @@ export class Tools {
return value;
}
- static getLanguage(): string {
- const defaultValue = 'en-US';
- if (globalThis.navigator) {
- return (navigator.languages && navigator.languages[0]) || navigator.language || defaultValue;
- }
- return defaultValue;
- }
-
static getValueType(value: any): string {
return Object.prototype.toString.apply(value);
}
@@ -450,34 +399,6 @@ export class Tools {
return value;
}
- /**
- * Generate a two-dimensional array with the specified number of rows and columns, and fill in the values
- * @param rows row length
- * @param columns column length
- * @param value value to be set
- * @returns
- */
- static fillTwoDimensionalArray(rows: number, columns: number, value: any): any[][] {
- return new Array(rows).fill(value).map((item) => new Array(columns).fill(value));
- }
-
- /**
- * Generate a two-dimensional array with the specified number of rows and columns, and fill in the values
- * @param rows row length
- * @param columns column length
- * @param value value to be set
- * @returns
- */
- // static fillObjectMatrix<T>(rows: number, columns: number, value: T): IObjectMatrixPrimitiveType<T> {
- // const matrix = new ObjectMatrix<T>();
- // for (let r = 0; r < rows; r++) {
- // for (let c = 0; c < columns; c++) {
- // matrix.setValue(r, c, value);
- // }
- // }
- // return matrix.getData();
- // }
-
static numToWord(x: number) {
let s = '';
while (x > 0) {
diff --git a/packages/core/src/vite-env.d.ts b/packages/core/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/core/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/core/tsconfig.json
+++ b/packages/core/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/core/tsconfig.node.json b/packages/core/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/core/tsconfig.node.json
+++ b/packages/core/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/data-validation/package.json b/packages/data-validation/package.json
index 292e0439c0..8576c4049c 100644
--- a/packages/data-validation/package.json
+++ b/packages/data-validation/package.json
@@ -55,7 +55,9 @@
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -65,12 +67,10 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "@univerjs/core": "workspace:*",
"@univerjs/protocol": "0.1.48",
"@univerjs/sheets": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/data-validation/src/vite-env.d.ts b/packages/data-validation/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/data-validation/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/data-validation/tsconfig.json b/packages/data-validation/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/data-validation/tsconfig.json
+++ b/packages/data-validation/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/data-validation/tsconfig.node.json b/packages/data-validation/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/data-validation/tsconfig.node.json
+++ b/packages/data-validation/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/design/package.json b/packages/design/package.json
index 815b0eb9e0..392d5dedb5 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -61,7 +61,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -89,14 +91,12 @@
"@testing-library/react": "^16.3.2",
"@types/react-transition-group": "^4.4.12",
"@univerjs-infra/shared": "workspace:*",
- "@univerjs/core": "workspace:*",
"postcss": "^8.5.8",
"react": "18.3.1",
"react-dom": "18.3.1",
"tailwindcss": "3.4.18",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/design/src/type.ts b/packages/design/src/type.ts
deleted file mode 100644
index 8fd4f7acb9..0000000000
--- a/packages/design/src/type.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-export interface IDisposable {
- dispose(): void;
-}
diff --git a/packages/design/src/vite-env.d.ts b/packages/design/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/design/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/design/tsconfig.json b/packages/design/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/design/tsconfig.json
+++ b/packages/design/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/design/tsconfig.node.json b/packages/design/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/design/tsconfig.node.json
+++ b/packages/design/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.json
index c9706a0423..aa0b35f7cf 100644
--- a/packages/docs-drawing-ui/package.json
+++ b/packages/docs-drawing-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -83,7 +85,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-drawing-ui/src/vite-env.d.ts b/packages/docs-drawing-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs-drawing-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs-drawing-ui/tsconfig.json b/packages/docs-drawing-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-drawing-ui/tsconfig.json
+++ b/packages/docs-drawing-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-drawing-ui/tsconfig.node.json b/packages/docs-drawing-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-drawing-ui/tsconfig.node.json
+++ b/packages/docs-drawing-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-drawing/package.json b/packages/docs-drawing/package.json
index 99b1b4c8b1..1f05bedc30 100644
--- a/packages/docs-drawing/package.json
+++ b/packages/docs-drawing/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*",
@@ -62,7 +64,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-drawing/src/vite-env.d.ts b/packages/docs-drawing/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs-drawing/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs-drawing/tsconfig.json b/packages/docs-drawing/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-drawing/tsconfig.json
+++ b/packages/docs-drawing/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-drawing/tsconfig.node.json b/packages/docs-drawing/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-drawing/tsconfig.node.json
+++ b/packages/docs-drawing/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-hyper-link-ui/package.json b/packages/docs-hyper-link-ui/package.json
index fd027f63f8..15f4f731a7 100644
--- a/packages/docs-hyper-link-ui/package.json
+++ b/packages/docs-hyper-link-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -82,7 +84,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-hyper-link-ui/src/vite-env.d.ts b/packages/docs-hyper-link-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs-hyper-link-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs-hyper-link-ui/tsconfig.json b/packages/docs-hyper-link-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-hyper-link-ui/tsconfig.json
+++ b/packages/docs-hyper-link-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-hyper-link-ui/tsconfig.node.json b/packages/docs-hyper-link-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-hyper-link-ui/tsconfig.node.json
+++ b/packages/docs-hyper-link-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-hyper-link/package.json b/packages/docs-hyper-link/package.json
index 9923938ccc..402e68a45a 100644
--- a/packages/docs-hyper-link/package.json
+++ b/packages/docs-hyper-link/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*"
@@ -61,7 +63,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-hyper-link/tsconfig.json b/packages/docs-hyper-link/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-hyper-link/tsconfig.json
+++ b/packages/docs-hyper-link/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-hyper-link/tsconfig.node.json b/packages/docs-hyper-link/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-hyper-link/tsconfig.node.json
+++ b/packages/docs-hyper-link/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-mention-ui/package.json b/packages/docs-mention-ui/package.json
index 639717d827..441fdb33aa 100644
--- a/packages/docs-mention-ui/package.json
+++ b/packages/docs-mention-ui/package.json
@@ -55,7 +55,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -75,7 +77,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-mention-ui/src/vite-env.d.ts b/packages/docs-mention-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs-mention-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs-mention-ui/tsconfig.json b/packages/docs-mention-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-mention-ui/tsconfig.json
+++ b/packages/docs-mention-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-mention-ui/tsconfig.node.json b/packages/docs-mention-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-mention-ui/tsconfig.node.json
+++ b/packages/docs-mention-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-quick-insert-ui/package.json b/packages/docs-quick-insert-ui/package.json
index cf6ae96e6b..1e34181cbb 100644
--- a/packages/docs-quick-insert-ui/package.json
+++ b/packages/docs-quick-insert-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -85,7 +87,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-quick-insert-ui/src/vite-env.d.ts b/packages/docs-quick-insert-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs-quick-insert-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs-quick-insert-ui/tsconfig.json b/packages/docs-quick-insert-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-quick-insert-ui/tsconfig.json
+++ b/packages/docs-quick-insert-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-quick-insert-ui/tsconfig.node.json b/packages/docs-quick-insert-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-quick-insert-ui/tsconfig.node.json
+++ b/packages/docs-quick-insert-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-thread-comment-ui/package.json b/packages/docs-thread-comment-ui/package.json
index 202c55aff3..b792bc730c 100644
--- a/packages/docs-thread-comment-ui/package.json
+++ b/packages/docs-thread-comment-ui/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -76,7 +78,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-thread-comment-ui/src/vite-env.d.ts b/packages/docs-thread-comment-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs-thread-comment-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs-thread-comment-ui/tsconfig.json b/packages/docs-thread-comment-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-thread-comment-ui/tsconfig.json
+++ b/packages/docs-thread-comment-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-thread-comment-ui/tsconfig.node.json b/packages/docs-thread-comment-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-thread-comment-ui/tsconfig.node.json
+++ b/packages/docs-thread-comment-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json
index 31aaf85438..58be6ce18e 100644
--- a/packages/docs-ui/package.json
+++ b/packages/docs-ui/package.json
@@ -72,7 +72,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -97,7 +99,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs-ui/src/vite-env.d.ts b/packages/docs-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs-ui/tsconfig.json b/packages/docs-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs-ui/tsconfig.json
+++ b/packages/docs-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs-ui/tsconfig.node.json b/packages/docs-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs-ui/tsconfig.node.json
+++ b/packages/docs-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 314bb7a721..57f069c3f2 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -55,7 +55,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -68,7 +70,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/docs/src/vite-env.d.ts b/packages/docs/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/docs/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/docs/tsconfig.json b/packages/docs/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/docs/tsconfig.json
+++ b/packages/docs/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/docs/tsconfig.node.json b/packages/docs/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/docs/tsconfig.node.json
+++ b/packages/docs/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.json
index d84ff5aa75..2190585436 100644
--- a/packages/drawing-ui/package.json
+++ b/packages/drawing-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -80,7 +82,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/drawing-ui/src/vite-env.d.ts b/packages/drawing-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/drawing-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/drawing-ui/tsconfig.json b/packages/drawing-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/drawing-ui/tsconfig.json
+++ b/packages/drawing-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/drawing-ui/tsconfig.node.json b/packages/drawing-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/drawing-ui/tsconfig.node.json
+++ b/packages/drawing-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/drawing/package.json b/packages/drawing/package.json
index df9a11739e..f879b2f921 100644
--- a/packages/drawing/package.json
+++ b/packages/drawing/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -66,7 +68,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/drawing/tsconfig.json b/packages/drawing/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/drawing/tsconfig.json
+++ b/packages/drawing/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/drawing/tsconfig.node.json b/packages/drawing/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/drawing/tsconfig.node.json
+++ b/packages/drawing/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/engine-formula/package.json b/packages/engine-formula/package.json
index 9d000edf8e..69fdcd8c0f 100644
--- a/packages/engine-formula/package.json
+++ b/packages/engine-formula/package.json
@@ -66,7 +66,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -81,7 +83,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/engine-formula/src/vite-env.d.ts b/packages/engine-formula/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/engine-formula/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/engine-formula/tsconfig.json b/packages/engine-formula/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/engine-formula/tsconfig.json
+++ b/packages/engine-formula/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/engine-formula/tsconfig.node.json b/packages/engine-formula/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/engine-formula/tsconfig.node.json
+++ b/packages/engine-formula/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/engine-render/.gitignore b/packages/engine-render/.gitignore
new file mode 100644
index 0000000000..412f6637cb
--- /dev/null
+++ b/packages/engine-render/.gitignore
@@ -0,0 +1 @@
+src/components/docs/layout/hyphenation/pattern-loaders.gen.ts
diff --git a/packages/engine-render/package.json b/packages/engine-render/package.json
index bb4e840dbc..e20215ae8f 100644
--- a/packages/engine-render/package.json
+++ b/packages/engine-render/package.json
@@ -51,11 +51,14 @@
"lib"
],
"scripts": {
+ "prepare": "node --experimental-strip-types ./scripts/generate-hyphen-pattern-loaders.mts",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -74,8 +77,7 @@
"jest-canvas-mock": "^2.5.2",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
},
"browser": {
"fs": false
diff --git a/packages/engine-render/scripts/generate-hyphen-pattern-loaders.mts b/packages/engine-render/scripts/generate-hyphen-pattern-loaders.mts
new file mode 100644
index 0000000000..6e907a0e10
--- /dev/null
+++ b/packages/engine-render/scripts/generate-hyphen-pattern-loaders.mts
@@ -0,0 +1,64 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import fs from 'node:fs';
+import path from 'node:path';
+import process from 'node:process';
+
+function snackToPascal(snack: string) {
+ return snack
+ .split('-')
+ .filter(Boolean)
+ .map((part) => part[0].toUpperCase() + part.slice(1))
+ .join('');
+}
+
+const GENERATED_FILE_PATH = path.join(
+ process.cwd(),
+ 'src/components/docs/layout/hyphenation/pattern-loaders.gen.ts'
+);
+
+const PATTERNS_DIR = path.join(
+ process.cwd(),
+ 'src/components/docs/layout/hyphenation/patterns'
+);
+
+const files = fs.readdirSync(PATTERNS_DIR)
+ .filter((file) => file.endsWith('.ts'))
+ .map((file) => file.replace(/\.ts$/, ''))
+ .sort((a, b) => a.localeCompare(b));
+
+const entries = files
+ .map((stem) => {
+ const key = snackToPascal(stem);
+ return ` [Lang.${key}]: () => import('./patterns/${stem}'),`;
+ })
+ .join('\n');
+
+const content = [
+ '/* eslint-disable */',
+ "import { Lang } from './lang';",
+ '',
+ '// Generated by scripts/generate-hyphen-pattern-loaders.mts',
+ 'export const PATTERN_LOADERS: Partial<Record<Lang, () => Promise<unknown>>> = {',
+ entries,
+ '};',
+ '',
+].join('\n');
+
+fs.mkdirSync(path.dirname(GENERATED_FILE_PATH), { recursive: true });
+fs.writeFileSync(GENERATED_FILE_PATH, content);
+console.log(`Updated ${GENERATED_FILE_PATH}`);
diff --git a/packages/engine-render/src/components/docs/layout/hyphenation/hyphen.ts b/packages/engine-render/src/components/docs/layout/hyphenation/hyphen.ts
index 51a6c35ba9..f87d7cc82a 100644
--- a/packages/engine-render/src/components/docs/layout/hyphenation/hyphen.ts
+++ b/packages/engine-render/src/components/docs/layout/hyphenation/hyphen.ts
@@ -17,9 +17,15 @@
import type { IDisposable, Nullable } from '@univerjs/core';
import type { IHyphenPattern, RawHyphenPattern } from './tools';
import { Lang } from './lang';
+import { PATTERN_LOADERS } from './pattern-loaders.gen';
import { EnUs } from './patterns/en-us';
import { createCharIterator, createStringSlicer, parsePattern, snackToPascal } from './tools';
+// NOTE: tsdown/rolldown doesn't rewrite dynamic import vars like
+// `import(`./patterns/${lang}.ts`)`.
+// Use a static import map so the bundler can create code-split chunks
+// and rewrite them to the hashed output filenames.
+
export class Hyphen implements IDisposable {
private _patterns: Map<Lang, IHyphenPattern> = new Map();
private _hyphenCache: Map<Lang, Map<string, string[]>> = new Map();
@@ -69,9 +75,18 @@ export class Hyphen implements IDisposable {
}
async loadPattern(lang: Lang) {
- let pattern = await import(`./patterns/${lang}.ts`);
+ const loader = PATTERN_LOADERS[lang];
+
+ if (!loader) {
+ return;
+ }
+
+ const loaded = await loader();
+ const exported = Array.isArray(loaded)
+ ? loaded
+ : (loaded as Record<string, unknown> | null)?.[snackToPascal(lang)];
- pattern = pattern?.[snackToPascal(lang)];
+ const pattern = exported as RawHyphenPattern | undefined;
if (pattern == null) {
return;
diff --git a/packages/engine-render/src/components/docs/layout/hyphenation/tools.ts b/packages/engine-render/src/components/docs/layout/hyphenation/tools.ts
index 415a8085e7..e4891976e5 100644
--- a/packages/engine-render/src/components/docs/layout/hyphenation/tools.ts
+++ b/packages/engine-render/src/components/docs/layout/hyphenation/tools.ts
@@ -32,9 +32,12 @@ export function parsePattern(pattern: RawHyphenPattern): IHyphenPattern {
}
export function snackToPascal(snack: string) {
+ // Turns values like `en-us` -> `EnUs`, `de-1901` -> `De1901`.
return snack
- .replace(/^[a-z]/, (g) => g.toUpperCase())
- .replace(/-([a-z])/g, (g) => g[1].toUpperCase());
+ .split('-')
+ .filter(Boolean)
+ .map((part) => part[0].toUpperCase() + part.slice(1))
+ .join('');
}
export function createStringSlicer(str: string[]): [() => string[], () => boolean] {
diff --git a/packages/engine-render/src/vite-env.d.ts b/packages/engine-render/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/engine-render/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/engine-render/tsconfig.json b/packages/engine-render/tsconfig.json
index 0667675684..1249f9b6dc 100644
--- a/packages/engine-render/tsconfig.json
+++ b/packages/engine-render/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src", "types"]
}
diff --git a/packages/engine-render/tsconfig.node.json b/packages/engine-render/tsconfig.node.json
index 4947a09903..ee4536da90 100644
--- a/packages/engine-render/tsconfig.node.json
+++ b/packages/engine-render/tsconfig.node.json
@@ -1,4 +1,19 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src",
+ "types"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json
index f386f98185..548510ab0d 100644
--- a/packages/find-replace/package.json
+++ b/packages/find-replace/package.json
@@ -61,7 +61,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -81,7 +83,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/find-replace/src/vite-env.d.ts b/packages/find-replace/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/find-replace/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/find-replace/tsconfig.json b/packages/find-replace/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/find-replace/tsconfig.json
+++ b/packages/find-replace/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/find-replace/tsconfig.node.json b/packages/find-replace/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/find-replace/tsconfig.node.json
+++ b/packages/find-replace/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/network/package.json b/packages/network/package.json
index cfa211d063..a5712dbc2d 100644
--- a/packages/network/package.json
+++ b/packages/network/package.json
@@ -65,7 +65,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -77,7 +79,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/network/src/vite-env.d.ts b/packages/network/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/network/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/network/tsconfig.json b/packages/network/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/network/tsconfig.json
+++ b/packages/network/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/network/tsconfig.node.json b/packages/network/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/network/tsconfig.node.json
+++ b/packages/network/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/rpc-node/package.json b/packages/rpc-node/package.json
index 320b1048a1..b6598e45e9 100644
--- a/packages/rpc-node/package.json
+++ b/packages/rpc-node/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -66,7 +68,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/rpc-node/src/vite-env.d.ts b/packages/rpc-node/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/rpc-node/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/rpc-node/tsconfig.json b/packages/rpc-node/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/rpc-node/tsconfig.json
+++ b/packages/rpc-node/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/rpc-node/tsconfig.node.json b/packages/rpc-node/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/rpc-node/tsconfig.node.json
+++ b/packages/rpc-node/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/rpc/package.json b/packages/rpc/package.json
index 8e3beddc57..0bc962015b 100644
--- a/packages/rpc/package.json
+++ b/packages/rpc/package.json
@@ -54,7 +54,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -66,7 +68,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/rpc/src/vite-env.d.ts b/packages/rpc/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/rpc/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/rpc/tsconfig.json b/packages/rpc/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/rpc/tsconfig.json
+++ b/packages/rpc/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/rpc/tsconfig.node.json b/packages/rpc/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/rpc/tsconfig.node.json
+++ b/packages/rpc/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.json
index 406a435892..a0fbba0f59 100644
--- a/packages/sheets-conditional-formatting-ui/package.json
+++ b/packages/sheets-conditional-formatting-ui/package.json
@@ -61,7 +61,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -87,7 +89,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-conditional-formatting-ui/src/vite-env.d.ts b/packages/sheets-conditional-formatting-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-conditional-formatting-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-conditional-formatting-ui/tsconfig.json b/packages/sheets-conditional-formatting-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-conditional-formatting-ui/tsconfig.json
+++ b/packages/sheets-conditional-formatting-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-conditional-formatting-ui/tsconfig.node.json b/packages/sheets-conditional-formatting-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-conditional-formatting-ui/tsconfig.node.json
+++ b/packages/sheets-conditional-formatting-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-conditional-formatting/.gitignore b/packages/sheets-conditional-formatting/.gitignore
index 5e129be47a..a73da65209 100644
--- a/packages/sheets-conditional-formatting/.gitignore
+++ b/packages/sheets-conditional-formatting/.gitignore
@@ -1 +1 @@
-icon-map.json
+src/assets/icon-map.ts
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index 7cb5f9d8f1..4271df7ec5 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -62,12 +62,14 @@
"lib"
],
"scripts": {
- "prepare": "tsx ./scripts/build-icons.ts",
+ "prepare": "node --experimental-strip-types ./scripts/build-icons.mts",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -83,7 +85,6 @@
"@univerjs/icons-svg": "^1.1.1",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-conditional-formatting/scripts/build-icons.ts b/packages/sheets-conditional-formatting/scripts/build-icons.mts
similarity index 98%
rename from packages/sheets-conditional-formatting/scripts/build-icons.ts
rename to packages/sheets-conditional-formatting/scripts/build-icons.mts
index 7d6eafe748..f3078ce571 100644
--- a/packages/sheets-conditional-formatting/scripts/build-icons.ts
+++ b/packages/sheets-conditional-formatting/scripts/build-icons.mts
@@ -140,7 +140,7 @@ function runTask() {
fs.mkdirSync('./src/assets');
}
- fs.writeFileSync('./src/assets/icon-map.json', `${JSON.stringify(base64EncodedSVGs, null, 4)}\n`);
+ fs.writeFileSync('./src/assets/icon-map.ts', `/* eslint-disable */\nexport const ICON_MAP = ${JSON.stringify(base64EncodedSVGs, null, 4)};\n`);
};
runTask();
diff --git a/packages/sheets-conditional-formatting/src/models/icon-map.ts b/packages/sheets-conditional-formatting/src/models/icon-map.ts
index 9a343c9a22..d985d5449b 100644
--- a/packages/sheets-conditional-formatting/src/models/icon-map.ts
+++ b/packages/sheets-conditional-formatting/src/models/icon-map.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import ICON_MAP from '../assets/icon-map.json';
+import { ICON_MAP } from '../assets/icon-map';
export type IIconItem = string;
diff --git a/packages/sheets-conditional-formatting/src/vite-env.d.ts b/packages/sheets-conditional-formatting/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-conditional-formatting/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-conditional-formatting/tsconfig.json b/packages/sheets-conditional-formatting/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-conditional-formatting/tsconfig.json
+++ b/packages/sheets-conditional-formatting/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-conditional-formatting/tsconfig.node.json b/packages/sheets-conditional-formatting/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-conditional-formatting/tsconfig.node.json
+++ b/packages/sheets-conditional-formatting/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-crosshair-highlight/package.json b/packages/sheets-crosshair-highlight/package.json
index 74e48faa76..eb829ea025 100644
--- a/packages/sheets-crosshair-highlight/package.json
+++ b/packages/sheets-crosshair-highlight/package.json
@@ -70,7 +70,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -92,7 +94,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-crosshair-highlight/src/vite-env.d.ts b/packages/sheets-crosshair-highlight/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-crosshair-highlight/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-crosshair-highlight/tsconfig.json b/packages/sheets-crosshair-highlight/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-crosshair-highlight/tsconfig.json
+++ b/packages/sheets-crosshair-highlight/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-crosshair-highlight/tsconfig.node.json b/packages/sheets-crosshair-highlight/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-crosshair-highlight/tsconfig.node.json
+++ b/packages/sheets-crosshair-highlight/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-data-validation-ui/package.json b/packages/sheets-data-validation-ui/package.json
index 2e4e86d560..cb661b2967 100644
--- a/packages/sheets-data-validation-ui/package.json
+++ b/packages/sheets-data-validation-ui/package.json
@@ -61,7 +61,9 @@
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
- "build": "univer-cli build",
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
@@ -89,7 +91,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-data-validation-ui/src/vite-env.d.ts b/packages/sheets-data-validation-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-data-validation-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-data-validation-ui/tsconfig.json b/packages/sheets-data-validation-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-data-validation-ui/tsconfig.json
+++ b/packages/sheets-data-validation-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-data-validation-ui/tsconfig.node.json b/packages/sheets-data-validation-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-data-validation-ui/tsconfig.node.json
+++ b/packages/sheets-data-validation-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-data-validation/package.json b/packages/sheets-data-validation/package.json
index c5c627b45d..98f2ca7299 100644
--- a/packages/sheets-data-validation/package.json
+++ b/packages/sheets-data-validation/package.json
@@ -66,7 +66,9 @@
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
- "build": "univer-cli build",
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
@@ -84,7 +86,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-data-validation/src/vite-env.d.ts b/packages/sheets-data-validation/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-data-validation/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-data-validation/tsconfig.json b/packages/sheets-data-validation/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-data-validation/tsconfig.json
+++ b/packages/sheets-data-validation/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-data-validation/tsconfig.node.json b/packages/sheets-data-validation/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-data-validation/tsconfig.node.json
+++ b/packages/sheets-data-validation/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-drawing-ui/package.json b/packages/sheets-drawing-ui/package.json
index 2d792ee58a..21ed888e7e 100644
--- a/packages/sheets-drawing-ui/package.json
+++ b/packages/sheets-drawing-ui/package.json
@@ -70,7 +70,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -96,7 +98,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-drawing-ui/src/vite-env.d.ts b/packages/sheets-drawing-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-drawing-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-drawing-ui/tsconfig.json b/packages/sheets-drawing-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-drawing-ui/tsconfig.json
+++ b/packages/sheets-drawing-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-drawing-ui/tsconfig.node.json b/packages/sheets-drawing-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-drawing-ui/tsconfig.node.json
+++ b/packages/sheets-drawing-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-drawing/package.json b/packages/sheets-drawing/package.json
index 82f636c955..662487e8ad 100644
--- a/packages/sheets-drawing/package.json
+++ b/packages/sheets-drawing/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*",
@@ -63,7 +65,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-drawing/src/vite-env.d.ts b/packages/sheets-drawing/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-drawing/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-drawing/tsconfig.json b/packages/sheets-drawing/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-drawing/tsconfig.json
+++ b/packages/sheets-drawing/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-drawing/tsconfig.node.json b/packages/sheets-drawing/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-drawing/tsconfig.node.json
+++ b/packages/sheets-drawing/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.json
index 0fc5319597..7f9f5439c3 100644
--- a/packages/sheets-filter-ui/package.json
+++ b/packages/sheets-filter-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -84,7 +86,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-filter-ui/src/vite-env.d.ts b/packages/sheets-filter-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-filter-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-filter-ui/tsconfig.json b/packages/sheets-filter-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-filter-ui/tsconfig.json
+++ b/packages/sheets-filter-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-filter-ui/tsconfig.node.json b/packages/sheets-filter-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-filter-ui/tsconfig.node.json
+++ b/packages/sheets-filter-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-filter/package.json b/packages/sheets-filter/package.json
index 852867df03..bfad996019 100644
--- a/packages/sheets-filter/package.json
+++ b/packages/sheets-filter/package.json
@@ -64,7 +64,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -80,7 +82,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-filter/src/vite-env.d.ts b/packages/sheets-filter/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-filter/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-filter/tsconfig.json b/packages/sheets-filter/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-filter/tsconfig.json
+++ b/packages/sheets-filter/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-filter/tsconfig.node.json b/packages/sheets-filter/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-filter/tsconfig.node.json
+++ b/packages/sheets-filter/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-find-replace/package.json b/packages/sheets-find-replace/package.json
index c48d097ff7..5e72023e58 100644
--- a/packages/sheets-find-replace/package.json
+++ b/packages/sheets-find-replace/package.json
@@ -72,7 +72,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -88,7 +90,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-find-replace/src/vite-env.d.ts b/packages/sheets-find-replace/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-find-replace/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-find-replace/tsconfig.json b/packages/sheets-find-replace/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-find-replace/tsconfig.json
+++ b/packages/sheets-find-replace/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-find-replace/tsconfig.node.json b/packages/sheets-find-replace/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-find-replace/tsconfig.node.json
+++ b/packages/sheets-find-replace/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-formula-ui/package.json b/packages/sheets-formula-ui/package.json
index 3fb45749f2..4c76574ee5 100644
--- a/packages/sheets-formula-ui/package.json
+++ b/packages/sheets-formula-ui/package.json
@@ -71,7 +71,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -97,7 +99,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-formula-ui/src/vite-env.d.ts b/packages/sheets-formula-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-formula-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-formula-ui/tsconfig.json b/packages/sheets-formula-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-formula-ui/tsconfig.json
+++ b/packages/sheets-formula-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-formula-ui/tsconfig.node.json b/packages/sheets-formula-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-formula-ui/tsconfig.node.json
+++ b/packages/sheets-formula-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-formula/package.json b/packages/sheets-formula/package.json
index 72ab75e321..d1c3f3bc75 100644
--- a/packages/sheets-formula/package.json
+++ b/packages/sheets-formula/package.json
@@ -71,7 +71,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -88,7 +90,6 @@
"@univerjs/engine-render": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-formula/src/services/__test__/description.service.spec.ts b/packages/sheets-formula/src/services/__tests__/description.service.spec.ts
similarity index 100%
rename from packages/sheets-formula/src/services/__test__/description.service.spec.ts
rename to packages/sheets-formula/src/services/__tests__/description.service.spec.ts
diff --git a/packages/sheets-formula/src/services/__test__/formula-ref.spec.ts b/packages/sheets-formula/src/services/__tests__/formula-ref.spec.ts
similarity index 100%
rename from packages/sheets-formula/src/services/__test__/formula-ref.spec.ts
rename to packages/sheets-formula/src/services/__tests__/formula-ref.spec.ts
diff --git a/packages/sheets-formula/src/services/__test__/register-function.service.spec.ts b/packages/sheets-formula/src/services/__tests__/register-function.service.spec.ts
similarity index 100%
rename from packages/sheets-formula/src/services/__test__/register-function.service.spec.ts
rename to packages/sheets-formula/src/services/__tests__/register-function.service.spec.ts
diff --git a/packages/sheets-formula/src/services/__test__/util.ts b/packages/sheets-formula/src/services/__tests__/util.ts
similarity index 100%
rename from packages/sheets-formula/src/services/__test__/util.ts
rename to packages/sheets-formula/src/services/__tests__/util.ts
diff --git a/packages/sheets-formula/src/services/__test__/utils.spec.ts b/packages/sheets-formula/src/services/__tests__/utils.spec.ts
similarity index 100%
rename from packages/sheets-formula/src/services/__test__/utils.spec.ts
rename to packages/sheets-formula/src/services/__tests__/utils.spec.ts
diff --git a/packages/sheets-formula/src/vite-env.d.ts b/packages/sheets-formula/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-formula/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-formula/tsconfig.json b/packages/sheets-formula/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-formula/tsconfig.json
+++ b/packages/sheets-formula/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-formula/tsconfig.node.json b/packages/sheets-formula/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-formula/tsconfig.node.json
+++ b/packages/sheets-formula/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-graphics/package.json b/packages/sheets-graphics/package.json
index 227fd705dd..2a31547852 100644
--- a/packages/sheets-graphics/package.json
+++ b/packages/sheets-graphics/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*",
@@ -63,7 +65,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-graphics/src/vite-env.d.ts b/packages/sheets-graphics/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-graphics/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-graphics/tsconfig.json b/packages/sheets-graphics/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-graphics/tsconfig.json
+++ b/packages/sheets-graphics/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-graphics/tsconfig.node.json b/packages/sheets-graphics/tsconfig.node.json
index 7818f253cc..2abfa07367 100644
--- a/packages/sheets-graphics/tsconfig.node.json
+++ b/packages/sheets-graphics/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts", "build.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.json
index 3d6da08863..70309bf6a5 100644
--- a/packages/sheets-hyper-link-ui/package.json
+++ b/packages/sheets-hyper-link-ui/package.json
@@ -72,7 +72,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -100,7 +102,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-hyper-link-ui/src/vite-env.d.ts b/packages/sheets-hyper-link-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-hyper-link-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-hyper-link-ui/tsconfig.json b/packages/sheets-hyper-link-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-hyper-link-ui/tsconfig.json
+++ b/packages/sheets-hyper-link-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-hyper-link-ui/tsconfig.node.json b/packages/sheets-hyper-link-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-hyper-link-ui/tsconfig.node.json
+++ b/packages/sheets-hyper-link-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-hyper-link/package.json b/packages/sheets-hyper-link/package.json
index aa8997ae84..03bd47985f 100644
--- a/packages/sheets-hyper-link/package.json
+++ b/packages/sheets-hyper-link/package.json
@@ -64,7 +64,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -79,7 +81,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-hyper-link/tsconfig.json b/packages/sheets-hyper-link/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-hyper-link/tsconfig.json
+++ b/packages/sheets-hyper-link/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-hyper-link/tsconfig.node.json b/packages/sheets-hyper-link/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-hyper-link/tsconfig.node.json
+++ b/packages/sheets-hyper-link/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-note-ui/package.json b/packages/sheets-note-ui/package.json
index a362d7f216..fcaa7149f6 100644
--- a/packages/sheets-note-ui/package.json
+++ b/packages/sheets-note-ui/package.json
@@ -56,7 +56,9 @@
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -70,8 +72,7 @@
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-note": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
- "@univerjs/ui": "workspace:*",
- "rxjs": "^7.8.2"
+ "@univerjs/ui": "workspace:*"
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
@@ -80,7 +81,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-note-ui/src/vite-env.d.ts b/packages/sheets-note-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-note-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-note-ui/tsconfig.json b/packages/sheets-note-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-note-ui/tsconfig.json
+++ b/packages/sheets-note-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-note-ui/tsconfig.node.json b/packages/sheets-note-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-note-ui/tsconfig.node.json
+++ b/packages/sheets-note-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-note/package.json b/packages/sheets-note/package.json
index dd376b2ae9..f28c46e8c4 100644
--- a/packages/sheets-note/package.json
+++ b/packages/sheets-note/package.json
@@ -64,7 +64,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -80,7 +82,6 @@
"@univerjs/network": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-note/tsconfig.json b/packages/sheets-note/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-note/tsconfig.json
+++ b/packages/sheets-note/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-note/tsconfig.node.json b/packages/sheets-note/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-note/tsconfig.node.json
+++ b/packages/sheets-note/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-numfmt-ui/package.json b/packages/sheets-numfmt-ui/package.json
index 5fffb68952..9f6fcf7806 100644
--- a/packages/sheets-numfmt-ui/package.json
+++ b/packages/sheets-numfmt-ui/package.json
@@ -61,7 +61,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -85,7 +87,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-numfmt-ui/src/vite-env.d.ts b/packages/sheets-numfmt-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-numfmt-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-numfmt-ui/tsconfig.json b/packages/sheets-numfmt-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-numfmt-ui/tsconfig.json
+++ b/packages/sheets-numfmt-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-numfmt-ui/tsconfig.node.json b/packages/sheets-numfmt-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-numfmt-ui/tsconfig.node.json
+++ b/packages/sheets-numfmt-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-numfmt/package.json b/packages/sheets-numfmt/package.json
index 4223e59422..36669c46e9 100644
--- a/packages/sheets-numfmt/package.json
+++ b/packages/sheets-numfmt/package.json
@@ -66,7 +66,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -80,7 +82,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-numfmt/tsconfig.json b/packages/sheets-numfmt/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-numfmt/tsconfig.json
+++ b/packages/sheets-numfmt/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-numfmt/tsconfig.node.json b/packages/sheets-numfmt/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-numfmt/tsconfig.node.json
+++ b/packages/sheets-numfmt/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-sort-ui/package.json b/packages/sheets-sort-ui/package.json
index 2a0e5db613..2f6a98605b 100644
--- a/packages/sheets-sort-ui/package.json
+++ b/packages/sheets-sort-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -83,7 +85,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-sort-ui/src/vite-env.d.ts b/packages/sheets-sort-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-sort-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-sort-ui/tsconfig.json b/packages/sheets-sort-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-sort-ui/tsconfig.json
+++ b/packages/sheets-sort-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-sort-ui/tsconfig.node.json b/packages/sheets-sort-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-sort-ui/tsconfig.node.json
+++ b/packages/sheets-sort-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-sort/package.json b/packages/sheets-sort/package.json
index 89659c522f..d6d3a618f2 100644
--- a/packages/sheets-sort/package.json
+++ b/packages/sheets-sort/package.json
@@ -70,7 +70,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*",
@@ -80,7 +82,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-sort/src/vite-env.d.ts b/packages/sheets-sort/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-sort/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-sort/tsconfig.json b/packages/sheets-sort/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-sort/tsconfig.json
+++ b/packages/sheets-sort/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-sort/tsconfig.node.json b/packages/sheets-sort/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-sort/tsconfig.node.json
+++ b/packages/sheets-sort/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-table-ui/package.json b/packages/sheets-table-ui/package.json
index 7a2173a142..02b26798ef 100644
--- a/packages/sheets-table-ui/package.json
+++ b/packages/sheets-table-ui/package.json
@@ -64,7 +64,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -90,7 +92,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-table-ui/src/vite-env.d.ts b/packages/sheets-table-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-table-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-table-ui/tsconfig.json b/packages/sheets-table-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-table-ui/tsconfig.json
+++ b/packages/sheets-table-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-table-ui/tsconfig.node.json b/packages/sheets-table-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-table-ui/tsconfig.node.json
+++ b/packages/sheets-table-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-table/package.json b/packages/sheets-table/package.json
index 6b73912553..481e116e86 100644
--- a/packages/sheets-table/package.json
+++ b/packages/sheets-table/package.json
@@ -68,7 +68,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -82,7 +84,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-table/tsconfig.json b/packages/sheets-table/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-table/tsconfig.json
+++ b/packages/sheets-table/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-table/tsconfig.node.json b/packages/sheets-table/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-table/tsconfig.node.json
+++ b/packages/sheets-table/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-thread-comment-ui/package.json b/packages/sheets-thread-comment-ui/package.json
index 5744f00f04..240c34dae4 100644
--- a/packages/sheets-thread-comment-ui/package.json
+++ b/packages/sheets-thread-comment-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -84,7 +86,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-thread-comment-ui/src/vite-env.d.ts b/packages/sheets-thread-comment-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-thread-comment-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-thread-comment-ui/tsconfig.json b/packages/sheets-thread-comment-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-thread-comment-ui/tsconfig.json
+++ b/packages/sheets-thread-comment-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-thread-comment-ui/tsconfig.node.json b/packages/sheets-thread-comment-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-thread-comment-ui/tsconfig.node.json
+++ b/packages/sheets-thread-comment-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-thread-comment/package.json b/packages/sheets-thread-comment/package.json
index 259b31a2e2..d1cdbd1eb9 100644
--- a/packages/sheets-thread-comment/package.json
+++ b/packages/sheets-thread-comment/package.json
@@ -64,7 +64,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -79,7 +81,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-thread-comment/src/vite-env.d.ts b/packages/sheets-thread-comment/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-thread-comment/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-thread-comment/tsconfig.json b/packages/sheets-thread-comment/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-thread-comment/tsconfig.json
+++ b/packages/sheets-thread-comment/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-thread-comment/tsconfig.node.json b/packages/sheets-thread-comment/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-thread-comment/tsconfig.node.json
+++ b/packages/sheets-thread-comment/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-ui/package.json b/packages/sheets-ui/package.json
index 9d1d41d152..afecfd2d4d 100644
--- a/packages/sheets-ui/package.json
+++ b/packages/sheets-ui/package.json
@@ -72,7 +72,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -99,7 +101,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-ui/src/vite-env.d.ts b/packages/sheets-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-ui/tsconfig.json b/packages/sheets-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-ui/tsconfig.json
+++ b/packages/sheets-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-ui/tsconfig.node.json b/packages/sheets-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-ui/tsconfig.node.json
+++ b/packages/sheets-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets-zen-editor/package.json b/packages/sheets-zen-editor/package.json
index 22ba061b43..d1ae48892d 100644
--- a/packages/sheets-zen-editor/package.json
+++ b/packages/sheets-zen-editor/package.json
@@ -72,7 +72,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -96,7 +98,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets-zen-editor/src/vite-env.d.ts b/packages/sheets-zen-editor/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets-zen-editor/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets-zen-editor/tsconfig.json b/packages/sheets-zen-editor/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets-zen-editor/tsconfig.json
+++ b/packages/sheets-zen-editor/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets-zen-editor/tsconfig.node.json b/packages/sheets-zen-editor/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets-zen-editor/tsconfig.node.json
+++ b/packages/sheets-zen-editor/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/sheets/package.json b/packages/sheets/package.json
index f6b68407b6..a2853b2280 100644
--- a/packages/sheets/package.json
+++ b/packages/sheets/package.json
@@ -72,7 +72,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -89,7 +91,6 @@
"@univerjs/network": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/sheets/src/vite-env.d.ts b/packages/sheets/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/sheets/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/sheets/tsconfig.json b/packages/sheets/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/sheets/tsconfig.json
+++ b/packages/sheets/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/sheets/tsconfig.node.json b/packages/sheets/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/sheets/tsconfig.node.json
+++ b/packages/sheets/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.json
index 4b059b8987..bee5441f9c 100644
--- a/packages/slides-ui/package.json
+++ b/packages/slides-ui/package.json
@@ -61,7 +61,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -85,7 +87,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/slides-ui/src/vite-env.d.ts b/packages/slides-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/slides-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/slides-ui/tsconfig.json b/packages/slides-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/slides-ui/tsconfig.json
+++ b/packages/slides-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/slides-ui/tsconfig.node.json b/packages/slides-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/slides-ui/tsconfig.node.json
+++ b/packages/slides-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/slides/package.json b/packages/slides/package.json
index cc5ca24764..267d45678c 100644
--- a/packages/slides/package.json
+++ b/packages/slides/package.json
@@ -55,7 +55,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*",
@@ -64,7 +66,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/slides/src/vite-env.d.ts b/packages/slides/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/slides/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/slides/tsconfig.json b/packages/slides/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/slides/tsconfig.json
+++ b/packages/slides/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/slides/tsconfig.node.json b/packages/slides/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/slides/tsconfig.node.json
+++ b/packages/slides/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json
index c3d368dd96..44f1963b97 100644
--- a/packages/telemetry/package.json
+++ b/packages/telemetry/package.json
@@ -52,7 +52,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*"
@@ -60,7 +62,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/telemetry/tsconfig.json b/packages/telemetry/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/telemetry/tsconfig.json
+++ b/packages/telemetry/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/telemetry/tsconfig.node.json b/packages/telemetry/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/telemetry/tsconfig.node.json
+++ b/packages/telemetry/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/themes/package.json b/packages/themes/package.json
index 6d0fb3ab5c..7c6c9f83d1 100644
--- a/packages/themes/package.json
+++ b/packages/themes/package.json
@@ -53,10 +53,11 @@
],
"scripts": {
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"devDependencies": {
- "@univerjs-infra/shared": "workspace:*",
- "vite": "^7.3.1"
+ "@univerjs-infra/shared": "workspace:*"
}
}
diff --git a/packages/themes/tsconfig.node.json b/packages/themes/tsconfig.node.json
new file mode 100644
index 0000000000..2abfa07367
--- /dev/null
+++ b/packages/themes/tsconfig.node.json
@@ -0,0 +1,18 @@
+{
+ "extends": "@univerjs-infra/shared/tsconfigs/node",
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
+}
diff --git a/packages/thread-comment-ui/package.json b/packages/thread-comment-ui/package.json
index a8516cd4a7..3ba1e43276 100644
--- a/packages/thread-comment-ui/package.json
+++ b/packages/thread-comment-ui/package.json
@@ -59,7 +59,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -80,7 +82,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/thread-comment-ui/src/vite-env.d.ts b/packages/thread-comment-ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/thread-comment-ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/thread-comment-ui/tsconfig.json b/packages/thread-comment-ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/thread-comment-ui/tsconfig.json
+++ b/packages/thread-comment-ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/thread-comment-ui/tsconfig.node.json b/packages/thread-comment-ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/thread-comment-ui/tsconfig.node.json
+++ b/packages/thread-comment-ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/thread-comment/package.json b/packages/thread-comment/package.json
index b0e8c53ba9..978b3dab9b 100644
--- a/packages/thread-comment/package.json
+++ b/packages/thread-comment/package.json
@@ -53,7 +53,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -65,7 +67,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/thread-comment/src/vite-env.d.ts b/packages/thread-comment/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/thread-comment/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/thread-comment/tsconfig.json b/packages/thread-comment/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/thread-comment/tsconfig.json
+++ b/packages/thread-comment/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/thread-comment/tsconfig.node.json b/packages/thread-comment/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/thread-comment/tsconfig.node.json
+++ b/packages/thread-comment/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/ui-adapter-vue3/package.json b/packages/ui-adapter-vue3/package.json
index e57fadcf06..020ff8e446 100644
--- a/packages/ui-adapter-vue3/package.json
+++ b/packages/ui-adapter-vue3/package.json
@@ -55,7 +55,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"vue": ">=3.0.0"
@@ -67,8 +69,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18",
+ "vitest": "^4.1.0",
"vue": "^3.5.29"
}
}
diff --git a/packages/ui-adapter-vue3/tsconfig.json b/packages/ui-adapter-vue3/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/ui-adapter-vue3/tsconfig.json
+++ b/packages/ui-adapter-vue3/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/ui-adapter-vue3/tsconfig.node.json b/packages/ui-adapter-vue3/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/ui-adapter-vue3/tsconfig.node.json
+++ b/packages/ui-adapter-vue3/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/ui-adapter-web-component/package.json b/packages/ui-adapter-web-component/package.json
index 84f6f04ad5..8f89bfda30 100644
--- a/packages/ui-adapter-web-component/package.json
+++ b/packages/ui-adapter-web-component/package.json
@@ -55,10 +55,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
- },
- "peerDependencies": {
- "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"dependencies": {
"@univerjs/core": "workspace:*",
@@ -67,7 +66,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/ui-adapter-web-component/tsconfig.json b/packages/ui-adapter-web-component/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/ui-adapter-web-component/tsconfig.json
+++ b/packages/ui-adapter-web-component/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/ui-adapter-web-component/tsconfig.node.json b/packages/ui-adapter-web-component/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/ui-adapter-web-component/tsconfig.node.json
+++ b/packages/ui-adapter-web-component/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 90ab72915a..5bcf1d6ed2 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -72,7 +72,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
@@ -98,7 +100,6 @@
"tailwindcss": "3.4.18",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/ui/src/utils/di.ts b/packages/ui/src/utils/di.ts
index c6f134ce3d..bb4b100440 100644
--- a/packages/ui/src/utils/di.ts
+++ b/packages/ui/src/utils/di.ts
@@ -19,7 +19,18 @@ import type { RefObject } from 'react';
import type { Observable } from 'rxjs';
import { useEffect, useRef } from 'react';
-export * from '@wendellhu/redi/react-bindings';
+export {
+ connectDependencies,
+ connectInjector,
+ RediConsumer,
+ RediContext,
+ RediProvider,
+ useDependency,
+ useInjector,
+ useObservable,
+ useUpdateBinder,
+ WithDependency,
+} from '@wendellhu/redi/react-bindings';
type ObservableOrFn<T> = Observable<T> | (() => Observable<T>);
diff --git a/packages/ui/src/vite-env.d.ts b/packages/ui/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/ui/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/ui/tsconfig.json
+++ b/packages/ui/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/ui/tsconfig.node.json b/packages/ui/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/ui/tsconfig.node.json
+++ b/packages/ui/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/uniscript/package.json b/packages/uniscript/package.json
index 059662b7fd..324dbeefef 100644
--- a/packages/uniscript/package.json
+++ b/packages/uniscript/package.json
@@ -61,10 +61,11 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
- "monaco-editor": ">=0.50.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
"rxjs": ">=7.0.0"
},
@@ -83,7 +84,6 @@
"rxjs": "^7.8.2",
"tailwindcss": "3.4.18",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/uniscript/src/vite-env.d.ts b/packages/uniscript/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/uniscript/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/uniscript/tsconfig.json b/packages/uniscript/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/uniscript/tsconfig.json
+++ b/packages/uniscript/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/uniscript/tsconfig.node.json b/packages/uniscript/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/uniscript/tsconfig.node.json
+++ b/packages/uniscript/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/packages/watermark/package.json b/packages/watermark/package.json
index f5be3d2bca..20e6bb99a6 100644
--- a/packages/watermark/package.json
+++ b/packages/watermark/package.json
@@ -66,7 +66,9 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
- "build": "univer-cli build"
+ "build:bundle": "univer-cli build",
+ "build:types": "tsc -p tsconfig.node.json",
+ "build": "pnpm run build:bundle && pnpm run build:types"
},
"peerDependencies": {
"rxjs": ">=7.0.0"
@@ -79,7 +81,6 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^5.9.3",
- "vite": "^7.3.1",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/packages/watermark/src/vite-env.d.ts b/packages/watermark/src/vite-env.d.ts
deleted file mode 100644
index 11f02fe2a0..0000000000
--- a/packages/watermark/src/vite-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-/// <reference types="vite/client" />
diff --git a/packages/watermark/tsconfig.json b/packages/watermark/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/packages/watermark/tsconfig.json
+++ b/packages/watermark/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}
diff --git a/packages/watermark/tsconfig.node.json b/packages/watermark/tsconfig.node.json
index 4947a09903..2abfa07367 100644
--- a/packages/watermark/tsconfig.node.json
+++ b/packages/watermark/tsconfig.node.json
@@ -1,4 +1,18 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/node",
- "include": ["vitest.config.ts"]
+ "compilerOptions": {
+ "rootDir": "src",
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "noEmit": false,
+ "outDir": "lib/types"
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "src/**/__tests__/**",
+ "src/**/*.spec.ts",
+ "src/**/*.test.ts"
+ ]
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a171232d18..79fcf9eebc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,13 +16,13 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: ^7.7.0
'@commitlint/cli':
- specifier: ^20.4.3
- version: 20.4.3(@types/[email protected])([email protected])
+ specifier: ^20.5.0
'@commitlint/config-conventional':
- specifier: ^20.4.3
- version: 20.4.3
+ specifier: ^20.5.0
+ version: 20.5.0
'@eslint-react/eslint-plugin':
specifier: ^2.13.0
@@ -34,10 +34,10 @@ importers:
version: 1.57.0
'@release-it-plugins/workspaces':
specifier: ^5.0.3
'@release-it/conventional-changelog':
specifier: ^10.0.5
'@types/fs-extra':
specifier: ^11.0.4
version: 11.0.4
@@ -56,9 +56,6 @@ importers:
'@univerjs/design':
specifier: workspace:*
version: link:packages/design
- '@vitejs/plugin-react':
- specifier: ^5.1.4
eslint:
specifier: 10.0.3
version: 10.0.3([email protected])
@@ -94,7 +91,7 @@ importers:
version: 19.2.4([email protected])
release-it:
specifier: ^19.2.4
- version: 19.2.4(@types/[email protected])([email protected])
+ version: 19.2.4(@types/[email protected])([email protected])
serve:
specifier: ^14.2.6
version: 14.2.6
@@ -105,14 +102,14 @@ importers:
specifier: ^4.21.0
version: 4.21.0
turbo:
- specifier: ^2.8.14
- version: 2.8.14
+ specifier: ^2.8.17
+ version: 2.8.17
typescript:
specifier: ^5.9.3
version: 5.9.3
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
common/debugger:
dependencies:
@@ -168,15 +165,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
- vitest:
- specifier: ^4.0.18
vue:
- specifier: ^3.5.29
- version: 3.5.29([email protected])
+ specifier: ^3.5.30
+ version: 3.5.30([email protected])
common/mockdata:
dependencies:
@@ -322,18 +313,15 @@ importers:
common/shared:
dependencies:
+ '@tsdown/css':
+ specifier: ^0.21.2
'@typescript-eslint/parser':
specifier: ^8.56.1
- '@vitejs/plugin-react':
- specifier: ^5.1.4
- '@vitejs/plugin-vue':
- specifier: ^6.0.4
'@vitest/coverage-istanbul':
- specifier: ^4.0.18
+ specifier: ^4.1.0
autoprefixer:
specifier: ^10.4.24
version: 10.4.24([email protected])
@@ -373,18 +361,15 @@ importers:
tailwindcss:
specifier: 3.4.18
version: 3.4.18
- vite:
- specifier: ^7.3.1
- vite-plugin-dts:
- specifier: ^4.5.4
- vite-plugin-external:
- specifier: ^6.2.2
- version: 6.2.2
+ tsdown:
+ specifier: ^0.21.3
+ unplugin-vue:
+ specifier: ^7.1.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
devDependencies:
'@types/fs-extra':
specifier: ^11.0.4
@@ -401,6 +386,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
+ vue-tsc:
+ specifier: ^3.2.5
+ version: 3.2.5([email protected])
common/storybook:
dependencies:
@@ -409,7 +397,7 @@ importers:
'@storybook/addon-docs':
specifier: ^10.2.12
'@storybook/addon-links':
specifier: ^10.2.12
@@ -711,7 +699,7 @@ importers:
version: 2.1.1([email protected])
esbuild-plugin-vue3:
specifier: ^0.5.1
esbuild-style-plugin:
specifier: ^1.6.3
version: 1.6.3
@@ -773,12 +761,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/core:
dependencies:
@@ -837,12 +822,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/data-validation:
dependencies:
@@ -865,12 +847,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/design:
dependencies:
@@ -932,9 +911,6 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- '@univerjs/core':
- specifier: workspace:*
- version: link:../core
postcss:
specifier: ^8.5.8
version: 8.5.8
@@ -953,12 +929,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs:
dependencies:
@@ -978,12 +951,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-drawing:
dependencies:
@@ -1000,12 +970,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-drawing-ui:
dependencies:
@@ -1055,12 +1022,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-hyper-link:
dependencies:
@@ -1074,12 +1038,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-hyper-link-ui:
dependencies:
@@ -1126,12 +1087,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-mention-ui:
dependencies:
@@ -1169,12 +1127,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-quick-insert-ui:
dependencies:
@@ -1230,12 +1185,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-thread-comment-ui:
dependencies:
@@ -1282,12 +1234,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/docs-ui:
dependencies:
@@ -1340,12 +1289,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/drawing:
dependencies:
@@ -1365,12 +1311,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/drawing-ui:
dependencies:
@@ -1411,12 +1354,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/engine-formula:
dependencies:
@@ -1442,12 +1382,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/engine-render:
dependencies:
@@ -1485,12 +1422,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/find-replace:
dependencies:
@@ -1528,12 +1462,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/network:
dependencies:
@@ -1550,12 +1481,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/rpc:
dependencies:
@@ -1572,12 +1500,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/rpc-node:
dependencies:
@@ -1597,12 +1522,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets:
dependencies:
@@ -1634,12 +1556,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-conditional-formatting:
dependencies:
@@ -1668,12 +1587,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-conditional-formatting-ui:
dependencies:
@@ -1729,12 +1645,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-crosshair-highlight:
dependencies:
@@ -1778,12 +1691,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-data-validation:
dependencies:
@@ -1815,12 +1725,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-data-validation-ui:
dependencies:
@@ -1879,12 +1786,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-drawing:
dependencies:
@@ -1904,12 +1808,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-drawing-ui:
dependencies:
@@ -1965,12 +1866,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-filter:
dependencies:
@@ -1999,12 +1897,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-filter-ui:
dependencies:
@@ -2057,12 +1952,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-find-replace:
dependencies:
@@ -2091,12 +1983,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-formula:
dependencies:
@@ -2128,12 +2017,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-formula-ui:
dependencies:
@@ -2189,12 +2075,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-graphics:
dependencies:
@@ -2214,12 +2097,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-hyper-link:
dependencies:
@@ -2245,12 +2125,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-hyper-link-ui:
dependencies:
@@ -2312,12 +2189,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-note:
dependencies:
@@ -2346,12 +2220,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-note-ui:
dependencies:
@@ -2379,9 +2250,6 @@ importers:
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
- rxjs:
- specifier: ^7.8.2
- version: 7.8.2
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
@@ -2392,18 +2260,18 @@ importers:
react:
specifier: 19.2.4
version: 19.2.4
+ rxjs:
+ specifier: ^7.8.2
+ version: 7.8.2
tailwindcss:
specifier: 3.4.18
version: 3.4.18
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-numfmt:
dependencies:
@@ -2426,12 +2294,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-numfmt-ui:
dependencies:
@@ -2481,12 +2346,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-sort:
dependencies:
@@ -2506,12 +2368,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-sort-ui:
dependencies:
@@ -2561,12 +2420,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-table:
dependencies:
@@ -2589,12 +2445,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-table-ui:
dependencies:
@@ -2650,12 +2503,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-thread-comment:
dependencies:
@@ -2681,12 +2531,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-thread-comment-ui:
dependencies:
@@ -2739,12 +2586,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-ui:
dependencies:
@@ -2803,12 +2647,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/sheets-zen-editor:
dependencies:
@@ -2858,12 +2699,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/slides:
dependencies:
@@ -2880,12 +2718,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/slides-ui:
dependencies:
@@ -2935,12 +2770,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/telemetry:
dependencies:
@@ -2954,21 +2786,15 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/themes:
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- vite:
- specifier: ^7.3.1
packages/thread-comment:
dependencies:
@@ -2985,12 +2811,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/thread-comment-ui:
dependencies:
@@ -3031,12 +2854,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/ui:
dependencies:
@@ -3089,12 +2909,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/ui-adapter-vue3:
dependencies:
@@ -3111,12 +2928,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
vue:
specifier: ^3.5.29
version: 3.5.29([email protected])
@@ -3129,9 +2943,6 @@ importers:
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
- react:
- specifier: 19.2.4
- version: 19.2.4
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
@@ -3139,12 +2950,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/uniscript:
dependencies:
@@ -3185,12 +2993,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages/watermark:
dependencies:
@@ -3210,12 +3015,9 @@ importers:
typescript:
specifier: ^5.9.3
version: 5.9.3
- vite:
- specifier: ^7.3.1
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
tests/formula-integration:
dependencies:
@@ -3266,8 +3068,8 @@ importers:
specifier: ^5.9.3
version: 5.9.3
vitest:
- specifier: ^4.0.18
+ specifier: ^4.1.0
packages:
@@ -3374,10 +3176,6 @@ packages:
resolution: {integrity: sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==}
engines: {node: '>=6.9.0'}
@@ -3390,14 +3188,14 @@ packages:
resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oCQ1IKPwkzCeJzAPb7Fv8rQ9k5+1sG8mf2uoHiMInPYvkRfrDJxbTIbH51U+jstlkghus0vAi3EBvkfvEsYNLQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+
resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==}
engines: {node: '>=6.9.0'}
@@ -3430,14 +3228,14 @@ packages:
peerDependencies:
'@babel/core': ^7.0.0
- '@babel/[email protected]':
- resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-noLx87RwlBEMrTzncWd/FvTxoJ9+ycHNg0n8yyYydIoDsLZuxknKgWRJUqcrVkNrJ74uGyhWQzQaS3q8xfGAhQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+
resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
engines: {node: '>=6.9.0'}
@@ -3446,6 +3244,10 @@ packages:
resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-xExUBkuXWJjVuIbO7z6q7/BA9bgfJDEhVL0ggrggLMbg0IzCUWGT1hZGE8qUH7Il7/RD/a6cZ3AAFrrlp1LF/A==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+
resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
engines: {node: '>=6.9.0'}
@@ -3483,17 +3285,10 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
- '@babel/[email protected]':
- resolution: {integrity: sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==}
- engines: {node: '>=6.9.0'}
- peerDependencies:
- '@babel/core': ^7.0.0-0
-
- '@babel/[email protected]':
- resolution: {integrity: sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==}
- engines: {node: '>=6.9.0'}
- peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-29AhEtcq4x8Dp3T72qvUMZHx0OMXCj4Jy/TEReQa+KWLln524Cj1fWb3QFi0l/xSpptQBR6y9RNEXuxpFvwiUQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
resolution: {integrity: sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==}
@@ -3523,10 +3318,6 @@ packages:
resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==}
engines: {node: '>=6.9.0'}
@@ -3551,6 +3342,10 @@ packages:
resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-91gAaWRznDwSX4E2tZ1YjBuIfnQVOFDCQ2r0Toby0gu4XEbyF623kXLMA8d4ZbCu+fINcrudkmEcwSUHgDDkNw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+
'@chromatic-com/[email protected]':
resolution: {integrity: sha512-v80QBwVd8W6acH5NtDgFlUevIBaMZAh1pYpBiB40tuNzS242NTHeQHBDGYwIAbWKDnt1qfjJpcpL6pj5kAr4LA==}
engines: {node: '>=20.0.0', yarn: '>=1.22.18'}
@@ -3563,61 +3358,61 @@ packages:
resolution: {integrity: sha512-pkqbPGtohJAvm4Dphs2M8xE29ggupihHdy1x84HNojZuMtFsHiUlRvqD24tM2+XmI+61LlfNceM3Wr7U5QES5g==}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-Z37EMoDT7+Upg500vlr/vZrgRsb6Xc5JAA3Tv7BYbobnN/ZpqUeZnSLggBg2+1O+NptRDtyujr2DD1CPV2qwhA==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-yNkyN/tuKTJS3wdVfsZ2tXDM4G4Gi7z+jW54Cki8N8tZqwKBltbIvUUrSbT4hz1bhW/h0CdR+5sCSpXD+wMKaQ==}
engines: {node: '>=v18'}
hasBin: true
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-9RtLySbYQAs8yEqWEqhSZo9nYhbm57jx7qHXtgRmv/nmeQIjjMcwf6Dl+y5UZcGWgWx435TAYBURONaJIuCjWg==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-t3Ni88rFw1XMa4nZHgOKJ8fIAT9M2j5TnKyTqJzsxea7FUetlNdYFus9dz+MhIRZmc16P0PPyEfh6X2d/qw8SA==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-jCZpZFkcSL3ZEdL5zgUzFRdytv3xPo8iukTe9VA+QGus/BGhpp1xXSVu2B006GLLb2gYUAEGEqv64kTlpZNgmA==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-T/Uh6iJUzyx7j35GmHWdIiGRQB+ouZDk0pwAaYq4SXgB54KZhFdJ0vYmxiW6AMYICTIWuyMxDBl1jK74oFp/Gw==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-WcXGKBNn0wBKpX8VlXgxqedyrLxedIlLBCMvdamLnJFEbUGJ9JZmBVx4vhLV3ZyA8uONGOb+CzW0Y9HDbQ+ONQ==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-IpHqAUesBeW1EDDdjzJeaOxU9tnogLAyXLRBn03SHlj1SGENn2JGZqSWGkFvBJkJzfXAuCNtsoYzax+ZPS+puw==}
engines: {node: '>=v18'}
'@commitlint/[email protected]':
resolution: {integrity: sha512-xyCoOShoPuPL44gVa+5EdZsBVao/pNzpQhkzq3RdtlFdKZtjWcLlUFQHSWBuhk5utKYykeJPSz2i8ABHQA+ZZw==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-UDJVErjLbNghop6j111rsHJYGw6MjCKAi95K0GT2yf4eeiDHy3JDRLWYWEjIaFgO+r+dQSkuqgJ1CdMTtrvHsA==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-TI9EwFU/qZWSK7a5qyXMpKPPv3qta7FO4tKW+Wt2al7sgMbLWTsAcDpX1cU8k16TRdsiiet9aOw0zpvRXNJu7Q==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-W5VQKZ7fdJ1X3Tko+h87YZaqRMGN1KvQKXyCM8xFdxzMIf1KCZgN4uLz3osLB1zsFcVS4ZswHY64LI26/9ACag==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-JWLarAsurHJhPozbuAH6GbP4p/hdOCoqS9zJMfqwswne+/GPs5V0+rrsfOkP68Y8PSLphwtFXV0EzJ+GTXTTGg==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-CYOXL23e+nRKij81+d0+dymtIi7Owl9QzvblJYbEfInON/4MaETNSLFDI74LDu+YJ0ML5HZyw9Vhp9QpckwQ0A==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-jiM3hNUdu04jFBf1VgPdjtIPvbuVfDTBAc6L98AWcoLjF5sYqkulBHBzlVWll4rMF1T5zeQFB6r//a+s+BBKlA==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-3cdJOUVP+VcgHa7bhJoWS+Z8mBNXB5aLWMBu7Q7uX8PSeWDzdbrBlR33J1MGGf7r1PZDp+mPPiFktk031PgdRw==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-sLhhYTL/KxeOTZjjabKDhwidGZan84XKK1+XFkwDYL/4883kIajcz/dZFAhBJmZPtL8+nBx6bnkzA95YxPeDPw==}
engines: {node: '>=v18'}
'@commitlint/[email protected]':
resolution: {integrity: sha512-6akwCYrzcrFcTYz9GyUaWlhisY4lmQ3KvrnabmhoeAV8nRH4dXJAh4+EUQ3uArtxxKQkvxJS78hNX2EU3USgxQ==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-hzC3JCo3zs3VkQ833KnGVuWjWIzR72BWZWjQM7tY/7dfKreKAm7fEsy71tIFCRtxf2RtMP2d3RLF1U9yhFSccA==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-SeKWHBMk7YOTnnEWUhx+d1a9vHsjjuo6Uo1xRfPNfeY4bdYFasCH1dDpAv13Lyn+dDPOels+jP6D2GRZqzc5fA==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-j42OWv3L31WfnP8WquVjHZRt03w50Y/gEE8FAyih7GQTrIv2+pZ6VZ6pWLD/ml/3PO+RV2SPtRtTp/MvlTb8rQ==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-JDEIJ2+GnWpK8QqwfmW7O42h0aycJEWNqcdkJnyzLD11nf9dW2dWLTVEa8Wtlo4IZFGLPATjR5neA5QlOvIH1w==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-QucxcOy+00FhS9s4Uy0OyS5HeUV+hbC6OLqkTSIm6fwMdKva+OEavaCDuLtgd9akZZlsUo//XzSmPP3sLKBPog==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-3SHPWUW2v0tyspCTcfSsYml0gses92l6TlogwzvM2cbxDgmhSRc+fldDjvGkCXJrjSM87BBaWYTPWwwyASZRrg==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-Yuosd7Grn5qiT7FovngXLyRXTMUbj9PYiSkvUgWK1B5a7+ZvrbWDS7epeUapYNYatCy/KTpPFPbgLUdE+MUrBg==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-5NdQXQEdnDPT5pK8O39ZA7HohzPRHEsDGU23cyVCNPQy4WegAbAwrQk3nIu7p2sl3dutPk8RZd91yKTrMTnRkQ==}
engines: {node: '>=v18'}
'@commitlint/[email protected]':
@@ -3628,8 +3423,8 @@ packages:
resolution: {integrity: sha512-qD9xfP6dFg5jQ3NMrOhG0/w5y3bBUsVGyJvXxdWEwBm8hyx4WOk3kKXw28T5czBYvyeCVJgJJ6aoJZUWDpaacQ==}
engines: {node: '>=v18'}
- '@commitlint/[email protected]':
- resolution: {integrity: sha512-51OWa1Gi6ODOasPmfJPq6js4pZoomima4XLZZCrkldaH2V5Nb3bVhNXPeT6XV0gubbainSpTw4zi68NqAeCNCg==}
+ '@commitlint/[email protected]':
+ resolution: {integrity: sha512-ZJoS8oSq2CAZEpc/YI9SulLrdiIyXeHb/OGqGrkUP6Q7YV+0ouNAa7GjqRdXeQPncHQIDz/jbCTlHScvYvO/gA==}
engines: {node: '>=v18'}
'@conventional-changelog/[email protected]':
@@ -3644,6 +3439,18 @@ packages:
conventional-commits-parser:
optional: true
+ '@conventional-changelog/[email protected]':
+ resolution: {integrity: sha512-T+uPDciKf0/ioNNDpMGc8FDsehJClZP0yR3Q5MN6wE/Y/1QZ7F+80OgznnTCOlMEG4AV0LvH2UJi3C/nBnaBUg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ conventional-commits-filter: ^5.0.0
+ conventional-commits-parser: ^6.3.0
+ peerDependenciesMeta:
+ conventional-commits-filter:
+ optional: true
+ conventional-commits-parser:
+ optional: true
+
'@csstools/[email protected]':
resolution: {integrity: sha512-/3iksyevwRfSJx5yH0RkcrcYXwuhMQx3Juqf40t97PeEy2/Mz2TItZ/z/216qpe4GgOyFBP8MKIwVvytzHmfIQ==}
engines: {node: '>=20.19.0'}
@@ -4010,6 +3817,15 @@ packages:
oxlint:
optional: true
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-0DQ98G9ZQZOxfUcQn1waV2yS8aWdZ6kJMbYCJB3oUBecjWYO1fqJ+a1DRfPF3O5JEkwqwP1A9QEN/9mYm2Yd0w==}
+
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-QN75eB0IH2ywSpRpNddCRfQIhmJYBCJ1x5Lb3IscKAL8bMnVAKnRg8dCoXbHzVLLH7P38N2Z3mtulB7W0J0FKw==}
+
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg==}
+
'@es-joy/[email protected]':
resolution: {integrity: sha512-0xew1CxOam0gV5OMjh2KjFQZsKL2bByX1+q4j3E73MpYIdyUxcZb/xQct9ccUb+ve5KGUYbCUxyPnYB7RbuP+w==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
@@ -4018,312 +3834,156 @@ packages:
resolution: {integrity: sha512-Q9hjxWI5xBM+qW2enxfe8wDKdFWMfd0Z29k5ZJnuBqD/CasY5Zryj09aCA6owbGATWz+39p5uIdaHXpopOcG8g==}
engines: {node: '>=10'}
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [aix]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-9fJMTNFTWZMh5qwrBItuziu834eOCUcEqymSH7pY+zoMVEZg3gcPuBNxH1EvfVYe9h0x/Ptw8KBzv7qxb7l8dg==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [aix]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-YdghPYUmj/FX2SYKJ0OZxf+iaKgMsKHVPF1MAq/P8WirnSpCStzKJFjOjzsW0QQ7oIAiccHdcqjbHmJxRb/dmg==}
engines: {node: '>=18'}
cpu: [arm64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-DVNI8jlPa7Ujbr1yjU2PfUSRtAUZPG9I1RwW4F4xFB1Imiu2on0ADiI/c3td+KmDtVKNbi+nffGDQMfcIMkwIA==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-i5D1hPY7GIQmXlXhs2w8AWHhenb00+GxjxRncS2ZM7YNVGNfaMxgzSGuO8o8SJzRc/oZwU2bcScvVERk03QhzA==}
engines: {node: '>=18'}
cpu: [arm]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-z8Ank4Byh4TJJOh4wpz8g2vDy75zFL0TlZlkUkEwYXuPSgX8yzep596n6mT7905kA9uHZsf/o2OJZubl2l3M7A==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-IN/0BNTkHtk8lkOM8JWAYFg4ORxBkZQf9zXiEOfERX/CzxW3Vg1ewAhU7QSWQpVIzTW+b8Xy+lGzdYXV6UZObQ==}
engines: {node: '>=18'}
cpu: [x64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-Re491k7ByTVRy0t3EKWajdLIr0gz2kKKfzafkth4Q8A5n1xTHrkqZgLLjFEHVD+AXdUGgQMq+Godfq45mGpCKg==}
engines: {node: '>=18'}
cpu: [arm64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-ZxtijOmlQCBWGwbVmwOF/UCzuGIbUkqB1faQRf5akQmxRJ1ujusWsb3CVfk/9iZKr2L5SMU5wPBi1UWbvL+VQA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-vHk/hA7/1AckjGzRqi6wbo+jaShzRowYip6rt6q7VYEDX4LEy1pZfDpdxCBnGtl+A5zq8iXDcyuxwtv3hNtHFg==}
engines: {node: '>=18'}
cpu: [x64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-ipTYM2fjt3kQAYOvo6vcxJx3nBYAzPjgTCk7QEgZG8AUO3ydUhvelmhrbOheMnGOlaSFUoHXB6un+A7q4ygY9w==}
engines: {node: '>=18'}
cpu: [arm64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-tAfqtNYb4YgPnJlEFu4c212HYjQWSO/w/h/lQaBK7RbwGIkBOuNKQI9tqWzx7Wtp7bTPaGC6MJvWI608P3wXYA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-dDk0X87T7mI6U3K9VjWtHOXqwAMJBNN2r7bejDsc+j03SEjtD9HrOl8gVFByeM0aJksoUuUVU9TBaZa2rgj0oA==}
engines: {node: '>=18'}
cpu: [x64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-sZOuFz/xWnZ4KH3YfFrKCf1WyPZHakVzTiqji3WDc0BCl2kBwiJLCXpzLzUBLgmp4veFZdvN5ChW4Eq/8Fc2Fg==}
engines: {node: '>=18'}
cpu: [arm64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-vWfq4GaIMP9AIe4yj1ZUW18RDhx6EPQKjwe7n8BbIecFtCQG4CfHGaHuh7fdfq+y3LIA2vGS/o9ZBGVxIDi9hw==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-s6nPv2QkSupJwLYyfS+gwdirm0ukyTFNl3KTgZEAiJDd+iHZcbTPPcWCcRYH+WlNbwChgH2QkE9NSlNrMT8Gfw==}
engines: {node: '>=18'}
cpu: [arm]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-MJt5BRRSScPDwG2hLelYhAAKh9imjHK5+NE/tvnRLbIqUWa+0E9N4WNMjmp/kXXPHZGqPLxggwVhz7QP8CTR8w==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-yGlQYjdxtLdh0a3jHjuwOrxQjOZYD/C9PfdbgJJF3TIZWnm/tMd/RcNiLngiu4iwcBAOezdnSLAwQDPqTmtTYg==}
engines: {node: '>=18'}
cpu: [ia32]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-lugyF1atnAT463aO6KPshVCJK5NgRnU4yb3FUumyVz+cGvZbontBgzeGFO1nF+dPueHD367a2ZXe1NtUkAjOtg==}
- engines: {node: '>=18'}
- cpu: [loong64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-WO60Sn8ly3gtzhyjATDgieJNet/KqsDlX5nRC5Y3oTFcS1l0KWba+SEa9Ja1GfDqSF1z6hif/SkpQJbL63cgOA==}
engines: {node: '>=18'}
cpu: [loong64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-nlP2I6ArEBewvJ2gjrrkESEZkB5mIoaTswuqNFRv/WYd+ATtUpe9Y09RnJvgvdag7he0OWgEZWhviS1OTOKixw==}
- engines: {node: '>=18'}
- cpu: [mips64el]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-APsymYA6sGcZ4pD6k+UxbDjOFSvPWyZhjaiPyl/f79xKxwTnrn5QUnXR5prvetuaSMsb4jgeHewIDCIWljrSxw==}
engines: {node: '>=18'}
cpu: [mips64el]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-C92gnpey7tUQONqg1n6dKVbx3vphKtTHJaNG2Ok9lGwbZil6DrfyecMsp9CrmXGQJmZ7iiVXvvZH6Ml5hL6XdQ==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-eizBnTeBefojtDb9nSh4vvVQ3V9Qf9Df01PfawPcRzJH4gFSgrObw+LveUyDoKU3kxi5+9RJTCWlj4FjYXVPEA==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-B5BOmojNtUyN8AXlK0QJyvjEZkWwy/FKvakkTDCziX95AowLZKR6aCDhG7LeF7uMCXEJqwa8Bejz5LTPYm8AvA==}
- engines: {node: '>=18'}
- cpu: [riscv64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-3Emwh0r5wmfm3ssTWRQSyVhbOHvqegUDRd0WhmXKX2mkHJe1SFCMJhagUleMq+Uci34wLSipf8Lagt4LlpRFWQ==}
engines: {node: '>=18'}
cpu: [riscv64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-p4bm9+wsPwup5Z8f4EpfN63qNagQ47Ua2znaqGH6bqLlmJ4bx97Y9JdqxgGZ6Y8xVTixUnEkoKSHcpRlDnNr5w==}
- engines: {node: '>=18'}
- cpu: [s390x]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-pBHUx9LzXWBc7MFIEEL0yD/ZVtNgLytvx60gES28GcWMqil8ElCYR4kvbV2BDqsHOvVDRrOxGySBM9Fcv744hw==}
engines: {node: '>=18'}
cpu: [s390x]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-uwp2Tip5aPmH+NRUwTcfLb+W32WXjpFejTIOWZFw/v7/KnpCDKG66u4DLcurQpiYTiYwQ9B7KOeMJvLCu/OvbA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-Czi8yzXUWIQYAtL/2y6vogER8pvcsOsk5cpwL4Gk5nJqH5UZiVByIY8Eorm5R13gq+DQKYg0+JyQoytLQas4dA==}
engines: {node: '>=18'}
cpu: [x64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [netbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-sDpk0RgmTCR/5HguIZa9n9u+HVKf40fbEUt+iTzSnCaGvY9kFP0YKBWZtJaraonFnqef5SlJ8/TiPAxzyS+UoA==}
engines: {node: '>=18'}
cpu: [arm64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-HwGDZ0VLVBY3Y+Nw0JexZy9o/nUAWq9MlV7cahpaXKW6TOzfVno3y3/M8Ga8u8Yr7GldLOov27xiCnqRZf0tCA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [netbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-P14lFKJl/DdaE00LItAukUdZO5iqNH7+PjoBm+fLQjtxfcfFE20Xf5CrLsmZdq5LFFZzb5JMZ9grUwvtVYzjiA==}
engines: {node: '>=18'}
cpu: [x64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-AIcMP77AvirGbRl/UZFTq5hjXK+2wC7qFRGoHSDrZ5v5b8DK/GYpXW3CPRL53NkvDqb9D+alBiC/dV0Fb7eJcw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-/it7w9Nb7+0KFIzjalNJVR5bOzA9Vay+yIPLVHfIQYG/j+j9VTH84aNB8ExGKPU4AzfaEvN9/V4HV+F+vo8OEg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-DnW2sRrBzA+YnE70LKqnM3P+z8vehfJWHXECbwBmH/CU51z6FiqTQTHFenPlHmo3a8UgpLyH3PT+87OViOh1AQ==}
engines: {node: '>=18'}
cpu: [x64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openharmony]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-NinAEgr/etERPTsZJ7aEZQvvg/A6IsZG/LgZy+81wON2huV7SrK3e63dU0XhyZP4RKGyTm7aOgmQk0bGp0fy2g==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openharmony]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [sunos]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-PanZ+nEz+eWoBJ8/f8HKxTTD172SKwdXebZ0ndd953gt1HRBbhMsaNqjTyYLGLPdoWHy4zLU7bDVJztF5f3BHA==}
engines: {node: '>=18'}
cpu: [x64]
os: [sunos]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-B2t59lWWYrbRDw/tjiWOuzSsFh1Y/E95ofKz7rIVYSQkUYBjfSgf6oeYPNWHToFRr2zx52JKApIcAS/D5TUBnA==}
engines: {node: '>=18'}
cpu: [arm64]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-Iuws0kxo4yusk7sw70Xa2E2imZU5HoixzxfGCdxwBdhiDgt9vX9VUCBhqcwY7/uh//78A1hMkkROMJq9l27oLQ==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-QLKSFeXNS8+tHW7tZpMtjlNb7HKau0QDpwm49u0vUp9y1WOF+PEzkU84y9GqYaAVW8aH8f3GcBck26jh54cX4Q==}
engines: {node: '>=18'}
cpu: [ia32]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-sRdU18mcKf7F+YgheI/zGf5alZatMUTKj/jNS6l744f9u3WFu4v7twcUI9vu4mknF4Y9aDlblIie0IM+5xxaqQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-4uJGhsxuptu3OcpVAzli+/gWusVGwZZHTlS63hh++ehExkVT8SgiEf7/uC/PclrPPkLhZqGgCTjd0VWLo6xMqA==}
engines: {node: '>=18'}
@@ -4682,18 +4342,8 @@ packages:
'@types/react': 19.2.14
react: 19.2.4
- '@microsoft/[email protected]':
- resolution: {integrity: sha512-znmFn69wf/AIrwHya3fxX6uB5etSIn6vg4Q4RB/tb5VDDs1rqREc+AvMC/p19MUN13CZ7+V/8pkYPTj7q8tftg==}
-
- '@microsoft/[email protected]':
- resolution: {integrity: sha512-YLdPS644MfbLJt4hArP1WcldcaEUBh9wnFjcLEcQnVG0AMznbLh2sdE0F5Wr+w6+Lyp5/XUPvRAg3sYGSP3GCw==}
- hasBin: true
-
- '@microsoft/[email protected]':
- resolution: {integrity: sha512-UtjIFe0C6oYgTnad4q1QP4qXwLhe6tIpNTRStJ2RZEPIkqQPREAwE5spzVxsdn9UaEMUqhh0AqSx3X4nWAKXWw==}
-
- '@microsoft/[email protected]':
- resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==}
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==}
'@neoconfetti/[email protected]':
resolution: {integrity: sha512-klcSooChXXOzIm+SE5IISIAn3bYzYfPjbX7D7HoqZL84oAfgREeSg5vSIaSFH+DaGzzvImTyWe1OyrJ67vik4A==}
@@ -4769,6 +4419,13 @@ packages:
resolution: {integrity: sha512-XRO0zi2NIUKq2lUk3T1ecFSld1fMWRKE6naRFGkgkdeosx7IslyUKNv5Dcb5PJTja9tHJoFu0v/7yEpAkrkrTg==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-Rg8Wlt5dCbXhQnsXPrkOjL1DTSvXLgb2R/KYfnf1/K+R0k6UMLEmbQXPM+kwrWqSmWA2t0B1EtHy2/3zikQpvQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-4n91DKnebUS4yjUHl2g3/b2T+IUdCfmoZGhmwsovZCDaJSs+QkVAM+0AqqTxHSsHfeiMuueT75cZaZcT/m0pSw==}
+
resolution: {integrity: sha512-BaRKlM3DyG81y/xWTsE6gZiv89F/3pHe2BqX2H4JbiB8HNVlWWtplzgATAE5IDSdwChdeuWLDTQzJ92Lglw3ZA==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -4999,6 +4656,9 @@ packages:
'@posthog/[email protected]':
resolution: {integrity: sha512-zTDdda9NuSHrnwSOfFMxX/pyXiycF4jtU1kTr8DL61dHhV+7LF6XF1ndRZZTuaGGbfbb/GJYkEsjEX9SXfNZeQ==}
+ '@quansync/[email protected]':
+ resolution: {integrity: sha512-4TJ3DFtlf1L5LDMaM6CanJ/0lckGNtJcMjQ1NAV6zDmA0tEHKZtxNKin8EgPaVX1YzljbxckyT2tJrpQKAtngQ==}
+
'@radix-ui/[email protected]':
resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}
@@ -5374,53 +5034,136 @@ packages:
peerDependencies:
release-it: ^18.0.0 || ^19.0.0
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-izyXV/v+cHiRfozX62W9htOAvwMo4/bXKDrQ+vom1L1qRuexPock/7VZDAhnpHCLNejd3NJ6hiab+tO0D44Rgw==}
-
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-eybk3TjzzzV97Dlj5c+XrBFW57eTNhzod66y9HrBlzJ6NsCrWCp/2kaPS3K9wJmurBC0Tdw4yPjXKZqlznim3Q==}
-
- '@rollup/[email protected]':
- resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
- peerDependenciesMeta:
- rollup:
- optional: true
-
- '@rollup/[email protected]':
- resolution: {integrity: sha512-9R0DM/ykwfGIlNu6+2U09ga0WXeZ9MRC2Ter8jnz8415VbuIykVuc6bhdrbORFZANDmTDvq26mJrEVTl8TdnDg==}
- cpu: [arm]
- os: [android]
-
- '@rollup/[email protected]':
- resolution: {integrity: sha512-eFZCb1YUqhTysgW3sj/55du5cG57S7UTNtdMjCW7LwVcj3dTTcowCsC8p7uBdzKsZYa8J7IDE8lhMI+HX1vQvg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-lcJL0bN5hpgJfSIz/8PIf02irmyL43P+j1pTCfbD1DbLkmGRuFIA4DD3B3ZOvGqG0XiVvRznbKtN0COQVaKUTg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [android]
- '@rollup/[email protected]':
- resolution: {integrity: sha512-p3grE2PHcQm2e8PSGZdzIhCKbMCw/xi9XvMPErPhwO17vxtvCN5FEA2mSLgmKlCjHGMQTP6phuQTYWUnKewwGg==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-J7Zk3kLYFsLtuH6U+F4pS2sYVzac0qkjcO5QxHS7OS7yZu2LRs+IXo+uvJ/mvpyUljDJ3LROZPoQfgBIpCMhdQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [darwin]
- '@rollup/[email protected]':
- resolution: {integrity: sha512-rDUjG25C9qoTm+e02Esi+aqTKSBYwVTaoS1wxcN47/Luqef57Vgp96xNANwt5npq9GDxsH7kXxNkJVEsWEOEaQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-iwtmmghy8nhfRGeNAIltcNXzD0QMNaaA5U/NyZc1Ia4bxrzFByNMDoppoC+hl7cDiUq5/1CnFthpT9n+UtfFyg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [darwin]
- '@rollup/[email protected]':
- resolution: {integrity: sha512-+JiU7Jbp5cdxekIgdte0jfcu5oqw4GCKr6i3PJTlXTCU5H5Fvtkpbs4XJHRmWNXF+hKmn4v7ogI5OQPaupJgOg==}
- cpu: [arm64]
- os: [freebsd]
-
- '@rollup/[email protected]':
- resolution: {integrity: sha512-V5xC1tOVWtLLmr3YUk2f6EJK4qksksOYiz/TCsFHu/R+woubcLWdC9nZQmwjOAbmExBIVKsm1/wKmEy4z4u4Bw==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-DLFYI78SCiZr5VvdEplsVC2Vx53lnA4/Ga5C65iyldMVaErr86aiqCoNBLl92PXPfDtUYjUh+xFFor40ueNs4Q==}
+ engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [freebsd]
- '@rollup/[email protected]':
- resolution: {integrity: sha512-Rn3n+FUk2J5VWx+ywrG/HGPTD9jXNbicRtTM11e/uorplArnXZYsVifnPPqNNP5BsO3roI4n8332ukpY/zN7rQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-CsjTmTwd0Hri6iTw/DRMK7kOZ7FwAkrO4h8YWKoX/kcj833e4coqo2wzIFywtch/8Eb5enQ/lwLM7w6JX1W5RQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [linux]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-2x9O2JbSPxpxMDhP9Z74mahAStibTlrBMW0520+epJH5sac7/LwZW5Bmg/E6CXuEF53JJFW509uP+lSedaUNxg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-JA1QRW31ogheAIRhIg9tjMfsYbglXXYGNPLdPEYrwFxdbkQCAzvpSCSHCDWNl4hTtrol8WeboCSEpjdZK8qrCg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-aOKU9dJheda8Kj8Y3w9gnt9QFOO+qKPAl8SWd7JPHP+Cu0EuDAE5wokQubLzIDQWg2myXq2XhTpOVS07qqvT+w==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-OalO94fqj7IWRn3VdXWty75jC5dk4C197AWEuMhIpvVv2lw9fiPhud0+bW2ctCxb3YoBZor71QHbY+9/WToadA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [s390x]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-cVEl1vZtBsBZna3YMjGXNvnYYrOJ7RzuWvZU0ffvJUexWkukMaDuGhUXn0rjnV0ptzGVkvc+vW9Yqy6h8YX4pg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-UzYnKCIIc4heAKgI4PZ3dfBGUZefGCJ1TPDuLHoCzgrMYPb5Rv6TLFuYtyM4rWyHM7hymNdsg5ik2C+UD9VDbA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-+6zoiF+RRyf5cdlFQP7nm58mq7+/2PFaY2DNQeD4B87N36JzfF/l9mdBkkmTvSYcYPE8tMh/o3cRlsx1ldLfog==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [openharmony]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-rgFN6sA/dyebil3YTlL2evvi/M+ivhfnyxec7AccTpRPccno/rPoNlqybEZQBkcbZu8Hy+eqNJCqfBR8P7Pg8g==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-lHVNUG/8nlF1IQk1C0Ci574qKYyty2goMiPlRqkC5R+3LkXDkL5Dhx8ytbxq35m+pkHVIvIxviD+TWLdfeuadA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [win32]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-G0oA4+w1iY5AGi5HcDTxWsoxF509hrFIPB2rduV5aDqS9FtDg1CAfa7V34qImbjfhIcA8C+RekocJZA96EarwQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [win32]
+
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-w6oiRWgEBl04QkFZgmW+jnU1EC9b57Oihi2ot3HNWIQRqgHp5PnYDia5iZ5FF7rpa4EQdiqMDXjlqKGXBhsoXw==}
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-9R0DM/ykwfGIlNu6+2U09ga0WXeZ9MRC2Ter8jnz8415VbuIykVuc6bhdrbORFZANDmTDvq26mJrEVTl8TdnDg==}
+ cpu: [arm]
+ os: [android]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-eFZCb1YUqhTysgW3sj/55du5cG57S7UTNtdMjCW7LwVcj3dTTcowCsC8p7uBdzKsZYa8J7IDE8lhMI+HX1vQvg==}
+ cpu: [arm64]
+ os: [android]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-p3grE2PHcQm2e8PSGZdzIhCKbMCw/xi9XvMPErPhwO17vxtvCN5FEA2mSLgmKlCjHGMQTP6phuQTYWUnKewwGg==}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-rDUjG25C9qoTm+e02Esi+aqTKSBYwVTaoS1wxcN47/Luqef57Vgp96xNANwt5npq9GDxsH7kXxNkJVEsWEOEaQ==}
+ cpu: [x64]
+ os: [darwin]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-+JiU7Jbp5cdxekIgdte0jfcu5oqw4GCKr6i3PJTlXTCU5H5Fvtkpbs4XJHRmWNXF+hKmn4v7ogI5OQPaupJgOg==}
+ cpu: [arm64]
+ os: [freebsd]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-V5xC1tOVWtLLmr3YUk2f6EJK4qksksOYiz/TCsFHu/R+woubcLWdC9nZQmwjOAbmExBIVKsm1/wKmEy4z4u4Bw==}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-Rn3n+FUk2J5VWx+ywrG/HGPTD9jXNbicRtTM11e/uorplArnXZYsVifnPPqNNP5BsO3roI4n8332ukpY/zN7rQ==}
cpu: [arm]
os: [linux]
libc: [glibc]
@@ -5527,28 +5270,6 @@ packages:
cpu: [x64]
os: [win32]
- '@rushstack/[email protected]':
- resolution: {integrity: sha512-5yXhzPFGEkVc9Fu92wsNJ9jlvdwz4RNb2bMso+/+TH0nMm1jDDDsOIf4l8GAkPxGuwPw5DH24RliWVfSPhlW/Q==}
- peerDependencies:
- '@types/node': '*'
- peerDependenciesMeta:
- '@types/node':
- optional: true
-
- '@rushstack/[email protected]':
- resolution: {integrity: sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow==}
-
- '@rushstack/[email protected]':
- resolution: {integrity: sha512-DGJ0B2Vm69468kZCJkPj3AH5nN+nR9SPmC0rFHtzsS4lBQ7/dgOwtwVxYP7W9JPDMuRBkJ4KHmWKr036eJsj9g==}
- peerDependencies:
- '@types/node': '*'
- peerDependenciesMeta:
- '@types/node':
- optional: true
-
- '@rushstack/[email protected]':
- resolution: {integrity: sha512-bsbUucn41UXrQK7wgM8CNM/jagBytEyJqXw/umtI8d68vFm1Jwxh1OtLrlW7uGZgjCWiiPH6ooUNa1aVsuVr3Q==}
-
'@simple-libs/[email protected]':
resolution: {integrity: sha512-3nWd8irxvDI6v856wpPCHZ+08iQR0oHTZfzAZmnbsLzf+Sf1odraP6uKOHDZToXq3RPRV/LbqGVlSCogm9cJjg==}
engines: {node: '>=18'}
@@ -5798,8 +5519,27 @@ packages:
'@tootallnate/[email protected]':
resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==}
+ '@tsdown/[email protected]':
+ resolution: {integrity: sha512-Q1hJZ7L3oZsK8pTZw1uD6+jkXOivXiqiME6gu3Q5P28ef+Gh5odeq3tUDJ6E44P7zlfW9QqzvQ4820z6uvI8ZA==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ postcss: ^8.4.0
+ postcss-import: ^16.0.0
+ sass: '*'
+ sass-embedded: '*'
+ tsdown: 0.21.2
+ peerDependenciesMeta:
+ postcss:
+ optional: true
+ postcss-import:
+ optional: true
+ sass:
+ optional: true
+ sass-embedded:
+ optional: true
+
+ '@tybys/[email protected]':
+ resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==}
resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==}
@@ -5840,9 +5580,6 @@ packages:
resolution: {integrity: sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==}
- '@types/[email protected]':
- resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==}
-
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
@@ -5852,6 +5589,9 @@ packages:
resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw==}
+
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
@@ -6034,23 +5774,10 @@ packages:
resolution: {integrity: sha512-oYWiJbWRQ7gz9Mj0X/NHFJ3OcLMOBzq/2b3j6zeNrQmtFo6dHwU8FAwNpxVIYddVMd+g8eqEi7iRueYx8FtM0Q==}
engines: {node: '>=20.0.0'}
- '@vitejs/[email protected]':
- resolution: {integrity: sha512-VIcFLdRi/VYRU8OL/puL7QXMYafHmqOnwTZY50U1JPlCNj30PxCMx65c494b1K9be9hX83KVt0+gTEwTWLqToA==}
- engines: {node: ^20.19.0 || >=22.12.0}
- peerDependencies:
- vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
-
- '@vitejs/[email protected]':
- resolution: {integrity: sha512-uM5iXipgYIn13UUQCZNdWkYk+sysBeA97d5mHsAoAt1u/wpN3+zxOmsVJWosuzX+IMGRzeYUNytztrYznboIkQ==}
- engines: {node: ^20.19.0 || >=22.12.0}
- peerDependencies:
- vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
- vue: ^3.2.25
-
- '@vitest/[email protected]':
- resolution: {integrity: sha512-0OhjP30owEDihYTZGWuq20rNtV1RjjJs1Mv4MaZIKcFBmiLUXX7HJLX4fU7wE+Mrc3lQxI2HKq6WrSXi5FGuCQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-0+67gA94YToxd+Pc3XgIA/2c8HN2hXNSg3T+1FI4HW7W/2gPitYCtktsY6Ke7vrt5caboMq3TUf0/vwbHRb0og==}
peerDependencies:
- vitest: 4.0.18
+ vitest: 4.1.0
'@vitest/[email protected]':
resolution: {integrity: sha512-9WfPx1OwJ19QLCSRLkqVO7//1WcWnK3fE/3fJhKMAmDe8+9G4rB47xCNIIeCq3FdEzkIoLTfDlwDlPBaUTMhow==}
@@ -6068,14 +5795,14 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-HhVd0MDnzzsgevnOWCBj5Otnzobjy5wLBe4EdeeFGv8luMsGcYqDuFRMcttKWZA5vVO8RFjexVovXvAM4JoJDQ==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw==}
peerDependencies:
msw: ^2.4.9
- vite: ^6.0.0 || ^7.0.0-0
+ vite: ^6.0.0 || ^7.0.0 || ^8.0.0-0
peerDependenciesMeta:
msw:
optional: true
@@ -6085,85 +5812,97 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-P24GK3GulZWC5tz87ux0m8OADrQIUVDPIjjj65vBXYG17ZeU3qD7r+MNZ1RNv4l8CGU2vtTRqixrOi9fYk/yKw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg==}
'@vitest/[email protected]':
resolution: {integrity: sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw==}
'@vitest/[email protected]':
resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-msMRKLMVLWygpK3u2Hybgi4MNjcYJvwTb0Ru09+fOyCXIgT5raYP041DRRdiJiI3k/2U6SEbAETB3YtBrUkCFA==}
-
- '@volar/[email protected]':
- resolution: {integrity: sha512-MnQJ7eKchJx5Oz+YdbqyFUk8BN6jasdJv31n/7r6/WwlOOv7qzvot6B66887l2ST3bUW4Mewml54euzpJWA6bg==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-l/EBcc2FkvHgz2ZxV+OZK3kMSroMr7nN3sZLF2/f6kWW66q8+tEL4giiYyFjt0BcubqJhBt6soYIrAPhg/Yr+Q==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ==}
- '@volar/[email protected]':
- resolution: {integrity: sha512-Ukz4xv84swJPupZeoFsQoeJEOm7U9pqsEnaGGgt5ni3SCTa22m8oJP5Nng3Wed7Uw5RBELdLxxORX8YhJPyOgQ==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-yX2BDBqJkRXfKw8my8VarTyjv48QwxdJtvRgUpNE5erCsgEUdI2DsLbpa+rOQVAJYshY99szEcRDmyHbF10ggQ==}
- resolution: {integrity: sha512-vXyI5GMfuoBCnv5ucIT7jhHKl55Y477yxP6fc4eUswjP8FG3FFVFd41eNDArR+Uk3QKn2Z85NavjaxLxOC19/w==}
+ '@volar/[email protected]':
+ resolution: {integrity: sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw==}
resolution: {integrity: sha512-cuzPhD8fwRHk8IGfmYaR4eEe4cAyJEL66Ove/WZL7yWNL134nqLddSLwNRIsFlnnW1kK+p8Ck3viFnC0chXCXw==}
- resolution: {integrity: sha512-y1Tcd3eXs834QjswshSilCBnKGeQjQXB6PqFn/1nxcQw4pmG42G8lwz+FZPAZAby6gZeHSt/8LMPfZ4Rb+Bd/A==}
+ resolution: {integrity: sha512-s3DfdZkcu/qExZ+td75015ljzHc6vE+30cFMGRPROYjqkroYI5NV2X1yAMX9UeyBNWB9MxCfPcsjpLS11nzkkw==}
resolution: {integrity: sha512-n0G5o7R3uBVmVxjTIYcz7ovr8sy7QObFG8OQJ3xGCDNhbG60biP/P5KnyY8NLd81OuT1WJflG7N4KWYHaeeaIg==}
+ resolution: {integrity: sha512-eCFYESUEVYHhiMuK4SQTldO3RYxyMR/UQL4KdGD1Yrkfdx4m/HYuZ9jSfPdA+nWJY34VWndiYdW/wZXyiPEB9g==}
+
resolution: {integrity: sha512-oJZhN5XJs35Gzr50E82jg2cYdZQ78wEwvRO6Y63TvLVTc+6xICzJHP1UIecdSPPYIbkautNBanDiWYa64QSFIA==}
+ resolution: {integrity: sha512-LqmFPDn89dtU9vI3wHJnwaV6GfTRD87AjWpTWpyrdVOObVtjIuSeZr181z5C4PmVx/V3j2p+0f7edFKGRMpQ5A==}
+
resolution: {integrity: sha512-Y/ARJZE6fpjzL5GH/phJmsFwx3g6t2KmHKHx5q+MLl2kencADKIrhH5MLF6HHpRMmlRAYBRSvv347Mepf1zVNw==}
- resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==}
+ resolution: {integrity: sha512-NsYK6OMTnx109PSL2IAyf62JP6EUdk4Dmj6AkWcJGBvN0dQoMYtVekAmdqgTtWQgEJo+Okstbf/1p7qZr5H+bA==}
- resolution: {integrity: sha512-O1ZZFaaBGkKbsRfnVH1ifOK1/1BUkyK+3SQsfnh6PmMmD4qJcTU8godCeA96jjDRTL6zgnK7YzCHfaUlH2r0Mw==}
- peerDependencies:
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
+ resolution: {integrity: sha512-d3OIxN/+KRedeM5wQ6H6NIpwS3P5gC9nmyaHgBk+rO6dIsjY+tOh4UlPpiZbAh3YtLdCGEX4M16RmsBqPmJV+g==}
resolution: {integrity: sha512-zcrANcrRdcLtmGZETBxWqIkoQei8HaFpZWx/GHKxx79JZsiZ8j1du0VUJtu4eJjgFvU/iKL5lRXFXksVmI+5DA==}
+ resolution: {integrity: sha512-179YNgKATuwj9gB+66snskRDOitDiuOZqkYia7mHKJaidOMo/WJxHKF8DuGc4V4XbYTJANlfEKb0yxTQotnx4Q==}
+
resolution: {integrity: sha512-8DpW2QfdwIWOLqtsNcds4s+QgwSaHSJY/SUe04LptianUQ/0xi6KVsu/pYVh+HO3NTVvVJjIPL2t6GdeKbS4Lg==}
+ resolution: {integrity: sha512-e0Z+8PQsUTdwV8TtEsLzUM7SzC7lQwYKePydb7K2ZnmS6jjND+WJXkmmfh/swYzRyfP1EY3fpdesyYoymCzYfg==}
+
resolution: {integrity: sha512-AHvvJEtcY9tw/uk+s/YRLSlxxQnqnAkjqvK25ZiM4CllCZWzElRAoQnCM42m9AHRLNJ6oe2kC5DCgD4AUdlvXg==}
+ resolution: {integrity: sha512-2UIGakjU4WSQ0T4iwDEW0W7vQj6n7AFn7taqZ9Cvm0Q/RA2FFOziLESrDL4GmtI1wV3jXg5nMoJSYO66egDUBw==}
+
resolution: {integrity: sha512-G/1k6WK5MusLlbxSE2YTcqAAezS+VuwHhOvLx2KnQU7G2zCH6KIb+5Wyt6UjMq7a3qPzNEjJXs1hvAxDclQH+g==}
peerDependencies:
vue: 3.5.29
- resolution: {integrity: sha512-7Z6/y3uFI5PRoKeorTOSXKcDj0MSasfNNltcslbFrPpcw6aXRUALq4IfJlaTRspiWIUOEZbrpM+iQGmCOiWe4A==}
+ resolution: {integrity: sha512-v+R34icapydRwbZRD0sXwtHqrQJv38JuMB4JxbOxd8NEpGLny7cncMp53W9UH/zo4j8eDHjQ1dEJXwzFQknjtQ==}
+ peerDependencies:
+ vue: 3.5.30
resolution: {integrity: sha512-w7SR0A5zyRByL9XUkCfdLs7t9XOHUyJ67qPGQjOou3p6GvBeBW+AVjUUmlxtZ4PIYaRvE+1LmK44O4uajlZwcg==}
+ resolution: {integrity: sha512-YXgQ7JjaO18NeK2K9VTbDHaFy62WrObMa6XERNfNOkAhD1F1oDSf3ZJ7K6GqabZ0BvSDHajp8qfS5Sa2I9n8uQ==}
+
'@webassemblyjs/[email protected]':
resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}
@@ -6263,14 +6002,6 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==}
- peerDependencies:
- ajv: ^8.5.0
- peerDependenciesMeta:
- ajv:
- optional: true
-
resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
peerDependencies:
@@ -6303,17 +6034,11 @@ packages:
resolution: {integrity: sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==}
- resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==}
-
- resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==}
-
resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==}
- resolution: {integrity: sha512-itUAVzhczTmP2U5yX67xVpsbbOiquusbWVyA9N+sy6+r6YVbFkahXvNCeEPWEOMhwDYwbVbGHFkVL03N9I5g+Q==}
+ resolution: {integrity: sha512-d9dYqZTS90WLiU0I5c6DHj/HcKkF8ZyGN3G5x8wSbslulz70KOxaqCT0hQCo9KOyhVqzqGojvNdJXoTumZOtcw==}
resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==}
@@ -6368,9 +6093,6 @@ packages:
resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
- resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
-
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
@@ -6435,6 +6157,10 @@ packages:
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-trmleAnZ2PxN/loHWVhhx1qeOHSRXq4TDsBBxq3GqeJitfk3+jTQ+v/C1km/KYq9M7wKqCewMh+/NAvVH7m+bw==}
+ engines: {node: '>=20.19.0'}
+
resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==}
engines: {node: '>=4'}
@@ -6474,9 +6200,6 @@ packages:
resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==}
engines: {node: 18 || 20 || >=22}
- resolution: {integrity: sha512-FK1tHOB+rXvlBcGYYhSNR2QS2juEG4SZ1ekXQRQ2XscYNtDxllzqkzfgBFr12EVrKb2/07NLdbr0cSwVoc378A==}
-
resolution: {integrity: sha512-ZCQ9GEWl73BVm8bu5Fts8nt7MHdbt5vY9bP6WGnUh+r3l8M7CgfyTlwsgCbMC66BNxPr6Xoce3j66Ms5YUQTNA==}
hasBin: true
@@ -6498,11 +6221,8 @@ packages:
resolution: {integrity: sha512-VUpsf/qykW0heRlC8LooCq28Kxn3mAqKohhDG/49rrsQ1dT1CXyj/pgXS+5BSRzFTR/3DyIBOqQOrGyZOh71Aw==}
- resolution: {integrity: sha512-MdwOI17J8iOC2XKi5b4VagAJg308R4QesRoCAPw/w7ihzwkTst91LvkTAF3GvPJCEaHXptiUS2UsFkCNiBIEGg==}
-
- resolution: {integrity: sha512-ftNcGiVW2nxzG0WJ8Hcs58CbygPl2vMuLDDSxsfhGZmVl2NFGmZOuXhDDeJifvWmP0FHzP/L8dblxn65eQjgEA==}
+ resolution: {integrity: sha512-LShSxJP0KTmd101b6DRyGBj57LZxSDYWKitQNW/mi8GRMvZb078Uf9+pveax1DrVL89vm7mWe+TovdI/UDOuPw==}
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
@@ -6991,10 +6711,6 @@ packages:
resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
- resolution: {integrity: sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==}
- engines: {node: '>=12'}
-
resolution: {integrity: sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==}
engines: {node: '>= 14'}
@@ -7015,15 +6731,9 @@ packages:
resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-QGLawF3lq5NOqJ5+pIgvrmE1jL8W9iwwHPAdKyV6gydtmDPngty+87YpSpzMPk9lAMnBIXcf57OKSDEjfuyRyw==}
-
resolution: {integrity: sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==}
- resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==}
-
resolution: {integrity: sha512-rBMW+F2TXryBwB54Q0d8drNEI+TfoS9JpNTAoVpukbWEhjXQq4rySFYLaqXMFXwdv61Zb2OHtj5bviSoimqxRQ==}
engines: {node: '>=18'}
@@ -7134,6 +6844,10 @@ packages:
engines: {node: '>=0.10'}
hasBin: true
+ resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==}
engines: {node: '>=8'}
@@ -7222,6 +6936,15 @@ packages:
resolution: {integrity: sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-bihc7jPC90VrosXNzK0LTE2cuLP6jr0Ro8jk+kMugHReJVLIpHz/xadeq3MhuwyO4TD4OA3L1Q8pBBFRc08Tsw==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ oxc-resolver: '>=11.0.0'
+ peerDependenciesMeta:
+ oxc-resolver:
+ optional: true
+
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
engines: {node: '>= 0.4'}
@@ -7269,10 +6992,6 @@ packages:
resolution: {integrity: sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw==}
engines: {node: '>=0.12'}
- resolution: {integrity: sha512-FDWG5cmEYf2Z00IkYRhbFrwIwvdFKH07uV8dvNy0omp/Qb1xcyCWp2UDtcwJF4QZZvk0sLudP6/hAu42TaqVhQ==}
- engines: {node: '>=0.12'}
-
resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==}
engines: {node: '>=0.12'}
@@ -7311,6 +7030,9 @@ packages:
resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==}
+ resolution: {integrity: sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==}
+
resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
engines: {node: '>= 0.4'}
@@ -7361,11 +7083,6 @@ packages:
resolution: {integrity: sha512-XPEKf4FjLjEVLv/dJH4UxDzXCrFHYpD93DBO8B+izdZARW5b7nNKQbnKv3J+7VDWJbgCU+hzfgIh2AuIZzlmXQ==}
- resolution: {integrity: sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==}
- engines: {node: '>=18'}
- hasBin: true
-
resolution: {integrity: sha512-8VwMnyGCONIs6cWue2IdpHxHnAjzxnw2Zr7MkVxB2vjmQ2ivqGFb4LEG3SMnv0Gb2F/G/2yA8zUaiL1gywDCCg==}
engines: {node: '>=18'}
@@ -7744,9 +7461,6 @@ packages:
resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==}
engines: {node: '>=12.0.0'}
- resolution: {integrity: sha512-pz5dvkYYKQ1AHVrgOzBKWeP4u4FRb3a6DNK2ucr0OoNwYIU4QWsJ+NM36LLzORT+z845MzKHHhpXiUF5nvQoJg==}
-
resolution: {integrity: sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA==}
@@ -7793,11 +7507,6 @@ packages:
picomatch:
optional: true
- resolution: {integrity: sha512-kEC3Sme+YvA8Hkibv0NR1oClGcWia0VB2fC1SlMy027cwe795Xx40Xiv/nw/iFAwQLupymWh+uhAAErn/7hwPg==}
- engines: {node: '>= 0.4.0'}
- hasBin: true
-
resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
engines: {node: '>=16.0.0'}
@@ -7946,6 +7655,9 @@ packages:
resolution: {integrity: sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==}
+ resolution: {integrity: sha512-shZT/QMiSHc/YBLxxOkMtgSid5HFoauqCE3/exfsEcwg1WkeqjG+V40yBbBrsD+jW2HDXcs28xOfcbm2jI8Ddw==}
+
resolution: {integrity: sha512-b1O07XYq8eRuVzBNgJLstU6FYc1tS6wnMtF1I1D9lE8LxZSOGZ7LhxN54yPP6mGw5f2CkXY2BQUL9Fx41qvcIg==}
engines: {node: '>= 14'}
@@ -7954,10 +7666,9 @@ packages:
resolution: {integrity: sha512-L5bGsVkxJbJgdnwyuheIunkGatUF/zssUoxxjACCseZYAVbaqdh9Tsmmlkl8vYan09H7sbvKt4pS8GqKLBrEzA==}
hasBin: true
- resolution: {integrity: sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==}
- engines: {node: '>=16'}
- deprecated: This package is no longer maintained. For the JavaScript API, please use @conventional-changelog/git-client instead.
+ resolution: {integrity: sha512-Y+csSm2GD/PCSh6Isd/WiMjNAydu0VBiG9J7EdQsNA5P9uXvLayqjmTsNlK5Gs9IhblFZqOU0yid5Il5JPoLiQ==}
+ engines: {node: '>=18'}
hasBin: true
@@ -8075,6 +7786,9 @@ packages:
resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
+ resolution: {integrity: sha512-uKGyY8BuzN/a5gvzvA+3FVWo0+wUjgtfSdnmjtrOVwQCZPHpHDH2WRO3VZSOeluYrHoDCiXFffZXs8Dj1ULWtw==}
+
resolution: {integrity: sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==}
engines: {node: ^18.17.0 || >=20.5.0}
@@ -8165,13 +7879,13 @@ packages:
resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==}
+ resolution: {integrity: sha512-B6Lc2s6yApwnD2/pMzFh/d5AVjdsDXjgkeJ766FmFuJELIGHNycKRj+l3A39yZPM4CchqNCB4RITEAYB1KUM6A==}
+ engines: {node: '>=20.19.0'}
+
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
engines: {node: '>=0.8.19'}
@@ -8418,9 +8132,6 @@ packages:
resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-120PeT8LdXO7m503rQtOapWA7lHBtWErN+asRxKyxF/SFGeqLEAZhlItjNynNVABHteRMSjomQCdAnxEJldMMQ==}
-
resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==}
engines: {node: '>=8'}
@@ -8443,10 +8154,6 @@ packages:
resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==}
engines: {node: '>=10'}
@@ -8482,9 +8189,6 @@ packages:
resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
hasBin: true
- resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==}
-
resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==}
engines: {node: '>= 0.8'}
@@ -8566,9 +8270,6 @@ packages:
resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==}
-
resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==}
engines: {node: '>= 0.8.0'}
@@ -8583,6 +8284,80 @@ packages:
resolution: {integrity: sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==}
+ resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
+ engines: {node: '>= 12.0.0'}
+
resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
engines: {node: '>=14'}
@@ -8616,10 +8391,6 @@ packages:
resolution: {integrity: sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==}
engines: {node: '>= 12.13.0'}
- resolution: {integrity: sha512-WunYko2W1NcdfAFpuLUoucsgULmgDBRkdxHxWQ7mK0cQqwPiy8E1enjuRBrhLtZkB5iScJ1XIPdhVEFK8aOLSg==}
- engines: {node: '>=14'}
-
resolution: {integrity: sha512-arhlxbFRmoQHl33a0Zkle/YWlmNwoyt6QNZEIJcqNbdrsix5Lvc4HyyI3EnwxTYlZYc32EbYrQ8SzEZ7dqgg9A==}
engines: {node: '>=14'}
@@ -8708,10 +8479,6 @@ packages:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
- resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
- engines: {node: '>=10'}
-
resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==}
engines: {node: '>=12'}
@@ -8724,14 +8491,11 @@ packages:
resolution: {integrity: sha512-wpGPwyg/xrSp4H4Db4xYSeAr6+cFQGHfspHzDUdYxswDnUW0L5Ov63UuJiSr8NMSpyaChO4u1n0MXUvVPtrN6A==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
- resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
-
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
- resolution: {integrity: sha512-xrHS24IxaLrvuo613F719wvOIv9xPHFWQHuvGUBmPnCA/3MQxKI3b+r7n1jAoDHmsbC5bRhTZYR77invLAxVnw==}
+ resolution: {integrity: sha512-E3ZJh4J3S9KfwdjZhe2afj6R9lGIN5Pher1pF39UGrXRqq/VDaGVIGN13BjHd2u8B61hArAGOnso7nBOouW3TQ==}
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
@@ -8806,10 +8570,6 @@ packages:
resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==}
engines: {node: '>= 4.0.0'}
- resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==}
- engines: {node: '>=16.10'}
-
resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==}
engines: {node: '>=18'}
@@ -8960,9 +8720,6 @@ packages:
resolution: {integrity: sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==}
engines: {node: 18 || 20 || >=22}
- resolution: {integrity: sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==}
-
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
@@ -9344,10 +9101,6 @@ packages:
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
engines: {node: '>=8.6'}
- resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
- engines: {node: '>=12'}
-
resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
engines: {node: '>=12'}
@@ -9367,9 +9120,6 @@ packages:
resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}
- resolution: {integrity: sha512-wmJwA+8ihJixSoHKxZJRBQG1oY8Yr9pGLzRmSsNms0iNWyHHAlZCa7mmKiFR10YPZuz/2k169JiS/inOjBCZ2A==}
-
resolution: {integrity: sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==}
@@ -9513,6 +9263,24 @@ packages:
ts-node:
optional: true
+ resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}
+ engines: {node: '>= 18'}
+ peerDependencies:
+ jiti: '>=1.21.0'
+ postcss: '>=8.0.9'
+ tsx: ^4.8.1
+ yaml: ^2.4.2
+ peerDependenciesMeta:
+ jiti:
+ optional: true
+ postcss:
+ optional: true
+ tsx:
+ optional: true
+ yaml:
+ optional: true
+
resolution: {integrity: sha512-k98jtRzthjj3f76MYTs9JTpRqV1RaaMhEU0Lpw9OTmQZQdppg4B30VZ74BojuBHt3F4KyubHJoXCMUeM8Bqeow==}
engines: {node: '>= 18.12.0'}
@@ -9702,12 +9470,12 @@ packages:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==}
-
resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==}
+ resolution: {integrity: sha512-5xZacEEufv3HSTPQuchrvV6soaiACMFnq1H8wkVioctoH3TRha9Sz66lOxRwPK/qZj7HPiSveih9yAyh98gvqA==}
+
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
@@ -9841,10 +9609,6 @@ packages:
peerDependencies:
react: 19.2.4
- resolution: {integrity: sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==}
- engines: {node: '>=0.10.0'}
-
resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}
engines: {node: '>=10'}
@@ -10033,8 +9797,32 @@ packages:
deprecated: Rimraf versions prior to v4 are no longer supported
hasBin: true
- resolution: {integrity: sha512-wDv/Ht1BNHB4upNbK74s9usvl7hObDnvVzknxqY/E/O3X6rW1U1rV1aENEfJ54eFZDTNo7zv1f5N4edCluH7+A==}
+ resolution: {integrity: sha512-M/HXfM4cboo+jONx9Z0X+CUf3B5tCi7ni+kR5fUW50Fp9AlZk0oVLesibGWgCXDKFp5lpgQ9yhKoImUFjl3VZw==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ '@ts-macro/tsc': ^0.3.6
+ '@typescript/native-preview': '>=7.0.0-dev.20250601.1'
+ rolldown: ^1.0.0-rc.3
+ typescript: ^5.0.0 || ^6.0.0-beta
+ vue-tsc: ~3.2.0
+ peerDependenciesMeta:
+ '@ts-macro/tsc':
+ optional: true
+ '@typescript/native-preview':
+ optional: true
+ typescript:
+ optional: true
+ vue-tsc:
+ optional: true
+
+ resolution: {integrity: sha512-9EbgWge7ZH+yqb4d2EnELAntgPTWbfL8ajiTW+SyhJEC4qhBbkCKbqFV4Ge4zmu5ziQuVbWxb/XwLZ+RIO7E8Q==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-wDv/Ht1BNHB4upNbK74s9usvl7hObDnvVzknxqY/E/O3X6rW1U1rV1aENEfJ54eFZDTNo7zv1f5N4edCluH7+A==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
@@ -10101,11 +9889,6 @@ packages:
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true
- resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==}
- engines: {node: '>=10'}
- hasBin: true
-
resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==}
engines: {node: '>=10'}
@@ -10237,18 +10020,11 @@ packages:
resolution: {integrity: sha512-CWLcCCH7VLu13TgOH+r8p1O/Znwhqv/dbb6lqWy67G+pT1kHmeD/+V36AVb/vq8QMIQwVShJ6Ssl5FPh0fuSdw==}
- resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}
- engines: {node: '>= 10.x'}
-
- resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
-
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
- resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==}
+ resolution: {integrity: sha512-zUMPtQ/HBY3/50VbpkupYHbRroTRZJPRLvreamgErJVys0ceuzMkD44J/QjqhHjOzK42GQ3QZIeFG1OYfOtKqQ==}
resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==}
@@ -10364,10 +10140,6 @@ packages:
resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
- engines: {node: '>=8'}
-
resolution: {integrity: sha512-Y0AvSwDw8y+nlSNFXMm2g6L51rBGdAQT20J3YSOqxC53Lo3bjWRtr2BKcfYoAf352WYpsZSTURrA0tqhfgudPA==}
@@ -10496,6 +10268,10 @@ packages:
resolution: {integrity: sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-u9r3uZC0bdpGOXtlxUIdwf9pkmvhqJdrVCH9fapQtgy/OeTTMZ1nqH7agtvEfmGui6e1XxjcdrlxvxJvc3sMqw==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}
engines: {node: '>=12.0.0'}
@@ -10508,8 +10284,8 @@ packages:
resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==}
engines: {node: '>=14.0.0'}
- resolution: {integrity: sha512-PSkbLUoxOFRzJYjjxHJt9xro7D+iilgMX/C9lawzVuYiIdcihh9DXmVibBe8lmcFrRi/VzlPjBxbN7rH24q8/Q==}
+ resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}
engines: {node: '>=14.0.0'}
@@ -10543,6 +10319,10 @@ packages:
resolution: {integrity: sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==}
engines: {node: '>=20'}
+ resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
+ hasBin: true
+
resolution: {integrity: sha512-nfWIXHEaB+HdyslAfMxSqWKDdmqY9I32jS7GnqpdWQnLH89r6A5sdk3fDVYqGAZ0CrT8ovAFSAo6HRiWcWNIGQ==}
@@ -10575,6 +10355,34 @@ packages:
resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-oKKeMC8+IgNsB+81hvF5VBsqhqL/nr0g9vse+ujbK40vv0i3ReFI6gUts7hQH7J53ylQNjMgf2Vu6n0+P/uddA==}
+ engines: {node: '>=20.19.0'}
+ hasBin: true
+ peerDependencies:
+ '@arethetypeswrong/core': ^0.18.1
+ '@tsdown/css': 0.21.3
+ '@tsdown/exe': 0.21.3
+ '@vitejs/devtools': '*'
+ publint: ^0.3.0
+ typescript: ^5.0.0
+ unplugin-unused: ^0.5.0
+ peerDependenciesMeta:
+ '@arethetypeswrong/core':
+ optional: true
+ '@tsdown/css':
+ optional: true
+ '@tsdown/exe':
+ optional: true
+ '@vitejs/devtools':
+ optional: true
+ publint:
+ optional: true
+ typescript:
+ optional: true
+ unplugin-unused:
+ optional: true
+
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
@@ -10583,38 +10391,38 @@ packages:
engines: {node: '>=18.0.0'}
hasBin: true
- resolution: {integrity: sha512-9sFi7n2lLfEsGWi5OEoA/eTtQU2BPKtzSYKqufMtDeRmqMT9vKjbv9gJCRkllSVE9BOXA0qXC3diyX8V8rKIKw==}
+ resolution: {integrity: sha512-ZFkv2hv7zHpAPEXBF6ouRRXshllOavYc+jjcrYyVHvxVTTwJWsBZwJ/gpPzmOKGvkSjsEyDO5V6aqqtZzwVF+Q==}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-aS4yJuy6A1PCLws+PJpZP0qCURG8Y5iVx13z/WAbKyeDTY6W6PiGgcEllSaeLGxyn++382ztN/EZH85n2zZ6VQ==}
+ resolution: {integrity: sha512-5DXqhQUt24ycEryXDfMNKEkW5TBHs+QmU23a2qxXwwFDaJsWcPo2obEhBxxdEPOv7qmotjad+09RGeWCcJ9JDw==}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-XC6wPUDJkakjhNLaS0NrHDMiujRVjH+naEAwvKLArgqRaFkNxjmyNDRM4eu3soMMFmjym6NTxYaF74rvET+Orw==}
+ resolution: {integrity: sha512-KLUbz6w7F73D/Ihh51hVagrKR0/CTsPEbRkvXLXvoND014XJ4BCrQUqSxlQ4/hu+nqp1v5WlM85/h3ldeyujuA==}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-ChfE7isyVNjZrVSPDwcfqcHLG/FuIBbOFxnt1FM8vSuBGzHAs8AlTdwFNIxlEMJfZ8Ad9mdMxdmsCUPIWiQ6cg==}
+ resolution: {integrity: sha512-pJK67XcNJH40lTAjFu7s/rUlobgVXyB3A3lDoq+/JccB3hf+SysmkpR4Itlc93s8LEaFAI4mamhFuTV17Z6wOg==}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-FTbIeQL1ycLFW2t9uQNMy+bRSzi3Xhwun/e7ZhFBdM+U0VZxxrtfYEBM9CHOejlfqomk6Jh7aRz0sJoqYn39Hg==}
+ resolution: {integrity: sha512-EijeQ6zszDMmGZLP2vT2RXTs/GVi9rM0zv2/G4rNu2SSRSGFapgZdxgW4b5zUYLVaSkzmkpWlGfPfj76SW9yUg==}
cpu: [x64]
os: [win32]
- resolution: {integrity: sha512-KgZX12cTyhY030qS7ieT8zRkhZZE2VWJasDFVUSVVn17nR7IShpv68/7j5UqJNeRLIGF1XPK0phsP5V5yw3how==}
+ resolution: {integrity: sha512-crpfeMPkfECd4V1PQ/hMoiyVcOy04+bWedu/if89S15WhOalHZ2BYUi6DOJhZrszY+mTT99OwpOsj4wNfb/GHQ==}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-UCTxeMNYT1cKaHiIFdLCQ7ulI+jw5i5uOnJOrRXsgUD7G3+OjlUjwVd7JfeVt2McWSVGjYA3EVW/v1FSsJ5DtA==}
+ resolution: {integrity: sha512-YwPsNSqU2f/RXU/+Kcb7cPkPZARxom4+me7LKEdN5jsvy2tpfze3zDZ4EiGrJnvOm9Avu9rK0aaYsP7qZ3iz7A==}
hasBin: true
@@ -10657,11 +10465,6 @@ packages:
engines: {node: '>=4.2.0'}
hasBin: true
- resolution: {integrity: sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==}
- engines: {node: '>=14.17'}
- hasBin: true
-
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
engines: {node: '>=14.17'}
@@ -10683,6 +10486,9 @@ packages:
resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-Su3FauozOGP44ZmKdHy2oE6LPjk51M/TRRjHv2HNCWiDvfvCoxC2lno6jevMA91MYAdCdwP05QnWdWpSbncX/w==}
+
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
@@ -10719,10 +10525,30 @@ packages:
resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
engines: {node: '>= 10.0.0'}
+ resolution: {integrity: sha512-0171rToKyJtoz+faE9CSGtAhCF7//t8sJueyyfZujf4RcKtoHLU/wqcsnuH5aq3tDB+I/Tg6IXiWgPvI+TK/zw==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ vue: ^3.2.25
+
resolution: {integrity: sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==}
engines: {node: '>=18.12.0'}
+ resolution: {integrity: sha512-0Mqk3AT2TZCXWKdcoaufeXNukv2mTrEZExeXlHIOZXdqYoHHr4n51pymnwV8x2BOVxwXbK2HLlI7usrqMpycdg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+
+ resolution: {integrity: sha512-opd3z6791rf281JdByf0RdRQrpcc7WyzqittqIXodM/5meNWdTwrVxeyzbaCp4/Rgls/um14oUaif1gomO8YGg==}
+ engines: {node: '>=20.19.0'}
+ hasBin: true
+ peerDependencies:
+ synckit: ^0.11.11
+ peerDependenciesMeta:
+ synckit:
+ optional: true
+
resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
hasBin: true
@@ -10808,28 +10634,16 @@ packages:
resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-d4sOM8M/8z7vRXHHq/ebbblfaxENjogAAekcfcDCCwAyvGqnPrc7f4NZbvItS+g4WTgerW0xDwSz5qz11JT3vg==}
- peerDependencies:
- typescript: '*'
- vite: '*'
- peerDependenciesMeta:
- vite:
- optional: true
-
- resolution: {integrity: sha512-OpdFlWgVfWyZgx9nym3LAQp4DciutbqwSKzbA1l2Bg7CNzlDd3jnHfv1uWTY4y5h2gRfgT60ZtOgF5+W95i+3A==}
- engines: {node: '>=14.18.0', vite: '>=3.1.0'}
-
- resolution: {integrity: sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==}
+ resolution: {integrity: sha512-fPGaRNj9Zytaf8LEiBhY7Z6ijnFKdzU/+mL8EFBaKr7Vw1/FWcTBAMW0wLPJAGMPX38ZPVCVgLceWiEqeoqL2Q==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
peerDependencies:
'@types/node': ^20.19.0 || >=22.12.0
+ '@vitejs/devtools': ^0.0.0-alpha.31
+ esbuild: ^0.27.0
jiti: '>=1.21.0'
less: ^4.0.0
- lightningcss: ^1.21.0
sass: ^1.70.0
sass-embedded: ^1.70.0
stylus: '>=0.54.8'
@@ -10840,12 +10654,14 @@ packages:
peerDependenciesMeta:
'@types/node':
optional: true
+ '@vitejs/devtools':
+ optional: true
+ esbuild:
+ optional: true
jiti:
optional: true
less:
optional: true
- lightningcss:
- optional: true
sass:
optional: true
sass-embedded:
@@ -10861,20 +10677,21 @@ packages:
yaml:
optional: true
- resolution: {integrity: sha512-hOQuK7h0FGKgBAas7v0mSAsnvrIgAvWmRFjmzpJ7SwFHH3g1k2u37JtYwOwmEKhK6ZO3v9ggDBBm0La1LCK4uQ==}
+ resolution: {integrity: sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw==}
engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@opentelemetry/api': ^1.9.0
'@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0
- '@vitest/browser-playwright': 4.0.18
- '@vitest/browser-preview': 4.0.18
- '@vitest/browser-webdriverio': 4.0.18
- '@vitest/ui': 4.0.18
+ '@vitest/browser-playwright': 4.1.0
+ '@vitest/browser-preview': 4.1.0
+ '@vitest/browser-webdriverio': 4.1.0
+ '@vitest/ui': 4.1.0
happy-dom: '*'
jsdom: '*'
+ vite: ^6.0.0 || ^7.0.0 || ^8.0.0-0
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
@@ -10895,10 +10712,6 @@ packages:
jsdom:
optional: true
- resolution: {integrity: sha512-2HUCkqI0uwgBti1/+utRu7Hvk/I3HeowBQfRlEL3487r+LpW1w91kk6uTZbwOd6I2Sj3aAxBE0HxYNC/NLbuhA==}
- engines: {node: '>=14.18.0', vite: '>=3.1.0'}
-
resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==}
@@ -10908,6 +10721,12 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
+ resolution: {integrity: sha512-/htfTCMluQ+P2FISGAooul8kO4JMheOTCbCy4M6dYnYYjqLe3BExZudAua6MSIKSFYQtFOYAll7XobYwcpokGA==}
+ hasBin: true
+ peerDependencies:
+ typescript: '>=5.0.0'
+
resolution: {integrity: sha512-BZqN4Ze6mDQVNAni0IHeMJ5mwr8VAJ3MQC9FmprRhcBYENw+wOAAjRj8jfmN6FLl0j96OXbR+CjWhmAmM+QGnA==}
peerDependencies:
@@ -10916,6 +10735,14 @@ packages:
typescript:
optional: true
+ resolution: {integrity: sha512-hTHLc6VNZyzzEH/l7PFGjpcTvUgiaPK5mdLkbjrTeWSRcEfxFrv56g/XckIYlE9ckuobsdwqd5mk2g1sBkMewg==}
+ peerDependencies:
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==}
engines: {node: '>=18'}
@@ -11081,9 +10908,6 @@ packages:
resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
- resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
-
resolution: {integrity: sha512-h0uDm97wvT2bokfwwTmY6kJ1hp6YDFL0nRHwNKz8s/VD1FH/vvZjAKoMUE+un0eaYBSG7/c6h+lJTP+31tjgTw==}
engines: {node: ^20.19.0 || ^22.13.0 || >=24}
@@ -11144,7 +10968,7 @@ snapshots:
'@alloc/[email protected]': {}
dependencies:
'@antfu/install-pkg': 1.1.0
'@clack/prompts': 1.1.0
@@ -11154,7 +10978,7 @@ snapshots:
'@stylistic/eslint-plugin': 5.10.0([email protected]([email protected]))
'@typescript-eslint/parser': 8.56.1([email protected]([email protected]))([email protected])
ansis: 4.2.0
cac: 7.0.0
eslint: 10.0.3([email protected])
@@ -11176,7 +11000,7 @@ snapshots:
eslint-plugin-yml: 3.3.1([email protected]([email protected]))
- eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected]([email protected]))
+ eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected]([email protected]))
globals: 17.4.0
local-pkg: 1.1.2
parse-gitignore: 2.0.0
@@ -11258,26 +11082,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@babel/[email protected]':
- dependencies:
- '@babel/code-frame': 7.27.1
- '@babel/generator': 7.28.5
- '@babel/helper-compilation-targets': 7.27.2
- '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])
- '@babel/helpers': 7.28.4
- '@babel/parser': 7.28.5
- '@babel/template': 7.27.2
- '@babel/traverse': 7.28.5
- '@babel/types': 7.28.5
- '@jridgewell/remapping': 2.3.5
- convert-source-map: 2.0.0
- debug: 4.4.3
- gensync: 1.0.0-beta.2
- json5: 2.2.3
- semver: 6.3.1
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@babel/code-frame': 7.29.0
@@ -11314,20 +11118,21 @@ snapshots:
'@jridgewell/trace-mapping': 0.3.30
jsesc: 3.1.0
- '@babel/[email protected]':
+ '@babel/[email protected]':
dependencies:
- '@babel/parser': 7.28.5
- '@babel/types': 7.28.5
+ '@babel/parser': 7.29.0
+ '@babel/types': 7.29.0
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
- '@babel/[email protected]':
+ '@babel/[email protected]':
dependencies:
- '@babel/parser': 7.29.0
- '@babel/types': 7.29.0
+ '@babel/parser': 8.0.0-rc.2
+ '@babel/types': 8.0.0-rc.2
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
+ '@types/jsesc': 2.5.1
jsesc: 3.1.0
@@ -11371,15 +11176,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@babel/core': 7.28.5
- '@babel/helper-module-imports': 7.27.1
- '@babel/helper-validator-identifier': 7.27.1
- '@babel/traverse': 7.28.3
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@babel/core': 7.29.0
@@ -11389,14 +11185,16 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@babel/[email protected]': {}
-
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
'@babel/[email protected]': {}
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
'@babel/[email protected]': {}
@@ -11429,15 +11227,9 @@ snapshots:
dependencies:
'@babel/types': 7.29.0
- dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-plugin-utils': 7.28.6
-
+ '@babel/[email protected]':
dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-plugin-utils': 7.28.6
+ '@babel/types': 8.0.0-rc.2
'@babel/[email protected]': {}
@@ -11491,18 +11283,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@babel/[email protected]':
- dependencies:
- '@babel/code-frame': 7.27.1
- '@babel/generator': 7.28.5
- '@babel/helper-globals': 7.28.0
- '@babel/parser': 7.28.5
- '@babel/template': 7.27.2
- '@babel/types': 7.28.5
- debug: 4.4.3
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@babel/code-frame': 7.29.0
@@ -11540,6 +11320,11 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-string-parser': 8.0.0-rc.2
+ '@babel/helper-validator-identifier': 8.0.0-rc.2
+
dependencies:
'@neoconfetti/react': 1.0.0
@@ -11561,32 +11346,34 @@ snapshots:
'@clack/core': 1.1.0
sisteransi: 1.0.5
dependencies:
- '@commitlint/format': 20.4.3
- '@commitlint/lint': 20.4.3
- '@commitlint/load': 20.4.3(@types/[email protected])([email protected])
- '@commitlint/read': 20.4.3
- '@commitlint/types': 20.4.3
- tinyexec: 1.0.2
+ '@commitlint/format': 20.5.0
+ '@commitlint/lint': 20.5.0
+ '@commitlint/load': 20.5.0(@types/[email protected])([email protected])
+ '@commitlint/read': 20.5.0([email protected])([email protected])
+ '@commitlint/types': 20.5.0
+ tinyexec: 1.0.4
yargs: 17.7.2
transitivePeerDependencies:
- '@types/node'
+ - conventional-commits-filter
+ - conventional-commits-parser
- typescript
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/types': 20.4.3
+ '@commitlint/types': 20.5.0
conventional-changelog-conventionalcommits: 9.3.0
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/types': 20.4.3
+ '@commitlint/types': 20.5.0
ajv: 8.18.0
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/types': 20.4.3
+ '@commitlint/types': 20.5.0
lodash.camelcase: 4.3.0
lodash.kebabcase: 4.1.1
lodash.snakecase: 4.1.1
@@ -11595,29 +11382,29 @@ snapshots:
'@commitlint/[email protected]': {}
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/types': 20.4.3
+ '@commitlint/types': 20.5.0
picocolors: 1.1.1
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/types': 20.4.3
+ '@commitlint/types': 20.5.0
semver: 7.7.4
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/is-ignored': 20.4.3
- '@commitlint/parse': 20.4.3
- '@commitlint/rules': 20.4.3
- '@commitlint/types': 20.4.3
+ '@commitlint/is-ignored': 20.5.0
+ '@commitlint/parse': 20.5.0
+ '@commitlint/rules': 20.5.0
+ '@commitlint/types': 20.5.0
dependencies:
- '@commitlint/config-validator': 20.4.3
+ '@commitlint/config-validator': 20.5.0
'@commitlint/execute-rule': 20.0.0
- '@commitlint/resolve-extends': 20.4.3
- '@commitlint/types': 20.4.3
+ '@commitlint/resolve-extends': 20.5.0
+ '@commitlint/types': 20.5.0
cosmiconfig: 9.0.1([email protected])
cosmiconfig-typescript-loader: 6.2.0(@types/[email protected])([email protected]([email protected]))([email protected])
is-plain-obj: 4.1.0
@@ -11629,35 +11416,38 @@ snapshots:
'@commitlint/[email protected]': {}
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/types': 20.4.3
+ '@commitlint/types': 20.5.0
conventional-changelog-angular: 8.3.0
conventional-commits-parser: 6.3.0
- '@commitlint/[email protected]':
dependencies:
'@commitlint/top-level': 20.4.3
- '@commitlint/types': 20.4.3
- git-raw-commits: 4.0.0
+ '@commitlint/types': 20.5.0
+ git-raw-commits: 5.0.1([email protected])([email protected])
minimist: 1.2.8
- tinyexec: 1.0.2
+ tinyexec: 1.0.4
+ transitivePeerDependencies:
+ - conventional-commits-filter
+ - conventional-commits-parser
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/config-validator': 20.4.3
- '@commitlint/types': 20.4.3
+ '@commitlint/config-validator': 20.5.0
+ '@commitlint/types': 20.5.0
global-directory: 4.0.1
import-meta-resolve: 4.2.0
lodash.mergewith: 4.6.2
resolve-from: 5.0.0
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
- '@commitlint/ensure': 20.4.3
+ '@commitlint/ensure': 20.5.0
'@commitlint/message': 20.4.3
'@commitlint/to-lines': 20.0.0
- '@commitlint/types': 20.4.3
+ '@commitlint/types': 20.5.0
'@commitlint/[email protected]': {}
@@ -11665,7 +11455,7 @@ snapshots:
dependencies:
escalade: 3.2.0
- '@commitlint/[email protected]':
+ '@commitlint/[email protected]':
dependencies:
conventional-commits-parser: 6.3.0
picocolors: 1.1.1
@@ -11679,6 +11469,15 @@ snapshots:
conventional-commits-filter: 5.0.0
conventional-commits-parser: 6.2.1
+ dependencies:
+ '@simple-libs/child-process-utils': 1.0.1
+ '@simple-libs/stream-utils': 1.2.0
+ semver: 7.7.4
+ optionalDependencies:
+ conventional-commits-filter: 5.0.0
+ conventional-commits-parser: 6.2.1
+
'@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
dependencies:
'@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
@@ -12035,6 +11834,22 @@ snapshots:
optionalDependencies:
eslint: 10.0.3([email protected])
+ '@emnapi/[email protected]':
+ dependencies:
+ '@emnapi/wasi-threads': 1.2.0
+ tslib: 2.8.1
+ optional: true
+
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
'@es-joy/[email protected]':
dependencies:
'@types/estree': 1.0.8
@@ -12045,159 +11860,81 @@ snapshots:
'@es-joy/[email protected]': {}
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
@@ -12599,40 +12336,12 @@ snapshots:
'@types/react': 19.2.14
react: 19.2.4
- '@microsoft/[email protected](@types/[email protected])':
- dependencies:
- '@microsoft/tsdoc': 0.15.1
- '@microsoft/tsdoc-config': 0.17.1
- '@rushstack/node-core-library': 5.13.1(@types/[email protected])
- transitivePeerDependencies:
- - '@types/node'
-
- '@microsoft/[email protected](@types/[email protected])':
- dependencies:
- '@microsoft/api-extractor-model': 7.30.6(@types/[email protected])
- '@microsoft/tsdoc': 0.15.1
- '@microsoft/tsdoc-config': 0.17.1
- '@rushstack/node-core-library': 5.13.1(@types/[email protected])
- '@rushstack/rig-package': 0.5.3
- '@rushstack/terminal': 0.15.3(@types/[email protected])
- '@rushstack/ts-command-line': 5.0.1(@types/[email protected])
- lodash: 4.17.21
- minimatch: 3.0.8
- resolve: 1.22.10
- semver: 7.5.4
- source-map: 0.6.1
- typescript: 5.8.2
- transitivePeerDependencies:
- - '@types/node'
-
- '@microsoft/[email protected]':
+ '@napi-rs/[email protected]':
dependencies:
- '@microsoft/tsdoc': 0.15.1
- ajv: 8.12.0
- jju: 1.4.0
- resolve: 1.22.10
-
- '@microsoft/[email protected]': {}
+ '@emnapi/core': 1.9.0
+ '@emnapi/runtime': 1.9.0
+ '@tybys/wasm-util': 0.10.1
+ optional: true
'@neoconfetti/[email protected]': {}
@@ -12716,6 +12425,10 @@ snapshots:
'@ota-meshi/[email protected]': {}
+ '@oxc-project/[email protected]': {}
+
+ '@oxc-project/[email protected]': {}
+
optional: true
@@ -12849,6 +12562,10 @@ snapshots:
dependencies:
cross-spawn: 7.0.6
+ '@quansync/[email protected]':
+ dependencies:
+ quansync: 1.0.0
+
'@radix-ui/[email protected]': {}
@@ -13201,19 +12918,19 @@ snapshots:
'@react-dnd/[email protected]': {}
dependencies:
detect-indent: 6.1.0
detect-newline: 3.1.0
execa: 8.0.1
- release-it: 19.2.4(@types/[email protected])([email protected])
+ release-it: 19.2.4(@types/[email protected])([email protected])
semver: 7.7.2
url-join: 4.0.1
validate-peer-dependencies: 1.2.0
walk-sync: 2.2.0
yaml: 2.8.0
dependencies:
'@conventional-changelog/git-client': 2.5.1([email protected])([email protected])
concat-stream: 2.0.0
@@ -13221,23 +12938,60 @@ snapshots:
conventional-changelog-angular: 8.1.0
conventional-changelog-conventionalcommits: 9.1.0
conventional-recommended-bump: 11.2.0
- release-it: 19.2.4(@types/[email protected])([email protected])
+ release-it: 19.2.4(@types/[email protected])([email protected])
semver: 7.7.4
transitivePeerDependencies:
- conventional-commits-filter
- conventional-commits-parser
- '@rolldown/[email protected]': {}
+ '@rolldown/[email protected]':
+ optional: true
- '@rolldown/[email protected]': {}
+ '@rolldown/[email protected]':
+ optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
dependencies:
- '@types/estree': 1.0.7
- estree-walker: 2.0.2
- picomatch: 4.0.2
- optionalDependencies:
- rollup: 4.55.1
+ '@napi-rs/wasm-runtime': 1.1.1
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]':
+ optional: true
+
+ '@rolldown/[email protected]': {}
'@rollup/[email protected]':
optional: true
@@ -13314,40 +13068,6 @@ snapshots:
'@rollup/[email protected]':
optional: true
- '@rushstack/[email protected](@types/[email protected])':
- dependencies:
- ajv: 8.13.0
- ajv-draft-04: 1.0.0([email protected])
- ajv-formats: 3.0.1([email protected])
- fs-extra: 11.3.4
- import-lazy: 4.0.0
- jju: 1.4.0
- resolve: 1.22.10
- semver: 7.5.4
- optionalDependencies:
- '@types/node': 25.3.5
-
- '@rushstack/[email protected]':
- dependencies:
- resolve: 1.22.10
- strip-json-comments: 3.1.1
-
- '@rushstack/[email protected](@types/[email protected])':
- dependencies:
- '@rushstack/node-core-library': 5.13.1(@types/[email protected])
- supports-color: 8.1.1
- optionalDependencies:
- '@types/node': 25.3.5
-
- '@rushstack/[email protected](@types/[email protected])':
- dependencies:
- '@rushstack/terminal': 0.15.3(@types/[email protected])
- '@types/argparse': 1.0.38
- argparse: 1.0.10
- string-argv: 0.3.2
- transitivePeerDependencies:
- - '@types/node'
-
'@simple-libs/[email protected]':
dependencies:
'@simple-libs/stream-utils': 1.1.0
@@ -13363,10 +13083,10 @@ snapshots:
'@standard-schema/[email protected]': {}
dependencies:
'@mdx-js/react': 3.1.1(@types/[email protected])([email protected])
react: 19.2.4
@@ -13433,14 +13153,14 @@ snapshots:
ts-dedent: 2.2.0
dependencies:
unplugin: 2.3.11
optionalDependencies:
esbuild: 0.27.3
rollup: 4.55.1
webpack: 5.103.0(@swc/[email protected])([email protected])
'@storybook/[email protected]': {}
@@ -13622,7 +13342,24 @@ snapshots:
'@tootallnate/[email protected]': {}
- '@types/[email protected]': {}
+ dependencies:
+ lightningcss: 1.32.0
+ rolldown: 1.0.0-rc.9
+ optionalDependencies:
+ postcss: 8.5.8
+ sass: 1.87.0
+ transitivePeerDependencies:
+ - jiti
+ - tsx
+ - yaml
+
+ '@tybys/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
'@types/[email protected]': {}
@@ -13674,8 +13411,6 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
-
'@types/[email protected]': {}
@@ -13685,6 +13420,8 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
@@ -13899,48 +13636,30 @@ snapshots:
throttleit: 2.1.0
undici: 6.23.0
dependencies:
'@babel/core': 7.29.0
- '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])
- '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/[email protected])
- '@rolldown/pluginutils': 1.0.0-rc.3
- '@types/babel__core': 7.20.5
- react-refresh: 0.18.0
- transitivePeerDependencies:
- - supports-color
-
- dependencies:
- '@rolldown/pluginutils': 1.0.0-rc.2
- vue: 3.5.29([email protected])
-
- dependencies:
'@istanbuljs/schema': 0.1.3
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
istanbul-lib-coverage: 3.2.2
- istanbul-lib-instrument: 6.0.3
istanbul-lib-report: 3.0.1
istanbul-reports: 3.2.0
- magicast: 0.5.1
+ magicast: 0.5.2
obug: 2.1.1
- tinyrainbow: 3.0.3
+ tinyrainbow: 3.1.0
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/scope-manager': 8.56.1
'@typescript-eslint/utils': 8.56.1([email protected]([email protected]))([email protected])
eslint: 10.0.3([email protected])
optionalDependencies:
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -13952,39 +13671,40 @@ snapshots:
chai: 5.2.1
tinyrainbow: 2.0.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
'@standard-schema/spec': 1.1.0
'@types/chai': 5.2.3
- '@vitest/spy': 4.0.18
- '@vitest/utils': 4.0.18
+ '@vitest/spy': 4.1.0
+ '@vitest/utils': 4.1.0
chai: 6.2.2
- tinyrainbow: 3.0.3
+ tinyrainbow: 3.1.0
dependencies:
- '@vitest/spy': 4.0.18
+ '@vitest/spy': 4.1.0
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
tinyrainbow: 2.0.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- tinyrainbow: 3.0.3
+ tinyrainbow: 3.1.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/utils': 4.0.18
+ '@vitest/utils': 4.1.0
pathe: 2.0.3
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 4.0.18
+ '@vitest/pretty-format': 4.1.0
+ '@vitest/utils': 4.1.0
magic-string: 0.30.21
pathe: 2.0.3
@@ -13992,7 +13712,7 @@ snapshots:
dependencies:
tinyspy: 4.0.3
- '@vitest/[email protected]': {}
+ '@vitest/[email protected]': {}
'@vitest/[email protected]':
dependencies:
@@ -14000,49 +13720,50 @@ snapshots:
loupe: 3.2.0
tinyrainbow: 2.0.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 4.0.18
- tinyrainbow: 3.0.3
+ '@vitest/pretty-format': 4.1.0
+ convert-source-map: 2.0.0
+ tinyrainbow: 3.1.0
- '@volar/[email protected]':
+ '@volar/[email protected]':
dependencies:
- '@volar/source-map': 2.4.13
+ '@volar/source-map': 2.4.28
- '@volar/[email protected]': {}
+ '@volar/[email protected]': {}
- '@volar/[email protected]':
+ '@volar/[email protected]':
dependencies:
- '@volar/language-core': 2.4.13
+ '@volar/language-core': 2.4.28
path-browserify: 1.0.1
vscode-uri: 3.1.0
dependencies:
- '@babel/parser': 7.28.5
- '@vue/shared': 3.5.26
- entities: 7.0.0
+ '@babel/parser': 7.29.0
+ '@vue/shared': 3.5.29
+ entities: 7.0.1
estree-walker: 2.0.2
source-map-js: 1.2.1
dependencies:
'@babel/parser': 7.29.0
- '@vue/shared': 3.5.29
+ '@vue/shared': 3.5.30
entities: 7.0.1
estree-walker: 2.0.2
source-map-js: 1.2.1
- dependencies:
- '@vue/compiler-core': 3.5.26
- '@vue/shared': 3.5.26
-
dependencies:
'@vue/compiler-core': 3.5.29
'@vue/shared': 3.5.29
+ dependencies:
+ '@vue/compiler-core': 3.5.30
+ '@vue/shared': 3.5.30
+
dependencies:
'@babel/parser': 7.29.0
@@ -14055,38 +13776,56 @@ snapshots:
postcss: 8.5.8
source-map-js: 1.2.1
+ dependencies:
+ '@babel/parser': 7.29.0
+ '@vue/compiler-core': 3.5.30
+ '@vue/compiler-dom': 3.5.30
+ '@vue/compiler-ssr': 3.5.30
+ '@vue/shared': 3.5.30
+ estree-walker: 2.0.2
+ magic-string: 0.30.21
+ postcss: 8.5.8
+ source-map-js: 1.2.1
+
dependencies:
'@vue/compiler-dom': 3.5.29
'@vue/shared': 3.5.29
dependencies:
- de-indent: 1.0.2
- he: 1.2.0
+ '@vue/compiler-dom': 3.5.30
+ '@vue/shared': 3.5.30
dependencies:
- '@volar/language-core': 2.4.13
- '@vue/compiler-dom': 3.5.26
- '@vue/compiler-vue2': 2.7.16
- '@vue/shared': 3.5.26
- alien-signals: 0.4.14
- minimatch: 9.0.5
+ '@volar/language-core': 2.4.28
+ '@vue/compiler-dom': 3.5.29
+ '@vue/shared': 3.5.29
+ alien-signals: 3.1.2
muggle-string: 0.4.1
path-browserify: 1.0.1
- optionalDependencies:
- typescript: 5.9.3
+ picomatch: 4.0.3
dependencies:
'@vue/shared': 3.5.29
+ dependencies:
+ '@vue/shared': 3.5.30
+
dependencies:
'@vue/reactivity': 3.5.29
'@vue/shared': 3.5.29
+ dependencies:
+ '@vue/reactivity': 3.5.30
+ '@vue/shared': 3.5.30
+
dependencies:
'@vue/reactivity': 3.5.29
@@ -14094,16 +13833,29 @@ snapshots:
'@vue/shared': 3.5.29
csstype: 3.2.3
+ dependencies:
+ '@vue/reactivity': 3.5.30
+ '@vue/runtime-core': 3.5.30
+ '@vue/shared': 3.5.30
+ csstype: 3.2.3
+
dependencies:
'@vue/compiler-ssr': 3.5.29
'@vue/shared': 3.5.29
vue: 3.5.29([email protected])
- '@vue/[email protected]': {}
+ dependencies:
+ '@vue/compiler-ssr': 3.5.30
+ '@vue/shared': 3.5.30
+ vue: 3.5.30([email protected])
'@vue/[email protected]': {}
+ '@vue/[email protected]': {}
+
'@webassemblyjs/[email protected]':
dependencies:
'@webassemblyjs/helper-numbers': 1.13.2
@@ -14217,18 +13969,10 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
- optionalDependencies:
- ajv: 8.13.0
-
optionalDependencies:
ajv: 8.18.0
- optionalDependencies:
- ajv: 8.13.0
-
optionalDependencies:
ajv: 8.18.0
@@ -14256,20 +14000,6 @@ snapshots:
json-schema-traverse: 0.4.1
uri-js: 4.4.1
- dependencies:
- fast-deep-equal: 3.1.3
- json-schema-traverse: 1.0.0
- require-from-string: 2.0.2
- uri-js: 4.4.1
-
- dependencies:
- fast-deep-equal: 3.1.3
- json-schema-traverse: 1.0.0
- require-from-string: 2.0.2
- uri-js: 4.4.1
-
dependencies:
fast-deep-equal: 3.1.3
@@ -14277,7 +14007,7 @@ snapshots:
json-schema-traverse: 1.0.0
require-from-string: 2.0.2
dependencies:
@@ -14316,10 +14046,6 @@ snapshots:
- dependencies:
- sprintf-js: 1.0.3
-
@@ -14405,6 +14131,12 @@ snapshots:
+ dependencies:
+ '@babel/parser': 8.0.0-rc.2
+ estree-walker: 3.0.3
+ pathe: 2.0.3
+
dependencies:
tslib: 2.8.1
@@ -14443,11 +14175,6 @@ snapshots:
- dependencies:
- date-manip: 2.0.6
- is-what-type: 1.1.4
-
@@ -14462,20 +14189,7 @@ snapshots:
- dependencies:
- base-log-factory: 2.1.4
- picocolors: 1.1.1
-
- dependencies:
- '@types/debug': 4.1.12
- base-log-factory: 2.1.4
- blf-colorful-appender: 1.0.6
- date-manip: 2.0.6
- debug: 4.4.3
- transitivePeerDependencies:
- - supports-color
@@ -14534,7 +14248,7 @@ snapshots:
dependencies:
chokidar: 5.0.0
confbox: 0.2.2
@@ -14549,7 +14263,7 @@ snapshots:
pkg-types: 2.3.0
rc9: 2.1.2
optionalDependencies:
- magicast: 0.5.1
+ magicast: 0.5.2
@@ -14961,8 +14675,6 @@ snapshots:
-
@@ -14988,12 +14700,8 @@ snapshots:
es-errors: 1.3.0
is-data-view: 1.0.2
-
-
dependencies:
mimic-function: 5.0.1
@@ -15079,6 +14787,8 @@ snapshots:
optional: true
+
@@ -15169,6 +14879,8 @@ snapshots:
+
dependencies:
call-bind-apply-helpers: 1.0.2
@@ -15211,8 +14923,6 @@ snapshots:
-
@@ -15304,6 +15014,8 @@ snapshots:
+
dependencies:
es-errors: 1.3.0
@@ -15341,10 +15053,10 @@ snapshots:
fs-extra: 10.1.0
globby: 11.1.0
dependencies:
typescript: 4.9.5
- vue: 3.5.29([email protected])
+ vue: 3.5.30([email protected])
optionalDependencies:
sass: 1.87.0
@@ -15357,35 +15069,6 @@ snapshots:
postcss: 8.5.8
postcss-modules: 6.0.1([email protected])
- optionalDependencies:
- '@esbuild/aix-ppc64': 0.27.2
- '@esbuild/android-arm': 0.27.2
- '@esbuild/android-arm64': 0.27.2
- '@esbuild/android-x64': 0.27.2
- '@esbuild/darwin-arm64': 0.27.2
- '@esbuild/darwin-x64': 0.27.2
- '@esbuild/freebsd-arm64': 0.27.2
- '@esbuild/freebsd-x64': 0.27.2
- '@esbuild/linux-arm': 0.27.2
- '@esbuild/linux-arm64': 0.27.2
- '@esbuild/linux-ia32': 0.27.2
- '@esbuild/linux-loong64': 0.27.2
- '@esbuild/linux-mips64el': 0.27.2
- '@esbuild/linux-ppc64': 0.27.2
- '@esbuild/linux-riscv64': 0.27.2
- '@esbuild/linux-s390x': 0.27.2
- '@esbuild/linux-x64': 0.27.2
- '@esbuild/netbsd-arm64': 0.27.2
- '@esbuild/netbsd-x64': 0.27.2
- '@esbuild/openbsd-arm64': 0.27.2
- '@esbuild/openbsd-x64': 0.27.2
- '@esbuild/openharmony-arm64': 0.27.2
- '@esbuild/sunos-x64': 0.27.2
- '@esbuild/win32-arm64': 0.27.2
- '@esbuild/win32-ia32': 0.27.2
- '@esbuild/win32-x64': 0.27.2
-
optionalDependencies:
'@esbuild/aix-ppc64': 0.27.3
@@ -15824,9 +15507,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@vue/compiler-sfc': 3.5.29
+ '@vue/compiler-sfc': 3.5.30
eslint: 10.0.3([email protected])
@@ -15963,8 +15646,6 @@ snapshots:
-
@@ -16005,8 +15686,6 @@ snapshots:
optionalDependencies:
picomatch: 4.0.3
-
dependencies:
flat-cache: 4.0.1
@@ -16165,6 +15844,10 @@ snapshots:
dependencies:
resolve-pkg-maps: 1.0.0
+ dependencies:
+ resolve-pkg-maps: 1.0.0
+
dependencies:
basic-ftp: 5.1.0
@@ -16182,11 +15865,13 @@ snapshots:
nypm: 0.6.2
pathe: 2.0.3
dependencies:
- dargs: 8.1.0
- meow: 12.1.1
- split2: 4.2.0
+ '@conventional-changelog/git-client': 2.6.0([email protected])([email protected])
+ meow: 13.2.0
+ transitivePeerDependencies:
+ - conventional-commits-filter
+ - conventional-commits-parser
dependencies:
@@ -16314,6 +15999,8 @@ snapshots:
dependencies:
react-is: 16.13.1
+
dependencies:
lru-cache: 10.4.3
@@ -16400,10 +16087,10 @@ snapshots:
parent-module: 1.0.1
resolve-from: 4.0.0
-
+
@@ -16635,8 +16322,6 @@ snapshots:
call-bound: 1.0.4
get-intrinsic: 1.3.0
-
dependencies:
is-docker: 2.2.1
@@ -16659,16 +16344,6 @@ snapshots:
- dependencies:
- '@babel/core': 7.28.5
- '@babel/parser': 7.28.5
- '@istanbuljs/schema': 0.1.3
- istanbul-lib-coverage: 3.2.2
- semver: 7.7.3
- transitivePeerDependencies:
- - supports-color
-
dependencies:
istanbul-lib-coverage: 3.2.2
@@ -16737,8 +16412,6 @@ snapshots:
-
@@ -16826,8 +16499,6 @@ snapshots:
-
dependencies:
prelude-ls: 1.1.2
@@ -16844,6 +16515,55 @@ snapshots:
dependencies:
immediate: 3.0.6
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ detect-libc: 2.1.2
+ optionalDependencies:
+ lightningcss-android-arm64: 1.32.0
+ lightningcss-darwin-arm64: 1.32.0
+ lightningcss-darwin-x64: 1.32.0
+ lightningcss-freebsd-x64: 1.32.0
+ lightningcss-linux-arm-gnueabihf: 1.32.0
+ lightningcss-linux-arm64-gnu: 1.32.0
+ lightningcss-linux-arm64-musl: 1.32.0
+ lightningcss-linux-x64-gnu: 1.32.0
+ lightningcss-linux-x64-musl: 1.32.0
+ lightningcss-win32-arm64-msvc: 1.32.0
+ lightningcss-win32-x64-msvc: 1.32.0
+
@@ -16886,12 +16606,6 @@ snapshots:
- dependencies:
- mlly: 1.7.4
- pkg-types: 2.1.0
- quansync: 0.2.10
-
dependencies:
mlly: 1.8.0
@@ -16971,28 +16685,20 @@ snapshots:
dependencies:
yallist: 3.1.1
- dependencies:
- yallist: 4.0.0
-
- dependencies:
- '@jridgewell/sourcemap-codec': 1.5.0
-
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
dependencies:
- '@babel/parser': 7.28.5
- '@babel/types': 7.28.5
+ '@babel/parser': 7.29.0
+ '@babel/types': 7.29.0
source-map-js: 1.2.1
@@ -17001,7 +16707,7 @@ snapshots:
dependencies:
- semver: 7.7.3
+ semver: 7.7.4
@@ -17141,8 +16847,6 @@ snapshots:
dependencies:
fs-monkey: 1.1.0
-
@@ -17386,10 +17090,6 @@ snapshots:
dependencies:
brace-expansion: 5.0.3
- dependencies:
- brace-expansion: 1.1.11
-
dependencies:
brace-expansion: 1.1.11
@@ -17802,8 +17502,6 @@ snapshots:
-
@@ -17820,12 +17518,6 @@ snapshots:
mlly: 1.7.4
pathe: 2.0.3
- dependencies:
- confbox: 0.2.2
- exsolve: 1.0.5
- pathe: 2.0.3
-
dependencies:
confbox: 0.2.2
@@ -17968,6 +17660,15 @@ snapshots:
optionalDependencies:
postcss: 8.5.6
+ dependencies:
+ lilconfig: 3.1.3
+ optionalDependencies:
+ jiti: 2.6.1
+ postcss: 8.5.8
+ tsx: 4.21.0
+ yaml: 2.8.2
+
dependencies:
cosmiconfig: 9.0.0([email protected])
@@ -18227,10 +17928,10 @@ snapshots:
-
+
@@ -18420,8 +18121,6 @@ snapshots:
- dnd-core
- react-dom
-
dependencies:
react: 19.2.4
@@ -18545,13 +18244,13 @@ snapshots:
dependencies:
'@nodeutils/defaults-deep': 1.1.0
'@octokit/rest': 22.0.1
'@phun-ky/typeof': 2.0.3
async-retry: 1.3.3
- c12: 3.3.3([email protected])
+ c12: 3.3.3([email protected])
ci-info: 4.3.1
eta: 4.5.0
git-url-parse: 16.1.0
@@ -18637,6 +18336,45 @@ snapshots:
dependencies:
glob: 7.2.3
+ dependencies:
+ '@babel/generator': 8.0.0-rc.2
+ '@babel/helper-validator-identifier': 8.0.0-rc.2
+ '@babel/parser': 8.0.0-rc.2
+ '@babel/types': 8.0.0-rc.2
+ ast-kit: 3.0.0-beta.1
+ birpc: 4.0.0
+ dts-resolver: 2.1.3
+ get-tsconfig: 4.13.6
+ obug: 2.1.1
+ rolldown: 1.0.0-rc.9
+ optionalDependencies:
+ typescript: 5.9.3
+ vue-tsc: 3.2.5([email protected])
+ transitivePeerDependencies:
+ - oxc-resolver
+
+ dependencies:
+ '@oxc-project/types': 0.115.0
+ '@rolldown/pluginutils': 1.0.0-rc.9
+ optionalDependencies:
+ '@rolldown/binding-android-arm64': 1.0.0-rc.9
+ '@rolldown/binding-darwin-arm64': 1.0.0-rc.9
+ '@rolldown/binding-darwin-x64': 1.0.0-rc.9
+ '@rolldown/binding-freebsd-x64': 1.0.0-rc.9
+ '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-rc.9
+ '@rolldown/binding-linux-arm64-gnu': 1.0.0-rc.9
+ '@rolldown/binding-linux-arm64-musl': 1.0.0-rc.9
+ '@rolldown/binding-linux-ppc64-gnu': 1.0.0-rc.9
+ '@rolldown/binding-linux-s390x-gnu': 1.0.0-rc.9
+ '@rolldown/binding-linux-x64-gnu': 1.0.0-rc.9
+ '@rolldown/binding-linux-x64-musl': 1.0.0-rc.9
+ '@rolldown/binding-openharmony-arm64': 1.0.0-rc.9
+ '@rolldown/binding-wasm32-wasi': 1.0.0-rc.9
+ '@rolldown/binding-win32-arm64-msvc': 1.0.0-rc.9
+ '@rolldown/binding-win32-x64-msvc': 1.0.0-rc.9
+
dependencies:
'@types/estree': 1.0.8
@@ -18667,6 +18405,7 @@ snapshots:
'@rollup/rollup-win32-x64-gnu': 4.55.1
'@rollup/rollup-win32-x64-msvc': 4.55.1
fsevents: 2.3.3
+ optional: true
@@ -18740,10 +18479,6 @@ snapshots:
- dependencies:
- lru-cache: 6.0.0
-
@@ -18903,13 +18638,9 @@ snapshots:
-
-
@@ -19053,8 +18784,6 @@ snapshots:
-
dependencies:
stubborn-utils: 1.0.2
@@ -19184,6 +18913,8 @@ snapshots:
+
dependencies:
fdir: 6.5.0([email protected])
@@ -19193,7 +18924,7 @@ snapshots:
@@ -19224,6 +18955,8 @@ snapshots:
dependencies:
punycode: 2.3.1
+
dependencies:
collapse-white-space: 2.1.0
@@ -19257,6 +18990,34 @@ snapshots:
minimist: 1.2.8
strip-bom: 3.0.0
+ dependencies:
+ ansis: 4.2.0
+ cac: 7.0.0
+ defu: 6.1.4
+ empathic: 2.0.0
+ hookable: 6.0.1
+ import-without-cache: 0.2.5
+ obug: 2.1.1
+ picomatch: 4.0.3
+ rolldown: 1.0.0-rc.9
+ semver: 7.7.4
+ tinyexec: 1.0.4
+ tinyglobby: 0.2.15
+ tree-kill: 1.2.2
+ unconfig-core: 7.5.0
+ unrun: 0.2.32([email protected])
+ optionalDependencies:
+ typescript: 5.9.3
+ transitivePeerDependencies:
+ - '@ts-macro/tsc'
+ - '@typescript/native-preview'
+ - oxc-resolver
+ - synckit
+ - vue-tsc
+
@@ -19266,32 +19027,32 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optionalDependencies:
- turbo-darwin-64: 2.8.14
- turbo-darwin-arm64: 2.8.14
- turbo-linux-64: 2.8.14
- turbo-linux-arm64: 2.8.14
- turbo-windows-64: 2.8.14
- turbo-windows-arm64: 2.8.14
+ turbo-darwin-64: 2.8.17
+ turbo-darwin-arm64: 2.8.17
+ turbo-linux-64: 2.8.17
+ turbo-linux-arm64: 2.8.17
+ turbo-windows-64: 2.8.17
+ turbo-windows-arm64: 2.8.17
dependencies:
@@ -19344,8 +19105,6 @@ snapshots:
-
@@ -19362,6 +19121,11 @@ snapshots:
has-symbols: 1.1.0
which-boxed-primitive: 1.1.1
+ dependencies:
+ '@quansync/fs': 1.0.0
+ quansync: 1.0.0
+
@@ -19397,6 +19161,29 @@ snapshots:
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+ '@vue/reactivity': 3.5.29
+ obug: 2.1.1
+ unplugin: 3.0.0
+ vue: 3.5.30([email protected])
+ transitivePeerDependencies:
+ - '@types/node'
+ - '@vitejs/devtools'
+ - esbuild
+ - jiti
+ - less
+ - sass
+ - sass-embedded
+ - stylus
+ - sugarss
+ - terser
+ - tsx
+ - yaml
+
dependencies:
'@jridgewell/remapping': 2.3.5
@@ -19404,6 +19191,18 @@ snapshots:
picomatch: 4.0.3
webpack-virtual-modules: 0.6.2
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ picomatch: 4.0.3
+ webpack-virtual-modules: 0.6.2
+
+ dependencies:
+ rolldown: 1.0.0-rc.9
+ optionalDependencies:
+ synckit: 0.11.12
+
dependencies:
browserslist: 4.24.5
@@ -19480,44 +19279,17 @@ snapshots:
- dependencies:
- '@microsoft/api-extractor': 7.52.7(@types/[email protected])
- '@rollup/pluginutils': 5.1.4([email protected])
- '@volar/typescript': 2.4.13
- '@vue/language-core': 2.2.0([email protected])
- compare-versions: 6.1.1
- debug: 4.4.0
- kolorist: 1.8.0
- local-pkg: 1.1.1
- magic-string: 0.30.17
- typescript: 5.9.3
- optionalDependencies:
- transitivePeerDependencies:
- - '@types/node'
- - rollup
- - supports-color
-
- dependencies:
- '@types/fs-extra': 11.0.4
- fs-extra: 11.3.4
- is-what-type: 1.1.4
- vp-runtime-helper: 1.0.10
- transitivePeerDependencies:
- - supports-color
-
dependencies:
- esbuild: 0.27.2
- fdir: 6.5.0([email protected])
+ '@oxc-project/runtime': 0.115.0
+ lightningcss: 1.32.0
picomatch: 4.0.3
- postcss: 8.5.6
- rollup: 4.55.1
+ postcss: 8.5.8
+ rolldown: 1.0.0-rc.9
tinyglobby: 0.2.15
optionalDependencies:
'@types/node': 25.3.5
+ esbuild: 0.27.3
fsevents: 2.3.3
jiti: 2.6.1
sass: 1.87.0
@@ -19525,55 +19297,34 @@ snapshots:
tsx: 4.21.0
yaml: 2.8.2
dependencies:
- '@vitest/expect': 4.0.18
- '@vitest/pretty-format': 4.0.18
- '@vitest/runner': 4.0.18
- '@vitest/snapshot': 4.0.18
- '@vitest/spy': 4.0.18
- '@vitest/utils': 4.0.18
- es-module-lexer: 1.7.0
+ '@vitest/expect': 4.1.0
+ '@vitest/pretty-format': 4.1.0
+ '@vitest/runner': 4.1.0
+ '@vitest/snapshot': 4.1.0
+ '@vitest/spy': 4.1.0
+ '@vitest/utils': 4.1.0
+ es-module-lexer: 2.0.0
expect-type: 1.3.0
magic-string: 0.30.21
obug: 2.1.1
pathe: 2.0.3
picomatch: 4.0.3
- std-env: 3.10.0
+ std-env: 4.0.0
tinybench: 2.9.0
- tinyexec: 1.0.2
+ tinyexec: 1.0.4
tinyglobby: 0.2.15
- tinyrainbow: 3.0.3
+ tinyrainbow: 3.1.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 25.3.5
happy-dom: 20.7.0
jsdom: 27.0.1([email protected])
transitivePeerDependencies:
- - jiti
- - less
- - lightningcss
- msw
- - sass
- - sass-embedded
- - stylus
- - sugarss
- - terser
- - tsx
- - yaml
-
- dependencies:
- '@types/fs-extra': 11.0.4
- base-log-factory: 2.1.4
- blf-debug-appender: 1.0.5
- figlet: 1.8.1
- fs-extra: 11.3.4
- picocolors: 1.1.1
- transitivePeerDependencies:
- - supports-color
@@ -19589,6 +19340,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@volar/typescript': 2.4.28
+ '@vue/language-core': 3.2.5
+ typescript: 5.9.3
+
dependencies:
'@vue/compiler-dom': 3.5.29
@@ -19599,6 +19356,16 @@ snapshots:
optionalDependencies:
typescript: 5.9.3
+ dependencies:
+ '@vue/compiler-dom': 3.5.30
+ '@vue/compiler-sfc': 3.5.30
+ '@vue/runtime-dom': 3.5.30
+ '@vue/server-renderer': 3.5.30([email protected]([email protected]))
+ '@vue/shared': 3.5.30
+ optionalDependencies:
+ typescript: 5.9.3
+
dependencies:
xml-name-validator: 5.0.0
@@ -19792,8 +19559,6 @@ snapshots:
-
dependencies:
eslint-visitor-keys: 5.0.0
diff --git a/scripts/build-analysis.ts b/scripts/build-analysis.ts
new file mode 100644
index 0000000000..504642654c
--- /dev/null
+++ b/scripts/build-analysis.ts
@@ -0,0 +1,418 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* eslint-disable max-lines-per-function */
+
+import path from 'node:path';
+import process from 'node:process';
+import { brotliCompressSync, gzipSync } from 'node:zlib';
+import fs from 'fs-extra';
+
+type OutputBucketKey = 'cjs' | 'es' | 'types' | 'umd';
+
+interface IPackageJson {
+ name: string;
+}
+
+interface IFileSizeSummary {
+ brotliBytes: number;
+ bucket: OutputBucketKey;
+ gzipBytes: number;
+ path: string;
+ rawBytes: number;
+}
+
+interface IDirectorySizeSummary {
+ brotliBytes: number;
+ fileCount: number;
+ gzipBytes: number;
+ largestFile: IFileSizeSummary | null;
+ rawBytes: number;
+}
+
+interface IWorkspacePackage {
+ dir: string;
+ packageJson: IPackageJson;
+}
+
+interface IPackageSizeEntry {
+ built: boolean;
+ name: string;
+ outputs: Record<OutputBucketKey, IDirectorySizeSummary | null>;
+ path: string;
+ totals: IDirectorySizeSummary;
+}
+
+const ROOT_DIR = process.cwd();
+const ARTIFACTS_DIR = path.join(ROOT_DIR, 'artifacts');
+const PACKAGES_DIR = path.join(ROOT_DIR, 'packages');
+const OUTPUT_DIRECTORIES: Record<OutputBucketKey, string> = {
+ cjs: path.join('lib', 'cjs'),
+ es: path.join('lib', 'es'),
+ types: path.join('lib', 'types'),
+ umd: path.join('lib', 'umd'),
+};
+
+function createEmptySummary(): IDirectorySizeSummary {
+ return {
+ brotliBytes: 0,
+ fileCount: 0,
+ gzipBytes: 0,
+ largestFile: null,
+ rawBytes: 0,
+ };
+}
+
+function measureFile(filePath: string, bucket: OutputBucketKey): IFileSizeSummary {
+ const fileBuffer = fs.readFileSync(filePath);
+
+ return {
+ brotliBytes: brotliCompressSync(fileBuffer).byteLength,
+ bucket,
+ gzipBytes: gzipSync(fileBuffer).byteLength,
+ path: path.relative(ROOT_DIR, filePath),
+ rawBytes: fileBuffer.byteLength,
+ };
+}
+
+function summarizeFiles(files: IFileSizeSummary[]): IDirectorySizeSummary {
+ const summary = createEmptySummary();
+
+ for (const file of files) {
+ summary.fileCount += 1;
+ summary.rawBytes += file.rawBytes;
+ summary.gzipBytes += file.gzipBytes;
+ summary.brotliBytes += file.brotliBytes;
+
+ if (!summary.largestFile || file.rawBytes > summary.largestFile.rawBytes) {
+ summary.largestFile = file;
+ }
+ }
+
+ return summary;
+}
+
+function summarizeDirectoryTotals(summaries: IDirectorySizeSummary[]): IDirectorySizeSummary {
+ const merged = createEmptySummary();
+
+ for (const summary of summaries) {
+ merged.fileCount += summary.fileCount;
+ merged.rawBytes += summary.rawBytes;
+ merged.gzipBytes += summary.gzipBytes;
+ merged.brotliBytes += summary.brotliBytes;
+
+ if (!merged.largestFile || (summary.largestFile && summary.largestFile.rawBytes > merged.largestFile.rawBytes)) {
+ merged.largestFile = summary.largestFile;
+ }
+ }
+
+ return merged;
+}
+
+function listFiles(targetDir: string, bucket: OutputBucketKey): IFileSizeSummary[] {
+ if (!fs.existsSync(targetDir)) {
+ return [];
+ }
+
+ const files: IFileSizeSummary[] = [];
+
+ function walk(currentDir: string) {
+ for (const entry of fs.readdirSync(currentDir, { withFileTypes: true })) {
+ const entryPath = path.join(currentDir, entry.name);
+ if (entry.isDirectory()) {
+ walk(entryPath);
+ continue;
+ }
+
+ files.push(measureFile(entryPath, bucket));
+ }
+ }
+
+ walk(targetDir);
+ return files;
+}
+
+function readWorkspacePackages(): IWorkspacePackage[] {
+ if (!fs.existsSync(PACKAGES_DIR)) {
+ return [];
+ }
+
+ return fs.readdirSync(PACKAGES_DIR, { withFileTypes: true })
+ .filter((entry) => entry.isDirectory())
+ .map((entry) => path.join(PACKAGES_DIR, entry.name))
+ .map((dir) => {
+ const packageJsonPath = path.join(dir, 'package.json');
+ if (!fs.existsSync(packageJsonPath)) {
+ return null;
+ }
+
+ return {
+ dir,
+ packageJson: fs.readJSONSync(packageJsonPath) as IPackageJson,
+ };
+ })
+ .filter((pkg): pkg is IWorkspacePackage => Boolean(pkg))
+ .sort((left, right) => left.packageJson.name.localeCompare(right.packageJson.name));
+}
+
+function analyzePackage(pkg: IWorkspacePackage): IPackageSizeEntry {
+ const outputFiles = Object.fromEntries(
+ Object.entries(OUTPUT_DIRECTORIES).map(([bucket, relativeDir]) => {
+ return [bucket, listFiles(path.join(pkg.dir, relativeDir), bucket as OutputBucketKey)];
+ })
+ ) as Record<OutputBucketKey, IFileSizeSummary[]>;
+ const outputs = Object.fromEntries(
+ Object.entries(outputFiles).map(([bucket, files]) => {
+ return [bucket, files.length > 0 ? summarizeFiles(files) : null];
+ })
+ ) as Record<OutputBucketKey, IDirectorySizeSummary | null>;
+ const files = Object.values(outputFiles).flat();
+
+ return {
+ built: files.length > 0,
+ name: pkg.packageJson.name,
+ outputs,
+ path: path.relative(ROOT_DIR, pkg.dir),
+ totals: summarizeFiles(files),
+ };
+}
+
+function buildPackageSizesReport(packages: IWorkspacePackage[]) {
+ const entries = packages.map(analyzePackage);
+
+ return {
+ generatedAt: new Date().toISOString(),
+ packages: entries,
+ scope: 'packages/*',
+ summary: {
+ builtPackageCount: entries.filter((entry) => entry.built).length,
+ totalPackageCount: entries.length,
+ totals: summarizeDirectoryTotals(entries.map((entry) => entry.totals)),
+ },
+ };
+}
+
+function formatBytes(bytes: number) {
+ if (bytes < 1024) {
+ return `${bytes} B`;
+ }
+
+ const units = ['KB', 'MB', 'GB'];
+ let value = bytes / 1024;
+ let unitIndex = 0;
+
+ while (value >= 1024 && unitIndex < units.length - 1) {
+ value /= 1024;
+ unitIndex += 1;
+ }
+
+ return `${value.toFixed(value >= 100 ? 0 : value >= 10 ? 1 : 2)} ${units[unitIndex]}`;
+}
+
+function buildVisualizationHtml(report: ReturnType<typeof buildPackageSizesReport>) {
+ const rows = [...report.packages].sort((left, right) => right.totals.rawBytes - left.totals.rawBytes);
+ const maxBytes = Math.max(...rows.map((row) => row.totals.rawBytes), 1);
+
+ const cards = rows.map((row) => {
+ const width = `${(row.totals.rawBytes / maxBytes) * 100}%`;
+ const outputs = (Object.entries(row.outputs) as Array<[OutputBucketKey, IDirectorySizeSummary | null]>)
+ .filter(([, summary]) => Boolean(summary))
+ .map(([bucket, summary]) => {
+ return `<span class="chip">${bucket}: ${formatBytes(summary?.rawBytes ?? 0)}</span>`;
+ })
+ .join('');
+
+ return `
+ <article class="card">
+ <div class="card-head">
+ <div>
+ <h2>${row.name}</h2>
+ <p>${row.path}</p>
+ </div>
+ <strong>${formatBytes(row.totals.rawBytes)}</strong>
+ </div>
+ <div class="bar"><span style="width:${width}"></span></div>
+ <div class="meta">
+ <span>${row.totals.fileCount} files</span>
+ <span>gzip ${formatBytes(row.totals.gzipBytes)}</span>
+ <span>brotli ${formatBytes(row.totals.brotliBytes)}</span>
+ </div>
+ <div class="chips">${outputs}</div>
+ </article>
+ `;
+ }).join('');
+
+ return `<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>Package Sizes</title>
+ <style>
+ :root {
+ --bg: #f4efe7;
+ --panel: #fffdf8;
+ --ink: #1d1a16;
+ --muted: #6f665c;
+ --line: #d9d0c4;
+ --bar: #0b7a75;
+ --bar-soft: #d6ecea;
+ }
+ * { box-sizing: border-box; }
+ body {
+ margin: 0;
+ font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
+ background:
+ radial-gradient(circle at top left, #fff8ec 0, transparent 28%),
+ linear-gradient(180deg, #efe6d7 0%, var(--bg) 100%);
+ color: var(--ink);
+ }
+ main {
+ width: min(1120px, calc(100vw - 32px));
+ margin: 0 auto;
+ padding: 40px 0 64px;
+ }
+ h1 {
+ margin: 0;
+ font-size: clamp(32px, 5vw, 56px);
+ line-height: 0.95;
+ letter-spacing: -0.04em;
+ }
+ .intro {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
+ gap: 12px;
+ margin: 24px 0 32px;
+ }
+ .stat {
+ padding: 16px 18px;
+ border: 1px solid var(--line);
+ border-radius: 18px;
+ background: rgba(255, 253, 248, 0.9);
+ backdrop-filter: blur(8px);
+ }
+ .stat strong {
+ display: block;
+ font-size: 24px;
+ margin-bottom: 4px;
+ }
+ .stat span {
+ color: var(--muted);
+ font-size: 13px;
+ }
+ .grid {
+ display: grid;
+ gap: 14px;
+ }
+ .card {
+ padding: 18px;
+ border: 1px solid var(--line);
+ border-radius: 20px;
+ background: var(--panel);
+ box-shadow: 0 12px 30px rgba(29, 26, 22, 0.06);
+ }
+ .card-head {
+ display: flex;
+ justify-content: space-between;
+ gap: 16px;
+ align-items: baseline;
+ }
+ .card-head h2 {
+ margin: 0;
+ font-size: 20px;
+ letter-spacing: -0.03em;
+ }
+ .card-head p {
+ margin: 6px 0 0;
+ color: var(--muted);
+ font-size: 13px;
+ }
+ .bar {
+ height: 12px;
+ margin: 14px 0 12px;
+ background: var(--bar-soft);
+ border-radius: 999px;
+ overflow: hidden;
+ }
+ .bar span {
+ display: block;
+ height: 100%;
+ background: linear-gradient(90deg, var(--bar), #16a394);
+ border-radius: inherit;
+ }
+ .meta, .chips {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px 10px;
+ }
+ .meta {
+ color: var(--muted);
+ font-size: 13px;
+ margin-bottom: 10px;
+ }
+ .chip {
+ padding: 6px 10px;
+ border-radius: 999px;
+ background: #f2ebe0;
+ color: #463d35;
+ font-size: 12px;
+ }
+ </style>
+</head>
+<body>
+ <main>
+ <h1>Package Size Report</h1>
+ <section class="intro">
+ <div class="stat">
+ <strong>${report.summary.totalPackageCount}</strong>
+ <span>packages in scope</span>
+ </div>
+ <div class="stat">
+ <strong>${report.summary.builtPackageCount}</strong>
+ <span>packages with build output</span>
+ </div>
+ <div class="stat">
+ <strong>${report.generatedAt}</strong>
+ <span>generated at</span>
+ </div>
+ </section>
+ <section class="grid">
+ ${cards}
+ </section>
+ </main>
+</body>
+</html>`;
+}
+
+function main() {
+ const report = buildPackageSizesReport(readWorkspacePackages());
+
+ fs.ensureDirSync(ARTIFACTS_DIR);
+ fs.writeJSONSync(path.join(ARTIFACTS_DIR, 'package-sizes.json'), report, {
+ EOL: '\n',
+ spaces: 4,
+ });
+ fs.writeFileSync(
+ path.join(ARTIFACTS_DIR, 'package-sizes.html'),
+ buildVisualizationHtml(report),
+ 'utf8'
+ );
+
+ console.log(`Wrote ${path.relative(ROOT_DIR, path.join(ARTIFACTS_DIR, 'package-sizes.json'))}`);
+ console.log(`Wrote ${path.relative(ROOT_DIR, path.join(ARTIFACTS_DIR, 'package-sizes.html'))}`);
+}
+
+main();
diff --git a/tests/formula-integration/package.json b/tests/formula-integration/package.json
index ff574614d1..15ba17f4d5 100644
--- a/tests/formula-integration/package.json
+++ b/tests/formula-integration/package.json
@@ -27,6 +27,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.9.3",
- "vitest": "^4.0.18"
+ "vitest": "^4.1.0"
}
}
diff --git a/tests/formula-integration/tsconfig.json b/tests/formula-integration/tsconfig.json
index c62210cbad..d4f9172636 100644
--- a/tests/formula-integration/tsconfig.json
+++ b/tests/formula-integration/tsconfig.json
@@ -4,6 +4,5 @@
"rootDir": "src",
"outDir": "lib/types"
},
- "references": [{ "path": "./tsconfig.node.json" }],
"include": ["src"]
}