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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: optimize build artifacts (#3983)
白熱c7338a68c74b
diff --git a/common/shared/package.json b/common/shared/package.jsonindex 99741bb2b7..458b4cdb88 100644--- a/common/shared/package.json+++ b/common/shared/package.json@@ -14,11 +14,13 @@"exports": {"./eslint": "./eslint/index.js","./tsconfigs/*": "./tsconfigs/*.json",- "./vite": "./vite/index.js"+ "./vite": "./vite/index.ts",+ "./vitest": "./vitest/index.js"},"dependencies": {- "@typescript-eslint/parser": "^8.12.2",+ "@typescript-eslint/parser": "^8.13.0","@vitejs/plugin-react": "^4.3.3",+ "@vitejs/plugin-vue": "^5.1.4","@vitest/coverage-istanbul": "^2.1.4","fs-extra": "^11.2.0","happy-dom": "15.0.0",@@ -27,5 +29,8 @@"vite-plugin-dts": "^4.3.0","vite-plugin-external": "^4.3.1","vitest": "^2.1.4"+ },+ "devDependencies": {+ "@types/fs-extra": "^11.0.4"}}diff --git a/common/shared/vite/auto-detected-external-plugin.ts b/common/shared/vite/auto-detected-external-plugin.tsnew file mode 100644index 0000000000..abefd70b64--- /dev/null+++ b/common/shared/vite/auto-detected-external-plugin.ts@@ -0,0 +1,99 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { convertLibNameFromPackageName } from './utils';++const peerDepsMap = {+ react: {+ global: 'React',+ name: 'react',+ version: '^16.9.0 || ^17.0.0 || ^18.0.0',+ },+ 'react/jsx-runtime': {+ global: 'react/jsx-runtime',+ name: 'react',+ version: 'react',+ },+ 'react-dom': {+ global: 'ReactDOM',+ name: 'react-dom',+ version: '^16.9.0 || ^17.0.0 || ^18.0.0',+ },+ rxjs: {+ global: 'rxjs',+ name: 'rxjs',+ version: '>=7.0.0',+ },+ 'rxjs/operators': {+ global: 'rxjs.operators',+ name: 'rxjs',+ version: 'rxjs',+ },+ vue: {+ global: 'Vue',+ name: 'vue',+ version: '>=3.0.0',+ optional: true,+ },+};++export function autoDetectedExternalPlugin(): Plugin {+ const globals = {};+ let hasCss = false;++ return {+ name: 'auto-detected-external',+ enforce: 'pre',+ apply: 'build',++ resolveId(source) {+ if (source.endsWith('.less') || source.endsWith('.css')) {+ hasCss = true;+ return null;+ }++ if (source in peerDepsMap) {+ globals[source] = peerDepsMap[source].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/auto-externalize-dependency-plugin.js b/common/shared/vite/auto-externalize-dependency-plugin.jsdeleted file mode 100644index 7622792843..0000000000--- a/common/shared/vite/auto-externalize-dependency-plugin.js+++ /dev/null@@ -1,142 +0,0 @@-/**- * Copyright 2023-present DreamNum Inc.- *- * 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.- */--const { writeFileSync } = require('node:fs');-const process = require('node:process');-const { convertLibNameFromPackageName } = require('./utils');--exports.autoExternalizeDependency = function autoExternalizeDependency() {- const externals = new Set();- const peers = new Set();- const globals = {};- let hasCss = false;-- const peerDepsMap = {- react: {- global: 'React',- name: 'react',- version: '^16.9.0 || ^17.0.0 || ^18.0.0',- },- 'react-dom': {- global: 'ReactDOM',- name: 'react-dom',- version: '^16.9.0 || ^17.0.0 || ^18.0.0',- },- rxjs: {- global: 'rxjs',- name: 'rxjs',- version: '>=7.0.0',- },- 'rxjs/operators': {- global: 'rxjs.operators',- name: 'rxjs',- version: 'rxjs',- },- vue: {- global: 'Vue',- name: 'vue',- version: '>=3.0.0',- optional: true,- },- };-- return {- name: 'auto-detected-external',- enforce: 'pre',- apply: 'build',-- resolveId(source) {- if (source.endsWith('.less') || source.endsWith('.css')) {- hasCss = true;- return null;- }-- if (source in peerDepsMap) {- peers.add(source);- globals[source] = peerDepsMap[source].global;-- return { id: source, external: true };- } else if (source.startsWith('@univerjs')) {- if (source === '@univerjs/icons') {- return null;- }- if (source === '@univerjs/protocol') {- return null;- }-- externals.add(source);-- globals[source] = convertLibNameFromPackageName(source);-- return { id: source, external: true };- }-- return null;- },-- outputOptions(opts) {- opts.globals = globals;-- if (hasCss) {- opts.assetFileNames = 'index.css';- }-- return opts;- },-- generateBundle() {- // generate peerDependencies- const pkg = require(`${process.cwd()}/package.json`);- const peerDependencies = {};- let optionalDependencies;-- Array.from(peers).sort().forEach((key) => {- const { version, name, optional } = peerDepsMap[key] ?? {};-- if (version) {- if (version !== name) {- if (optional) {- if (!optionalDependencies) {- optionalDependencies = {};- }- optionalDependencies[key] = version;- } else {- peerDependencies[key] = version;- }- } else {- if (!peerDependencies[version]) {- peerDependencies[name] = peerDepsMap[version].version;- }- }- } else {- peerDependencies[key] = 'workspace:*';- }- });-- if (Object.keys(peerDependencies).length) {- pkg.peerDependencies = peerDependencies;- }- if (optionalDependencies) {- pkg.optionalDependencies = optionalDependencies;- }-- writeFileSync(- `${process.cwd()}/package.json`,- `${JSON.stringify(pkg, null, 4)}\n`- );- },- };-};diff --git a/common/shared/vite/build-pkg.js b/common/shared/vite/build-pkg.tssimilarity index 96%rename from common/shared/vite/build-pkg.jsrename to common/shared/vite/build-pkg.tsindex f62cc93cf6..24030932de 100644--- a/common/shared/vite/build-pkg.js+++ b/common/shared/vite/build-pkg.ts@@ -14,11 +14,11 @@* limitations under the License.*/-const path = require('node:path');-const process = require('node:process');-const fs = require('fs-extra');+import path from 'node:path';+import process from 'node:process';+import fs from 'fs-extra';-exports.buildPkg = function buildPkg() {+export function buildPkg() {return {name: 'build-pkg',apply: 'build',diff --git a/common/shared/vite/build-umd.js b/common/shared/vite/build-umd.jsdeleted file mode 100644index 916ff9c5d0..0000000000--- a/common/shared/vite/build-umd.js+++ /dev/null@@ -1,126 +0,0 @@-/**- * Copyright 2023-present DreamNum Inc.- *- * 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.- */--const path = require('node:path');-const process = require('node:process');-const react = require('@vitejs/plugin-react');-const vue = require('@vitejs/plugin-vue');-const fs = require('fs-extra');-const { build, mergeConfig } = require('vite');-const vitePluginExternal = require('vite-plugin-external');--const { autoExternalizeDependency } = require('./auto-externalize-dependency-plugin');-const { obfuscator } = require('./obfuscator');-const { convertLibNameFromPackageName } = require('./utils');--exports.buildUMD = function buildUMD() {- return {- name: 'build-umd',- apply: 'build',- enforce: 'post',- async buildEnd() {- const pkgPath = path.resolve(process.cwd(), 'package.json');-- if (!fs.existsSync(pkgPath)) {- return;- }-- const pkg = fs.readJSONSync(pkgPath);-- const basicConfig = {- configFile: false,- build: {- emptyOutDir: false,- target: 'chrome70',- lib: {- formats: ['umd'],- },- },- plugins: [- autoExternalizeDependency(),- vitePluginExternal({- nodeBuiltins: true,- }),- react(),- vue(),- ],- define: {- 'process.env.NODE_ENV': JSON.stringify('production'),- 'process.env.BUILD_TIMESTAMP': JSON.stringify(Number.parseInt(Date.now() / 1000)),- },- css: {- modules: {- localsConvention: 'camelCaseOnly',- generateScopedName: 'univer-[local]',- },- },- };-- if (!pkg.name.startsWith('@univerjs/')) {- basicConfig.plugins.push(obfuscator());- }-- await build(mergeConfig({- build: {- outDir: 'lib',- lib: {- entry: path.resolve(process.cwd(), 'src/index.ts'),- name: convertLibNameFromPackageName(pkg.name),- fileName: () => 'umd/index.js',- },- },- }, basicConfig));-- const facadeEntry = path.resolve(process.cwd(), 'src/facade/index.ts');- if (fs.existsSync(facadeEntry)) {- await build(mergeConfig({- build: {- outDir: 'lib',- lib: {- entry: path.resolve(process.cwd(), 'src/facade/index.ts'),- name: convertLibNameFromPackageName(`${pkg.name}Facade`),- fileName: () => 'umd/facade.js',- },- },- }, basicConfig));- }-- const localeDir = path.resolve(process.cwd(), 'src/locale');- if (fs.existsSync(localeDir)) {- const locales = fs.readdirSync(localeDir);-- for (const file of locales) {- if (fs.statSync(path.resolve(localeDir, file)).isDirectory()) {- continue;- }-- const localeValue = file.replace('.ts', '');-- await build(mergeConfig({- build: {- outDir: 'lib/umd',- lib: {- entry: path.resolve(process.cwd(), path.resolve(localeDir, file)),- name: convertLibNameFromPackageName(`${pkg.name}-${localeValue}`),- fileName: () => `locale/${localeValue}.js`,- },- },- }, basicConfig));- }- }- },- };-};diff --git a/common/shared/vite/index.js b/common/shared/vite/index.jsdeleted file mode 100644index e77f1570d9..0000000000--- a/common/shared/vite/index.js+++ /dev/null@@ -1,187 +0,0 @@-/**- * Copyright 2023-present DreamNum Inc.- *- * 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.- */--const path = require('node:path');-const process = require('node:process');-const react = require('@vitejs/plugin-react');-const fs = require('fs-extra');-const { default: dts } = require('vite-plugin-dts');--const vitePluginExternal = require('vite-plugin-external');-const { defineConfig, mergeConfig } = require('vitest/config');--const { autoExternalizeDependency } = require('./auto-externalize-dependency-plugin');-const { buildPkg } = require('./build-pkg');-const { buildUMD } = require('./build-umd');-const { obfuscator } = require('./obfuscator');-const { convertLibNameFromPackageName } = require('./utils');--/**- * IFeatures- * @typedef {object} IFeatures - features- * @property {boolean} react - whether to use react- * @property {boolean} css - whether to use css- * @property {boolean} dom - whether to use dom- * @property {'ignore' | undefined} umd - whether to use vue- */--/**- * IOptions- * @typedef {object} IOptions - options of shared vite config- * @property {string} mode - mode of vite- * @property {object} pkg - package.json- * @property {IFeatures} features - package.json- */--function createViteConfig(overrideConfig, /** @type {IOptions} */ options) {- const { mode, pkg, features = {} } = options;-- const dirname = process.cwd();-- /** @type {import('vite').UserConfig} */- const originalConfig = {- esbuild: {},- build: {- emptyOutDir: false,- target: 'chrome70',- outDir: 'lib',- lib: {- entry: {- index: path.resolve(dirname, 'src/index.ts'),- },- name: convertLibNameFromPackageName(pkg.name),- fileName: (format, entryName) => {- if (entryName.startsWith('locale/')) {- return `${entryName}.js`;- } else {- return `${format}/${entryName}.js`;- }- },- formats: ['es'],- },- },- plugins: [- autoExternalizeDependency(),- vitePluginExternal({- nodeBuiltins: true, // exclude Node.js builtins from bundling- }),- dts({- entryRoot: 'src',- outDir: 'lib/types',- clearPureImport: false,- }),- buildPkg(),- ],- define: {- 'process.env.NODE_ENV': JSON.stringify(mode),- 'process.env.BUILD_TIMESTAMP': JSON.stringify(Number.parseInt(Date.now() / 1000)),- },- test: {- css: {- modules: {- classNameStrategy: 'non-scoped',- },- },- coverage: {- reporter: ['html', 'json'],- provider: 'custom',- customProviderModule: require.resolve('@vitest/coverage-istanbul'),- exclude: [- 'coverage/**',- 'dist/**',- '**/[.]**',- 'packages/*/test?(s)/**',- '**/*.d.ts',- '**/virtual:*',- '**/__x00__*',- '**/\x00*',- 'cypress/**',- 'test?(s)/**',- 'test?(-*).?(c|m)[jt]s?(x)',- '**/*{.,-}{test,spec}?(-d).?(c|m)[jt]s?(x)',- '**/__test?(s)__/**',- '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',- '**/vitest.{workspace,projects}.[jt]s?(on)',- '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}',- 'lib/**',- 'src/locale/**',- '**/*.stories.tsx',- '**/__testing__/**',- ],- },- },- };-- const facadeEntry = path.resolve(dirname, 'src/facade/index.ts');- if (fs.existsSync(facadeEntry)) {- originalConfig.build.lib.entry.facade = facadeEntry;- }-- const localeDir = path.resolve(process.cwd(), 'src/locale');- if (fs.existsSync(localeDir)) {- const locales = fs.readdirSync(localeDir);-- for (const file of locales) {- if (fs.statSync(path.resolve(localeDir, file)).isDirectory()) {- continue;- }- const localeValue = file.replace('.ts', '');- originalConfig.build.lib.entry[`locale/${localeValue}`] = path.resolve(localeDir, file);- }- }-- if (process.env.APP_TYPE === 'staging') {- originalConfig.build.sourcemap = true;-- originalConfig.esbuild.minifyIdentifiers = false;- originalConfig.esbuild.keepNames = true;- } else {- if (pkg.name.startsWith('@univerjs/')) {- originalConfig.esbuild.minifyIdentifiers = false;- originalConfig.esbuild.keepNames = true;- } else {- originalConfig.plugins.push(obfuscator());- }- }-- if (features.react) {- originalConfig.plugins.push(react());- }-- if (features.css) {- originalConfig.css = {- modules: {- localsConvention: 'camelCaseOnly',- generateScopedName: 'univer-[local]',- },- };- }-- if (features.dom) {- originalConfig.test.environment = 'happy-dom';- }-- if (features.umd !== 'ignore') {- originalConfig.plugins.push(buildUMD());- }-- return mergeConfig(- defineConfig(originalConfig),- overrideConfig- );-};--module.exports = createViteConfig;diff --git a/common/shared/vite/index.ts b/common/shared/vite/index.tsnew file mode 100644index 0000000000..18689d24ce--- /dev/null+++ b/common/shared/vite/index.ts@@ -0,0 +1,191 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { convertLibNameFromPackageName, obfuscator } from './utils';++interface IBuildExecuterOptions {+ pkg: Record<string, any>;+ entry: Record<string, string>;+ isPro: boolean;+}++async function buildESM(sharedConfig: InlineConfig, options: IBuildExecuterOptions) {+ const { entry, isPro } = 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: () => `es/${key}.js`,+ formats: ['es'],+ },+ rollupOptions: {+ output: {+ inlineDynamicImports: true,+ },+ },+ },+ plugins: [+ key === 'index'+ ? dts({+ entryRoot: 'src',+ outDir: 'lib/types',+ clearPureImport: false,+ rollupTypes: isPro,+ })+ : null,+ ],+ });++ return viteBuild(config);+ }));+}++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) => {+ const config: InlineConfig = mergeConfig(sharedConfig, {+ build: {+ emptyOutDir: false,+ outDir: 'lib',+ lib: {+ entry: {+ [key]: entry[key],+ },+ name: convertLibNameFromPackageName(pkg.name),+ fileName: () => `umd/${key}.js`,+ formats: ['umd'],+ },+ },+ });++ return viteBuild(config);+ }));+}++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;+}++export async function build(options?: IBuildOptions) {+ const { skipUMD = false } = options ?? {};++ 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',+ },+ define: {+ 'process.env.NODE_ENV': JSON.stringify('production'),+ 'process.env.BUILD_TIMESTAMP': JSON.stringify(Math.floor(Date.now() / 1000)),+ },+ css: {+ modules: {+ localsConvention: 'camelCaseOnly',+ generateScopedName: 'univer-[local]',+ },+ },+ plugins: [+ 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/obfuscator.js b/common/shared/vite/utils.tssimilarity index 77%rename from common/shared/vite/obfuscator.jsrename to common/shared/vite/utils.tsindex 61dd0fc919..bb3c754d71 100644--- a/common/shared/vite/obfuscator.js+++ b/common/shared/vite/utils.ts@@ -14,18 +14,27 @@* limitations under the License.*/-const JavaScriptObfuscator = require('javascript-obfuscator');+import type { Plugin } from 'vite';+import JavaScriptObfuscator from 'javascript-obfuscator';-exports.obfuscator = function obfuscator() {+export function convertLibNameFromPackageName(name: string) {+ return name+ .replace(/^@univerjs(?:-[^/]+)?\//, 'univer-')+ .split('-')+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1))+ .join('');+};++export function obfuscator(): Plugin {return {name: 'obfuscator',enforce: 'post',async generateBundle(_options, bundle) {- // debug mode// eslint-disable-next-line node/prefer-global/processif (process.env.NODE_ENV === 'development') {return;}+for (const file in bundle) {if (bundle[file].type === 'chunk' && /\.js$/.test(file)) {const code = bundle[file].code;diff --git a/common/shared/vitest/index.js b/common/shared/vitest/index.jsnew file mode 100644index 0000000000..19b27629d9--- /dev/null+++ b/common/shared/vitest/index.js@@ -0,0 +1,59 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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.+ */++const { defineConfig, mergeConfig } = require('vitest/config');++function createConfig(options) {+ return defineConfig(mergeConfig({+ test: {+ css: {+ modules: {+ classNameStrategy: 'non-scoped',+ },+ },+ environment: 'happy-dom',+ coverage: {+ reporter: ['html', 'json'],+ provider: 'custom',+ customProviderModule: require.resolve('@vitest/coverage-istanbul'),+ exclude: [+ 'coverage/**',+ 'dist/**',+ '**/[.]**',+ 'packages/*/test?(s)/**',+ '**/*.d.ts',+ '**/virtual:*',+ '**/__x00__*',+ '**/\x00*',+ 'cypress/**',+ 'test?(s)/**',+ 'test?(-*).?(c|m)[jt]s?(x)',+ '**/*{.,-}{test,spec}?(-d).?(c|m)[jt]s?(x)',+ '**/__test?(s)__/**',+ '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',+ '**/vitest.{workspace,projects}.[jt]s?(on)',+ '**/.{eslint,mocha,prettier}rc.{?(c|m)js,yml}',+ 'lib/**',+ 'src/locale/**',+ '**/*.stories.tsx',+ '**/__testing__/**',+ ],+ },+ },+ }, options));+}++module.exports = createConfig;diff --git a/eslint.config.js b/eslint.config.jsindex 8b6d56c0ba..ceea52fa8f 100644--- a/eslint.config.js+++ b/eslint.config.js@@ -47,7 +47,7 @@ export default antfu({},}, {files: ['**/*.ts', '**/*.tsx'],- ignores: ['**/*.d.ts', '**/vite.config.ts', 'playwright.config.ts'],+ ignores: ['**/*.d.ts', '**/vite.config.ts', '**/vitest.config.ts', 'playwright.config.ts'],plugins: {header,barrel,diff --git a/examples/package.json b/examples/package.jsonindex 12396b86dc..06877a8cdd 100644--- a/examples/package.json+++ b/examples/package.json@@ -29,7 +29,7 @@"@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*","@univerjs/find-replace": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/mockdata": "workspace:*","@univerjs/rpc": "workspace:*","@univerjs/sheets": "workspace:*",diff --git a/package.json b/package.jsonindex 3199ca3a79..8c3c8b9b90 100644--- a/package.json+++ b/package.json@@ -30,7 +30,7 @@"lint:types": "turbo lint:types","test": "turbo test -- --passWithNoTests","coverage": "turbo coverage -- --passWithNoTests",- "build": "turbo build --no-cache --concurrency=50% --filter=!./common/*",+ "build": "turbo build --no-cache --concurrency=30% --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",@@ -70,6 +70,7 @@"react-dom": "18.3.1","release-it": "^17.10.0","serve": "^14.2.4",+ "tsx": "^4.19.2","turbo": "^2.2.3","typescript": "^5.6.3"},diff --git a/common/shared/vite/utils.js b/packages-experimental/action-recorder/build.tssimilarity index 53%rename from common/shared/vite/utils.jsrename to packages-experimental/action-recorder/build.tsindex b2a06169ce..cdb3dc98ea 100644--- a/common/shared/vite/utils.js+++ b/packages-experimental/action-recorder/build.ts@@ -14,18 +14,6 @@* limitations under the License.*/-/**- * Convert package name to library name- * @examples `@univerjs/core` -> `UniverCore`- * @examples `@univerjs/foo-bar-baz` -> `UniverFooBarBaz`- * @examples `@univerjs-foo/bar` -> `UniverBar`- * @param {*} name package name- * @returns {string} library name- */-exports.convertLibNameFromPackageName = function convertLibNameFromPackageName(name) {- return name- .replace(/^@univerjs(?:-[^/]+)?\//, 'univer-')- .split('-')- .map((word) => word.charAt(0).toUpperCase() + word.slice(1))- .join('');-};+import { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages-experimental/action-recorder/package.json b/packages-experimental/action-recorder/package.jsonindex cce75eb1f5..b5a4d3ba42 100644--- a/packages-experimental/action-recorder/package.json+++ b/packages-experimental/action-recorder/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -65,7 +68,7 @@"dependencies": {"@univerjs/core": "workspace:*","@univerjs/design": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-filter": "workspace:*","@univerjs/sheets-ui": "workspace:*",diff --git a/packages-experimental/action-recorder/tsconfig.node.json b/packages-experimental/action-recorder/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/action-recorder/tsconfig.node.json+++ b/packages-experimental/action-recorder/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/action-recorder/vite.config.ts b/packages-experimental/action-recorder/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages-experimental/action-recorder/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages-experimental/action-recorder/vitest.config.ts b/packages-experimental/action-recorder/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/action-recorder/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages-experimental/debugger/build.ts b/packages-experimental/debugger/build.tsnew file mode 100644index 0000000000..13a92fc54c--- /dev/null+++ b/packages-experimental/debugger/build.ts@@ -0,0 +1,21 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build({+ skipUMD: true,+});diff --git a/packages-experimental/debugger/package.json b/packages-experimental/debugger/package.jsonindex 094a66dcc5..d525274581 100644--- a/packages-experimental/debugger/package.json+++ b/packages-experimental/debugger/package.json@@ -31,10 +31,12 @@"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/*"@@ -48,7 +50,7 @@],"scripts": {"lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",diff --git a/packages-experimental/debugger/tsconfig.node.json b/packages-experimental/debugger/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/debugger/tsconfig.node.json+++ b/packages-experimental/debugger/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/debugger/vite.config.ts b/packages-experimental/debugger/vite.config.tsdeleted file mode 100644index 7c86dc59e1..0000000000--- a/packages-experimental/debugger/vite.config.ts+++ /dev/null@@ -1,17 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import vue from '@vitejs/plugin-vue';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({- plugins: [vue()],-}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- umd: 'ignore',- },-});-diff --git a/packages-experimental/debugger/vitest.config.ts b/packages-experimental/debugger/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/debugger/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages-experimental/uni-docs-ui/build.ts b/packages-experimental/uni-docs-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages-experimental/uni-docs-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages-experimental/uni-docs-ui/package.json b/packages-experimental/uni-docs-ui/package.jsonindex 8c6c213b57..c02c15d2cf 100644--- a/packages-experimental/uni-docs-ui/package.json+++ b/packages-experimental/uni-docs-ui/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"@@ -63,7 +65,7 @@"@univerjs/docs-drawing-ui": "workspace:*","@univerjs/docs-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/ui": "workspace:*","@univerjs/uniui": "workspace:*","clsx": "^2.1.1"diff --git a/packages-experimental/uni-docs-ui/tsconfig.node.json b/packages-experimental/uni-docs-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/uni-docs-ui/tsconfig.node.json+++ b/packages-experimental/uni-docs-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/uni-docs-ui/vite.config.ts b/packages-experimental/uni-docs-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages-experimental/uni-docs-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages-experimental/uni-docs-ui/vitest.config.ts b/packages-experimental/uni-docs-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/uni-docs-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages-experimental/uni-formula-ui/build.ts b/packages-experimental/uni-formula-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages-experimental/uni-formula-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages-experimental/uni-formula-ui/package.json b/packages-experimental/uni-formula-ui/package.jsonindex e573a460c0..389f75a034 100644--- a/packages-experimental/uni-formula-ui/package.json+++ b/packages-experimental/uni-formula-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -68,7 +71,7 @@"@univerjs/docs": "workspace:*","@univerjs/docs-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/rpc": "workspace:*","@univerjs/sheets-formula": "workspace:*","@univerjs/sheets-formula-ui": "workspace:*",diff --git a/packages-experimental/uni-formula-ui/tsconfig.node.json b/packages-experimental/uni-formula-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/uni-formula-ui/tsconfig.node.json+++ b/packages-experimental/uni-formula-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/uni-formula-ui/vite.config.ts b/packages-experimental/uni-formula-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages-experimental/uni-formula-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages-experimental/uni-formula-ui/vitest.config.ts b/packages-experimental/uni-formula-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/uni-formula-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages-experimental/uni-formula/build.ts b/packages-experimental/uni-formula/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages-experimental/uni-formula/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages-experimental/uni-formula/package.json b/packages-experimental/uni-formula/package.jsonindex 460d8c6db6..0ebb597741 100644--- a/packages-experimental/uni-formula/package.json+++ b/packages-experimental/uni-formula/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,12 +53,12 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"dependencies": {"@univerjs/core": "workspace:*","@univerjs/docs": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","clsx": "^2.1.1"},"devDependencies": {diff --git a/packages-experimental/uni-formula/tsconfig.node.json b/packages-experimental/uni-formula/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/uni-formula/tsconfig.node.json+++ b/packages-experimental/uni-formula/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/uni-formula/vite.config.ts b/packages-experimental/uni-formula/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages-experimental/uni-formula/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages-experimental/uni-formula/vitest.config.ts b/packages-experimental/uni-formula/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/uni-formula/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages-experimental/uni-sheets-ui/build.ts b/packages-experimental/uni-sheets-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages-experimental/uni-sheets-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages-experimental/uni-sheets-ui/package.json b/packages-experimental/uni-sheets-ui/package.jsonindex 68e83b5772..debf64e913 100644--- a/packages-experimental/uni-sheets-ui/package.json+++ b/packages-experimental/uni-sheets-ui/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -62,7 +64,7 @@"@univerjs/design": "workspace:*","@univerjs/docs": "workspace:*","@univerjs/docs-ui": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-drawing-ui": "workspace:*","@univerjs/sheets-ui": "workspace:*",diff --git a/packages-experimental/uni-sheets-ui/tsconfig.node.json b/packages-experimental/uni-sheets-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/uni-sheets-ui/tsconfig.node.json+++ b/packages-experimental/uni-sheets-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/uni-sheets-ui/vite.config.ts b/packages-experimental/uni-sheets-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages-experimental/uni-sheets-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages-experimental/uni-sheets-ui/vitest.config.ts b/packages-experimental/uni-sheets-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/uni-sheets-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages-experimental/uni-slides-ui/build.ts b/packages-experimental/uni-slides-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages-experimental/uni-slides-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages-experimental/uni-slides-ui/package.json b/packages-experimental/uni-slides-ui/package.jsonindex 7e0e9a8b3e..698746ac2f 100644--- a/packages-experimental/uni-slides-ui/package.json+++ b/packages-experimental/uni-slides-ui/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0"@@ -60,7 +62,7 @@"@univerjs/core": "workspace:*","@univerjs/design": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/slides": "workspace:*","@univerjs/slides-ui": "workspace:*","@univerjs/ui": "workspace:*",diff --git a/packages-experimental/uni-slides-ui/tsconfig.node.json b/packages-experimental/uni-slides-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/uni-slides-ui/tsconfig.node.json+++ b/packages-experimental/uni-slides-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/uni-slides-ui/vite.config.ts b/packages-experimental/uni-slides-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages-experimental/uni-slides-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages-experimental/uni-slides-ui/vitest.config.ts b/packages-experimental/uni-slides-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/uni-slides-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages-experimental/uniui/build.ts b/packages-experimental/uniui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages-experimental/uniui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages-experimental/uniui/package.json b/packages-experimental/uniui/package.jsonindex b5b568b559..4bbe4c53b8 100644--- a/packages-experimental/uniui/package.json+++ b/packages-experimental/uniui/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -66,7 +68,7 @@"@univerjs/design": "workspace:*","@univerjs/docs-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-ui": "workspace:*","@univerjs/ui": "workspace:*",diff --git a/packages-experimental/uniui/tsconfig.node.json b/packages-experimental/uniui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages-experimental/uniui/tsconfig.node.json+++ b/packages-experimental/uniui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages-experimental/uniui/vite.config.ts b/packages-experimental/uniui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages-experimental/uniui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages-experimental/uniui/vitest.config.ts b/packages-experimental/uniui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages-experimental/uniui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/core/build.ts b/packages/core/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/core/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/core/package.json b/packages/core/package.jsonindex 5295272ea8..b3eee46714 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",diff --git a/packages/core/tsconfig.node.json b/packages/core/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/core/tsconfig.node.json+++ b/packages/core/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/core/vite.config.ts b/packages/core/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/core/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/core/vitest.config.ts b/packages/core/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/core/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/data-validation/build.ts b/packages/data-validation/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/data-validation/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/data-validation/package.json b/packages/data-validation/package.jsonindex 6fbf1be782..80e7d2ae1e 100644--- a/packages/data-validation/package.json+++ b/packages/data-validation/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test": "vitest run","test:watch": "vitest","coverage": "vitest run --coverage",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/data-validation/tsconfig.node.json b/packages/data-validation/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/data-validation/tsconfig.node.json+++ b/packages/data-validation/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/data-validation/vite.config.ts b/packages/data-validation/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/data-validation/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/data-validation/vitest.config.ts b/packages/data-validation/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/data-validation/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/design/build.ts b/packages/design/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/design/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/design/package.json b/packages/design/package.jsonindex e636411610..9aca096c02 100644--- a/packages/design/package.json+++ b/packages/design/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -68,7 +71,7 @@"@rc-component/color-picker": "^2.0.1","@rc-component/trigger": "^2.2.3","@types/react-mentions": "^4.4.0",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","clsx": "^2.1.1","dayjs": "^1.11.13","rc-dialog": "^9.6.0",diff --git a/packages/design/tsconfig.node.json b/packages/design/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/design/tsconfig.node.json+++ b/packages/design/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/design/vite.config.ts b/packages/design/vite.config.tsindex 04e4e3b060..cdb3dc98ea 100644--- a/packages/design/vite.config.ts+++ b/packages/design/vite.config.ts@@ -1,12 +1,19 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});+import { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/design/vitest.config.ts b/packages/design/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/design/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs-drawing-ui/build.ts b/packages/docs-drawing-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs-drawing-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.jsonindex d3e5a62030..56586380d0 100644--- a/packages/docs-drawing-ui/package.json+++ b/packages/docs-drawing-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -71,7 +74,7 @@"@univerjs/drawing": "workspace:*","@univerjs/drawing-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/ui": "workspace:*","clsx": "^2.1.1"},diff --git a/packages/docs-drawing-ui/tsconfig.node.json b/packages/docs-drawing-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs-drawing-ui/tsconfig.node.json+++ b/packages/docs-drawing-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs-drawing-ui/vite.config.ts b/packages/docs-drawing-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/docs-drawing-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/docs-drawing-ui/vitest.config.ts b/packages/docs-drawing-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs-drawing-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs-drawing/build.ts b/packages/docs-drawing/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs-drawing/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs-drawing/package.json b/packages/docs-drawing/package.jsonindex 8bc645b6e1..577661e25a 100644--- a/packages/docs-drawing/package.json+++ b/packages/docs-drawing/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"dependencies": {"@univerjs/core": "workspace:*",diff --git a/packages/docs-drawing/tsconfig.node.json b/packages/docs-drawing/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs-drawing/tsconfig.node.json+++ b/packages/docs-drawing/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs-drawing/vite.config.ts b/packages/docs-drawing/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/docs-drawing/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/docs-drawing/vitest.config.ts b/packages/docs-drawing/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs-drawing/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs-hyper-link-ui/build.ts b/packages/docs-hyper-link-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs-hyper-link-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs-hyper-link-ui/package.json b/packages/docs-hyper-link-ui/package.jsonindex 5f137c7d01..4aecd1dc24 100644--- a/packages/docs-hyper-link-ui/package.json+++ b/packages/docs-hyper-link-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -69,7 +72,7 @@"@univerjs/docs-hyper-link": "workspace:*","@univerjs/docs-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/ui": "workspace:*","clsx": "^2.1.1"},diff --git a/packages/docs-hyper-link-ui/tsconfig.node.json b/packages/docs-hyper-link-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs-hyper-link-ui/tsconfig.node.json+++ b/packages/docs-hyper-link-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs-hyper-link-ui/vite.config.ts b/packages/docs-hyper-link-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/docs-hyper-link-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/docs-hyper-link-ui/vitest.config.ts b/packages/docs-hyper-link-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs-hyper-link-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs-hyper-link/build.ts b/packages/docs-hyper-link/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs-hyper-link/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs-hyper-link/package.json b/packages/docs-hyper-link/package.jsonindex 0bfb5b2955..00f9a649e4 100644--- a/packages/docs-hyper-link/package.json+++ b/packages/docs-hyper-link/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,11 +53,11 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"dependencies": {"@univerjs/core": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@vitejs/plugin-react": "4.3.3"},"devDependencies": {diff --git a/packages/docs-hyper-link/tsconfig.node.json b/packages/docs-hyper-link/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs-hyper-link/tsconfig.node.json+++ b/packages/docs-hyper-link/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs-hyper-link/vite.config.ts b/packages/docs-hyper-link/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/docs-hyper-link/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/docs-hyper-link/vitest.config.ts b/packages/docs-hyper-link/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs-hyper-link/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs-mention-ui/build.ts b/packages/docs-mention-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs-mention-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs-mention-ui/package.json b/packages/docs-mention-ui/package.jsonindex bdc665ea85..a780fa8334 100644--- a/packages/docs-mention-ui/package.json+++ b/packages/docs-mention-ui/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",diff --git a/packages/docs-mention-ui/tsconfig.node.json b/packages/docs-mention-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs-mention-ui/tsconfig.node.json+++ b/packages/docs-mention-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs-mention-ui/vite.config.ts b/packages/docs-mention-ui/vite.config.tsdeleted file mode 100644index b78b9a8548..0000000000--- a/packages/docs-mention-ui/vite.config.ts+++ /dev/null@@ -1,13 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({-}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/docs-mention-ui/vitest.config.ts b/packages/docs-mention-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs-mention-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs-thread-comment-ui/build.ts b/packages/docs-thread-comment-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs-thread-comment-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs-thread-comment-ui/package.json b/packages/docs-thread-comment-ui/package.jsonindex fd03bba34d..7f51cb8893 100644--- a/packages/docs-thread-comment-ui/package.json+++ b/packages/docs-thread-comment-ui/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -64,7 +66,7 @@"@univerjs/docs-ui": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/thread-comment": "workspace:*","@univerjs/thread-comment-ui": "workspace:*","@univerjs/ui": "workspace:*",diff --git a/packages/docs-thread-comment-ui/tsconfig.node.json b/packages/docs-thread-comment-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs-thread-comment-ui/tsconfig.node.json+++ b/packages/docs-thread-comment-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs-thread-comment-ui/vite.config.ts b/packages/docs-thread-comment-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/docs-thread-comment-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/docs-thread-comment-ui/vitest.config.ts b/packages/docs-thread-comment-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs-thread-comment-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs-ui/build.ts b/packages/docs-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.jsonindex 93dac03b1f..e3c0b4ad64 100644--- a/packages/docs-ui/package.json+++ b/packages/docs-ui/package.json@@ -35,10 +35,12 @@"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/*",@@ -63,7 +65,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -75,7 +77,7 @@"@univerjs/docs": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/ui": "workspace:*","clsx": "^2.1.1"},diff --git a/packages/docs-ui/tsconfig.node.json b/packages/docs-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs-ui/tsconfig.node.json+++ b/packages/docs-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs-ui/vite.config.ts b/packages/docs-ui/vite.config.tsdeleted file mode 100644index b78b9a8548..0000000000--- a/packages/docs-ui/vite.config.ts+++ /dev/null@@ -1,13 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({-}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/docs-ui/vitest.config.ts b/packages/docs-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/docs/build.ts b/packages/docs/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/docs/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/docs/package.json b/packages/docs/package.jsonindex c0284d2863..3239c114d5 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/docs/tsconfig.node.json b/packages/docs/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/docs/tsconfig.node.json+++ b/packages/docs/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/docs/vite.config.ts b/packages/docs/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/docs/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/docs/vitest.config.ts b/packages/docs/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/docs/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/drawing-ui/build.ts b/packages/drawing-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/drawing-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.jsonindex 0e334b617a..38a841cee3 100644--- a/packages/drawing-ui/package.json+++ b/packages/drawing-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -67,7 +70,7 @@"@univerjs/design": "workspace:*","@univerjs/drawing": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/ui": "workspace:*","clsx": "^2.1.1"},diff --git a/packages/drawing-ui/tsconfig.node.json b/packages/drawing-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/drawing-ui/tsconfig.node.json+++ b/packages/drawing-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/drawing-ui/vite.config.ts b/packages/drawing-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/drawing-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/drawing-ui/vitest.config.ts b/packages/drawing-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/drawing-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/drawing/build.ts b/packages/drawing/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/drawing/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/drawing/package.json b/packages/drawing/package.jsonindex a7f164a224..084ece5a97 100644--- a/packages/drawing/package.json+++ b/packages/drawing/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,14 +53,14 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"},"dependencies": {"@univerjs/core": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","ot-json1": "^1.0.2"},"devDependencies": {diff --git a/packages/drawing/tsconfig.node.json b/packages/drawing/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/drawing/tsconfig.node.json+++ b/packages/drawing/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/drawing/vite.config.ts b/packages/drawing/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/drawing/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/drawing/vitest.config.ts b/packages/drawing/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/drawing/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/engine-formula/build.ts b/packages/engine-formula/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/engine-formula/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/engine-formula/package.json b/packages/engine-formula/package.jsonindex 4b8386499c..acab36bd47 100644--- a/packages/engine-formula/package.json+++ b/packages/engine-formula/package.json@@ -34,10 +34,12 @@"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/*",@@ -58,7 +60,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/engine-formula/tsconfig.node.json b/packages/engine-formula/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/engine-formula/tsconfig.node.json+++ b/packages/engine-formula/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/engine-formula/vite.config.ts b/packages/engine-formula/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/engine-formula/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/engine-formula/vitest.config.ts b/packages/engine-formula/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/engine-formula/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/engine-numfmt/build.ts b/packages/engine-numfmt/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/engine-numfmt/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/engine-numfmt/package.json b/packages/engine-numfmt/package.jsonindex bf690f43be..91b0a00447 100644--- a/packages/engine-numfmt/package.json+++ b/packages/engine-numfmt/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"devDependencies": {"@univerjs-infra/shared": "workspace:*",diff --git a/packages/engine-numfmt/tsconfig.node.json b/packages/engine-numfmt/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/engine-numfmt/tsconfig.node.json+++ b/packages/engine-numfmt/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/engine-numfmt/vite.config.ts b/packages/engine-numfmt/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/engine-numfmt/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/engine-numfmt/vitest.config.ts b/packages/engine-numfmt/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/engine-numfmt/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/engine-render/build.ts b/packages/engine-render/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/engine-render/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/engine-render/package.json b/packages/engine-render/package.jsonindex 33e188778e..311b3cea04 100644--- a/packages/engine-render/package.json+++ b/packages/engine-render/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/engine-render/tsconfig.node.json b/packages/engine-render/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/engine-render/tsconfig.node.json+++ b/packages/engine-render/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/engine-render/vite.config.ts b/packages/engine-render/vite.config.tsdeleted file mode 100644index a496260a7a..0000000000--- a/packages/engine-render/vite.config.ts+++ /dev/null@@ -1,10 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- dom: true,- },-});diff --git a/packages/engine-render/vitest.config.ts b/packages/engine-render/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/engine-render/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/facade/build.ts b/packages/facade/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/facade/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/facade/package.json b/packages/facade/package.jsonindex 1bd49f4e0d..b16536c4d6 100644--- a/packages/facade/package.json+++ b/packages/facade/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/facade/tsconfig.node.json b/packages/facade/tsconfig.node.jsonindex 50ef1e6862..76bd0d5500 100644--- a/packages/facade/tsconfig.node.json+++ b/packages/facade/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts", "jest.setup.ts"]}diff --git a/packages/facade/vite.config.ts b/packages/facade/vite.config.tsdeleted file mode 100644index 64c673e473..0000000000--- a/packages/facade/vite.config.ts+++ /dev/null@@ -1,16 +0,0 @@-import { resolve } from 'node:path';-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({- test: {- setupFiles: [- resolve(__dirname, './jest.setup.ts'),- resolve(__dirname, './vitest.setup.ts'),- ],- environment: 'jsdom',- },-}, {- mode,- pkg,-});diff --git a/packages/facade/vitest.config.ts b/packages/facade/vitest.config.tsnew file mode 100644index 0000000000..0778a36a56--- /dev/null+++ b/packages/facade/vitest.config.ts@@ -0,0 +1,12 @@+import path from 'node:path';+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig({+ test: {+ setupFiles: [+ path.resolve(__dirname, './jest.setup.ts'),+ path.resolve(__dirname, './vitest.setup.ts'),+ ],+ environment: 'jsdom',+ },+});diff --git a/packages/find-replace/build.ts b/packages/find-replace/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/find-replace/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/find-replace/package.json b/packages/find-replace/package.jsonindex bc3a1b5748..c7ed48bb6e 100644--- a/packages/find-replace/package.json+++ b/packages/find-replace/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -69,7 +72,7 @@"@univerjs/design": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/ui": "workspace:*","@vitejs/plugin-react": "4.3.3"},diff --git a/packages/find-replace/tsconfig.node.json b/packages/find-replace/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/find-replace/tsconfig.node.json+++ b/packages/find-replace/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/find-replace/vite.config.ts b/packages/find-replace/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/find-replace/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/find-replace/vitest.config.ts b/packages/find-replace/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/find-replace/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/network/build.ts b/packages/network/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/network/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/network/package.json b/packages/network/package.jsonindex cd11cad406..373cd47527 100644--- a/packages/network/package.json+++ b/packages/network/package.json@@ -32,10 +32,12 @@"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/*"@@ -52,7 +54,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/network/tsconfig.node.json b/packages/network/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/network/tsconfig.node.json+++ b/packages/network/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/network/vite.config.ts b/packages/network/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/network/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/network/vitest.config.ts b/packages/network/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/network/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/rpc-node/build.ts b/packages/rpc-node/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/rpc-node/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/rpc-node/package.json b/packages/rpc-node/package.jsonindex a44ff7e006..701a97a8e0 100644--- a/packages/rpc-node/package.json+++ b/packages/rpc-node/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/rpc-node/tsconfig.node.json b/packages/rpc-node/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/rpc-node/tsconfig.node.json+++ b/packages/rpc-node/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/rpc-node/vite.config.ts b/packages/rpc-node/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/rpc-node/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/rpc-node/vitest.config.ts b/packages/rpc-node/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/rpc-node/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/rpc/build.ts b/packages/rpc/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/rpc/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/rpc/package.json b/packages/rpc/package.jsonindex 29b0020331..48a2837e02 100644--- a/packages/rpc/package.json+++ b/packages/rpc/package.json@@ -32,10 +32,12 @@"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/*"@@ -49,7 +51,7 @@],"scripts": {"lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/rpc/tsconfig.node.json b/packages/rpc/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/rpc/tsconfig.node.json+++ b/packages/rpc/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/rpc/vite.config.ts b/packages/rpc/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/rpc/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/rpc/vitest.config.ts b/packages/rpc/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/rpc/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-conditional-formatting-ui/build.ts b/packages/sheets-conditional-formatting-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-conditional-formatting-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.jsonindex 9e6e2fa3c9..c661f97a83 100644--- a/packages/sheets-conditional-formatting-ui/package.json+++ b/packages/sheets-conditional-formatting-ui/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -71,7 +74,7 @@"@univerjs/docs-ui": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/protocol": "0.1.39-alpha.38","@univerjs/sheets": "workspace:*","@univerjs/sheets-conditional-formatting": "workspace:*",diff --git a/packages/sheets-conditional-formatting-ui/tsconfig.node.json b/packages/sheets-conditional-formatting-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-conditional-formatting-ui/tsconfig.node.json+++ b/packages/sheets-conditional-formatting-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-conditional-formatting-ui/vite.config.ts b/packages/sheets-conditional-formatting-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-conditional-formatting-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-conditional-formatting-ui/vitest.config.ts b/packages/sheets-conditional-formatting-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-conditional-formatting-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-conditional-formatting/build.ts b/packages/sheets-conditional-formatting/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-conditional-formatting/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.jsonindex 8895b1f686..575b078906 100644--- a/packages/sheets-conditional-formatting/package.json+++ b/packages/sheets-conditional-formatting/package.json@@ -33,10 +33,12 @@"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/*"@@ -54,7 +56,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets-conditional-formatting/tsconfig.node.json b/packages/sheets-conditional-formatting/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-conditional-formatting/tsconfig.node.json+++ b/packages/sheets-conditional-formatting/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-conditional-formatting/vite.config.ts b/packages/sheets-conditional-formatting/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-conditional-formatting/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-conditional-formatting/vitest.config.ts b/packages/sheets-conditional-formatting/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-conditional-formatting/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-crosshair-highlight/build.ts b/packages/sheets-crosshair-highlight/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-crosshair-highlight/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-crosshair-highlight/package.json b/packages/sheets-crosshair-highlight/package.jsonindex 75f9753a2b..ab1c51a844 100644--- a/packages/sheets-crosshair-highlight/package.json+++ b/packages/sheets-crosshair-highlight/package.json@@ -33,10 +33,12 @@"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/*",@@ -61,7 +63,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -70,7 +72,7 @@"dependencies": {"@univerjs/core": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-ui": "workspace:*","@univerjs/ui": "workspace:*",diff --git a/packages/sheets-crosshair-highlight/tsconfig.node.json b/packages/sheets-crosshair-highlight/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-crosshair-highlight/tsconfig.node.json+++ b/packages/sheets-crosshair-highlight/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-crosshair-highlight/vite.config.ts b/packages/sheets-crosshair-highlight/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/sheets-crosshair-highlight/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/sheets-crosshair-highlight/vitest.config.ts b/packages/sheets-crosshair-highlight/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-crosshair-highlight/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-data-validation-ui/build.ts b/packages/sheets-data-validation-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-data-validation-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-data-validation-ui/package.json b/packages/sheets-data-validation-ui/package.jsonindex fa16362a9a..102f2c0384 100644--- a/packages/sheets-data-validation-ui/package.json+++ b/packages/sheets-data-validation-ui/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test": "vitest run","test:watch": "vitest","coverage": "vitest run --coverage",- "build": "tsc && vite build",+ "build": "tsx build.ts","lint:types": "tsc --noEmit"},"peerDependencies": {@@ -74,7 +77,7 @@"@univerjs/docs-ui": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/protocol": "0.1.39-alpha.38","@univerjs/sheets": "workspace:*","@univerjs/sheets-data-validation": "workspace:*",diff --git a/packages/sheets-data-validation-ui/tsconfig.node.json b/packages/sheets-data-validation-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-data-validation-ui/tsconfig.node.json+++ b/packages/sheets-data-validation-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-data-validation-ui/vite.config.ts b/packages/sheets-data-validation-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-data-validation-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-data-validation-ui/vitest.config.ts b/packages/sheets-data-validation-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-data-validation-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-data-validation/build.ts b/packages/sheets-data-validation/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-data-validation/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-data-validation/package.json b/packages/sheets-data-validation/package.jsonindex e9460009c8..3622921239 100644--- a/packages/sheets-data-validation/package.json+++ b/packages/sheets-data-validation/package.json@@ -34,10 +34,12 @@"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/*",@@ -58,7 +60,7 @@"test": "vitest run","test:watch": "vitest","coverage": "vitest run --coverage",- "build": "tsc && vite build",+ "build": "tsx build.ts","lint:types": "tsc --noEmit"},"peerDependencies": {@@ -69,7 +71,7 @@"@univerjs/core": "workspace:*","@univerjs/data-validation": "workspace:*","@univerjs/engine-formula": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/protocol": "0.1.39-alpha.38","@univerjs/sheets": "workspace:*","@univerjs/sheets-formula": "workspace:*",diff --git a/packages/sheets-data-validation/tsconfig.node.json b/packages/sheets-data-validation/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-data-validation/tsconfig.node.json+++ b/packages/sheets-data-validation/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-data-validation/vite.config.ts b/packages/sheets-data-validation/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-data-validation/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-data-validation/vitest.config.ts b/packages/sheets-data-validation/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-data-validation/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-drawing-ui/build.ts b/packages/sheets-drawing-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-drawing-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-drawing-ui/package.json b/packages/sheets-drawing-ui/package.jsonindex 45e4d37421..2171454bc0 100644--- a/packages/sheets-drawing-ui/package.json+++ b/packages/sheets-drawing-ui/package.json@@ -33,10 +33,12 @@"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/*",@@ -61,7 +63,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -73,7 +75,7 @@"@univerjs/drawing": "workspace:*","@univerjs/drawing-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-drawing": "workspace:*","@univerjs/sheets-ui": "workspace:*",diff --git a/packages/sheets-drawing-ui/tsconfig.node.json b/packages/sheets-drawing-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-drawing-ui/tsconfig.node.json+++ b/packages/sheets-drawing-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-drawing-ui/vite.config.ts b/packages/sheets-drawing-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/sheets-drawing-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/sheets-drawing-ui/vitest.config.ts b/packages/sheets-drawing-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-drawing-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-drawing/build.ts b/packages/sheets-drawing/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-drawing/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-drawing/package.json b/packages/sheets-drawing/package.jsonindex 548a814f44..36fb36a438 100644--- a/packages/sheets-drawing/package.json+++ b/packages/sheets-drawing/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"dependencies": {"@univerjs/core": "workspace:*",diff --git a/packages/sheets-drawing/tsconfig.node.json b/packages/sheets-drawing/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-drawing/tsconfig.node.json+++ b/packages/sheets-drawing/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-drawing/vite.config.ts b/packages/sheets-drawing/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/sheets-drawing/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/sheets-drawing/vitest.config.ts b/packages/sheets-drawing/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-drawing/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-filter-ui/build.ts b/packages/sheets-filter-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-filter-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.jsonindex 9350df6988..2d8a54b848 100644--- a/packages/sheets-filter-ui/package.json+++ b/packages/sheets-filter-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -67,7 +70,7 @@"@univerjs/core": "workspace:*","@univerjs/design": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/rpc": "workspace:*","@univerjs/sheets": "workspace:*","@univerjs/sheets-filter": "workspace:*",diff --git a/packages/sheets-filter-ui/tsconfig.node.json b/packages/sheets-filter-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-filter-ui/tsconfig.node.json+++ b/packages/sheets-filter-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-filter-ui/vite.config.ts b/packages/sheets-filter-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/sheets-filter-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/sheets-filter-ui/vitest.config.ts b/packages/sheets-filter-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-filter-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-filter/build.ts b/packages/sheets-filter/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-filter/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-filter/package.json b/packages/sheets-filter/package.jsonindex 39be3e89a9..cb411e9349 100644--- a/packages/sheets-filter/package.json+++ b/packages/sheets-filter/package.json@@ -32,10 +32,12 @@"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/*",@@ -56,7 +58,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets-filter/tsconfig.node.json b/packages/sheets-filter/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-filter/tsconfig.node.json+++ b/packages/sheets-filter/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-filter/vite.config.ts b/packages/sheets-filter/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/sheets-filter/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/sheets-filter/vitest.config.ts b/packages/sheets-filter/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-filter/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-find-replace/build.ts b/packages/sheets-find-replace/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-find-replace/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-find-replace/package.json b/packages/sheets-find-replace/package.jsonindex 2f6ef38721..ecf4d447c2 100644--- a/packages/sheets-find-replace/package.json+++ b/packages/sheets-find-replace/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets-find-replace/tsconfig.node.json b/packages/sheets-find-replace/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-find-replace/tsconfig.node.json+++ b/packages/sheets-find-replace/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-find-replace/vite.config.ts b/packages/sheets-find-replace/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-find-replace/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-find-replace/vitest.config.ts b/packages/sheets-find-replace/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-find-replace/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-formula-ui/build.ts b/packages/sheets-formula-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-formula-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-formula-ui/package.json b/packages/sheets-formula-ui/package.jsonindex 963adef57d..c4bceee0a2 100644--- a/packages/sheets-formula-ui/package.json+++ b/packages/sheets-formula-ui/package.json@@ -36,17 +36,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -60,7 +63,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build",+ "build": "tsx build.ts","sync:cnpm": "cnpm sync"},"peerDependencies": {@@ -74,7 +77,7 @@"@univerjs/docs-ui": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-formula": "workspace:*","@univerjs/sheets-numfmt-ui": "workspace:*",diff --git a/packages/sheets-formula-ui/tsconfig.node.json b/packages/sheets-formula-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-formula-ui/tsconfig.node.json+++ b/packages/sheets-formula-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-formula-ui/vite.config.ts b/packages/sheets-formula-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-formula-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-formula-ui/vitest.config.ts b/packages/sheets-formula-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-formula-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-formula/build.ts b/packages/sheets-formula/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-formula/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-formula/package.json b/packages/sheets-formula/package.jsonindex 0e8e8b6f0a..65c6cde6b9 100644--- a/packages/sheets-formula/package.json+++ b/packages/sheets-formula/package.json@@ -33,10 +33,12 @@"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/*",@@ -57,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets-formula/tsconfig.node.json b/packages/sheets-formula/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-formula/tsconfig.node.json+++ b/packages/sheets-formula/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-formula/vite.config.ts b/packages/sheets-formula/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-formula/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-formula/vitest.config.ts b/packages/sheets-formula/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-formula/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-hyper-link-ui/build.ts b/packages/sheets-hyper-link-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-hyper-link-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.jsonindex e1e5f2c763..3ae03c3722 100644--- a/packages/sheets-hyper-link-ui/package.json+++ b/packages/sheets-hyper-link-ui/package.json@@ -35,10 +35,12 @@"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/*",@@ -63,7 +65,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -76,7 +78,7 @@"@univerjs/docs-ui": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-formula-ui": "workspace:*","@univerjs/sheets-hyper-link": "workspace:*",diff --git a/packages/sheets-hyper-link-ui/tsconfig.node.json b/packages/sheets-hyper-link-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-hyper-link-ui/tsconfig.node.json+++ b/packages/sheets-hyper-link-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-hyper-link-ui/vite.config.ts b/packages/sheets-hyper-link-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-hyper-link-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-hyper-link-ui/vitest.config.ts b/packages/sheets-hyper-link-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-hyper-link-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-hyper-link/build.ts b/packages/sheets-hyper-link/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-hyper-link/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-hyper-link/package.json b/packages/sheets-hyper-link/package.jsonindex d629af9225..cc0e5fd9ed 100644--- a/packages/sheets-hyper-link/package.json+++ b/packages/sheets-hyper-link/package.json@@ -32,10 +32,12 @@"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/*",@@ -56,7 +58,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets-hyper-link/tsconfig.node.json b/packages/sheets-hyper-link/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-hyper-link/tsconfig.node.json+++ b/packages/sheets-hyper-link/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-hyper-link/vite.config.ts b/packages/sheets-hyper-link/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-hyper-link/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-hyper-link/vitest.config.ts b/packages/sheets-hyper-link/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-hyper-link/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-numfmt-ui/build.ts b/packages/sheets-numfmt-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-numfmt-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-numfmt-ui/package.json b/packages/sheets-numfmt-ui/package.jsonindex 4c69f22318..9f5ffb3d1f 100644--- a/packages/sheets-numfmt-ui/package.json+++ b/packages/sheets-numfmt-ui/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -70,7 +73,7 @@"@univerjs/engine-formula": "workspace:*","@univerjs/engine-numfmt": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-numfmt": "workspace:*","@univerjs/sheets-ui": "workspace:*",diff --git a/packages/sheets-numfmt-ui/tsconfig.node.json b/packages/sheets-numfmt-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-numfmt-ui/tsconfig.node.json+++ b/packages/sheets-numfmt-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-numfmt-ui/vite.config.ts b/packages/sheets-numfmt-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-numfmt-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-numfmt-ui/vitest.config.ts b/packages/sheets-numfmt-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-numfmt-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-numfmt/build.ts b/packages/sheets-numfmt/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-numfmt/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-numfmt/package.json b/packages/sheets-numfmt/package.jsonindex cbb7f6d489..822f9b5810 100644--- a/packages/sheets-numfmt/package.json+++ b/packages/sheets-numfmt/package.json@@ -35,10 +35,12 @@"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/*",@@ -59,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets-numfmt/tsconfig.node.json b/packages/sheets-numfmt/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-numfmt/tsconfig.node.json+++ b/packages/sheets-numfmt/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-numfmt/vite.config.ts b/packages/sheets-numfmt/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-numfmt/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-numfmt/vitest.config.ts b/packages/sheets-numfmt/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-numfmt/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-sort-ui/build.ts b/packages/sheets-sort-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-sort-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-sort-ui/package.json b/packages/sheets-sort-ui/package.jsonindex 8cb8bf2bf2..a626e7ac4f 100644--- a/packages/sheets-sort-ui/package.json+++ b/packages/sheets-sort-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -67,7 +70,7 @@"@univerjs/design": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-sort": "workspace:*","@univerjs/sheets-ui": "workspace:*",diff --git a/packages/sheets-sort-ui/tsconfig.node.json b/packages/sheets-sort-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-sort-ui/tsconfig.node.json+++ b/packages/sheets-sort-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-sort-ui/vite.config.ts b/packages/sheets-sort-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/sheets-sort-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/sheets-sort-ui/vitest.config.ts b/packages/sheets-sort-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-sort-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-sort/build.ts b/packages/sheets-sort/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-sort/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-sort/package.json b/packages/sheets-sort/package.jsonindex 5e8b52e52f..fb67446fd3 100644--- a/packages/sheets-sort/package.json+++ b/packages/sheets-sort/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"dependencies": {"@univerjs/core": "workspace:*",diff --git a/packages/sheets-sort/tsconfig.node.json b/packages/sheets-sort/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-sort/tsconfig.node.json+++ b/packages/sheets-sort/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-sort/vite.config.ts b/packages/sheets-sort/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/sheets-sort/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/sheets-sort/vitest.config.ts b/packages/sheets-sort/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-sort/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-thread-comment-ui/build.ts b/packages/sheets-thread-comment-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-thread-comment-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-thread-comment-ui/package.json b/packages/sheets-thread-comment-ui/package.jsonindex fd612e1866..f3c9889866 100644--- a/packages/sheets-thread-comment-ui/package.json+++ b/packages/sheets-thread-comment-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -68,7 +71,7 @@"@univerjs/docs-ui": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-thread-comment": "workspace:*","@univerjs/sheets-ui": "workspace:*",diff --git a/packages/sheets-thread-comment-ui/tsconfig.node.json b/packages/sheets-thread-comment-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-thread-comment-ui/tsconfig.node.json+++ b/packages/sheets-thread-comment-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-thread-comment-ui/vite.config.ts b/packages/sheets-thread-comment-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/sheets-thread-comment-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/sheets-thread-comment-ui/vitest.config.ts b/packages/sheets-thread-comment-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-thread-comment-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-thread-comment/build.ts b/packages/sheets-thread-comment/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-thread-comment/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-thread-comment/package.json b/packages/sheets-thread-comment/package.jsonindex 8a4019d96c..9850658c96 100644--- a/packages/sheets-thread-comment/package.json+++ b/packages/sheets-thread-comment/package.json@@ -32,10 +32,12 @@"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/*",@@ -56,7 +58,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets-thread-comment/tsconfig.node.json b/packages/sheets-thread-comment/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-thread-comment/tsconfig.node.json+++ b/packages/sheets-thread-comment/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-thread-comment/vite.config.ts b/packages/sheets-thread-comment/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/sheets-thread-comment/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/sheets-thread-comment/vitest.config.ts b/packages/sheets-thread-comment/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-thread-comment/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-ui/build.ts b/packages/sheets-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-ui/package.json b/packages/sheets-ui/package.jsonindex bed7bffdde..2b225ac840 100644--- a/packages/sheets-ui/package.json+++ b/packages/sheets-ui/package.json@@ -34,10 +34,12 @@"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/*",@@ -62,7 +64,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -76,7 +78,7 @@"@univerjs/engine-formula": "workspace:*","@univerjs/engine-numfmt": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/protocol": "0.1.39-alpha.38","@univerjs/sheets": "workspace:*","@univerjs/telemetry": "workspace:*",diff --git a/packages/sheets-ui/tsconfig.node.json b/packages/sheets-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-ui/tsconfig.node.json+++ b/packages/sheets-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-ui/vite.config.ts b/packages/sheets-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-ui/vitest.config.ts b/packages/sheets-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets-zen-editor/build.ts b/packages/sheets-zen-editor/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets-zen-editor/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets-zen-editor/package.json b/packages/sheets-zen-editor/package.jsonindex 31c689d4ba..96e3006fbc 100644--- a/packages/sheets-zen-editor/package.json+++ b/packages/sheets-zen-editor/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -70,7 +73,7 @@"@univerjs/docs": "workspace:*","@univerjs/docs-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/sheets": "workspace:*","@univerjs/sheets-ui": "workspace:*","@univerjs/ui": "workspace:*",diff --git a/packages/sheets-zen-editor/tsconfig.node.json b/packages/sheets-zen-editor/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets-zen-editor/tsconfig.node.json+++ b/packages/sheets-zen-editor/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets-zen-editor/vite.config.ts b/packages/sheets-zen-editor/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/sheets-zen-editor/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/sheets-zen-editor/vitest.config.ts b/packages/sheets-zen-editor/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets-zen-editor/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/sheets/build.ts b/packages/sheets/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/sheets/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/sheets/package.json b/packages/sheets/package.jsonindex 81d5bf6dc0..a299084a1c 100644--- a/packages/sheets/package.json+++ b/packages/sheets/package.json@@ -35,10 +35,12 @@"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/*",@@ -63,7 +65,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/sheets/tsconfig.node.json b/packages/sheets/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/sheets/tsconfig.node.json+++ b/packages/sheets/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/sheets/vite.config.ts b/packages/sheets/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/sheets/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/sheets/vitest.config.ts b/packages/sheets/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/sheets/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/slides-ui/build.ts b/packages/slides-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/slides-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.jsonindex 2671d7fc90..77aec7bac1 100644--- a/packages/slides-ui/package.json+++ b/packages/slides-ui/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -71,7 +74,7 @@"@univerjs/docs-ui": "workspace:*","@univerjs/drawing": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/slides": "workspace:*","@univerjs/ui": "workspace:*","clsx": "^2.1.1"diff --git a/packages/slides-ui/tsconfig.node.json b/packages/slides-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/slides-ui/tsconfig.node.json+++ b/packages/slides-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/slides-ui/vite.config.ts b/packages/slides-ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/slides-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/slides-ui/vitest.config.ts b/packages/slides-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/slides-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/slides/build.ts b/packages/slides/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/slides/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/slides/package.json b/packages/slides/package.jsonindex 850f260116..d7febdeb35 100644--- a/packages/slides/package.json+++ b/packages/slides/package.json@@ -33,10 +33,12 @@"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/*"@@ -53,7 +55,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"dependencies": {"@univerjs/core": "workspace:*",diff --git a/packages/slides/tsconfig.node.json b/packages/slides/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/slides/tsconfig.node.json+++ b/packages/slides/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/slides/vite.config.ts b/packages/slides/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/slides/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/slides/vitest.config.ts b/packages/slides/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/slides/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/telemetry/build.ts b/packages/telemetry/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/telemetry/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/telemetry/package.json b/packages/telemetry/package.jsonindex 2f835eb7fe..d58deb4975 100644--- a/packages/telemetry/package.json+++ b/packages/telemetry/package.json@@ -30,10 +30,12 @@"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/*"@@ -50,7 +52,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"dependencies": {"@univerjs/core": "workspace:*",diff --git a/packages/telemetry/tsconfig.node.json b/packages/telemetry/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/telemetry/tsconfig.node.json+++ b/packages/telemetry/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/telemetry/vite.config.ts b/packages/telemetry/vite.config.tsdeleted file mode 100644index c3cee0d353..0000000000--- a/packages/telemetry/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: false,- dom: false,- },-});diff --git a/packages/telemetry/vitest.config.ts b/packages/telemetry/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/telemetry/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/thread-comment-ui/build.ts b/packages/thread-comment-ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/thread-comment-ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/thread-comment-ui/package.json b/packages/thread-comment-ui/package.jsonindex 96b034c3c9..063c8ca42c 100644--- a/packages/thread-comment-ui/package.json+++ b/packages/thread-comment-ui/package.json@@ -32,17 +32,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -56,7 +59,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -68,7 +71,7 @@"@univerjs/docs": "workspace:*","@univerjs/docs-ui": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/protocol": "0.1.39-alpha.38","@univerjs/thread-comment": "workspace:*","@univerjs/ui": "workspace:*",diff --git a/packages/thread-comment-ui/tsconfig.node.json b/packages/thread-comment-ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/thread-comment-ui/tsconfig.node.json+++ b/packages/thread-comment-ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/thread-comment-ui/vite.config.ts b/packages/thread-comment-ui/vite.config.tsdeleted file mode 100644index 04e4e3b060..0000000000--- a/packages/thread-comment-ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: false,- css: true,- dom: true,- },-});diff --git a/packages/thread-comment-ui/vitest.config.ts b/packages/thread-comment-ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/thread-comment-ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/thread-comment/build.ts b/packages/thread-comment/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/thread-comment/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/thread-comment/package.json b/packages/thread-comment/package.jsonindex e45fc7b115..6e652d661a 100644--- a/packages/thread-comment/package.json+++ b/packages/thread-comment/package.json@@ -31,10 +31,12 @@"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/*"@@ -51,7 +53,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"rxjs": ">=7.0.0"diff --git a/packages/thread-comment/tsconfig.node.json b/packages/thread-comment/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/thread-comment/tsconfig.node.json+++ b/packages/thread-comment/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/thread-comment/vite.config.ts b/packages/thread-comment/vite.config.tsdeleted file mode 100644index 62c3c4fab3..0000000000--- a/packages/thread-comment/vite.config.ts+++ /dev/null@@ -1,7 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,-});diff --git a/packages/thread-comment/vitest.config.ts b/packages/thread-comment/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/thread-comment/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/ui/build.ts b/packages/ui/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/ui/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 525f9329f4..fc6a56fa6c 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -35,10 +35,12 @@"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/*",@@ -63,7 +65,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -75,7 +77,7 @@"@univerjs/design": "workspace:*","@univerjs/engine-formula": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","clsx": "^2.1.1","localforage": "^1.10.0","rc-notification": "^5.6.2",diff --git a/packages/ui/tsconfig.node.json b/packages/ui/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/ui/tsconfig.node.json+++ b/packages/ui/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/ui/vite.config.ts b/packages/ui/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/ui/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/ui/vitest.config.ts b/packages/ui/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/ui/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/packages/uniscript/build.ts b/packages/uniscript/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/uniscript/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/uniscript/package.json b/packages/uniscript/package.jsonindex 3299f0ed52..5fdbdf1ee6 100644--- a/packages/uniscript/package.json+++ b/packages/uniscript/package.json@@ -34,17 +34,20 @@"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/*","./locale/*": {"import": "./lib/locale/*.js",+ "require": "./lib/locale/*.js","types": "./lib/types/locale/*.d.ts"- }+ },+ "./lib/*": "./lib/*"}},"directories": {@@ -58,7 +61,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",diff --git a/packages/uniscript/tsconfig.node.json b/packages/uniscript/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/uniscript/tsconfig.node.json+++ b/packages/uniscript/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/uniscript/vite.config.ts b/packages/uniscript/vitest.config.tssimilarity index 53%rename from packages/uniscript/vite.config.tsrename to packages/uniscript/vitest.config.tsindex e7db59fdb0..6354b61423 100644--- a/packages/uniscript/vite.config.ts+++ b/packages/uniscript/vitest.config.ts@@ -1,7 +1,6 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';+import createConfig from '@univerjs-infra/shared/vitest';-export default ({ mode }) => createViteConfig({+export default createConfig({test: {alias: [{@@ -11,12 +10,4 @@ export default ({ mode }) => createViteConfig({},],},-}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },});diff --git a/packages/watermark/build.ts b/packages/watermark/build.tsnew file mode 100644index 0000000000..cdb3dc98ea--- /dev/null+++ b/packages/watermark/build.ts@@ -0,0 +1,19 @@+/**+ * Copyright 2023-present DreamNum Inc.+ *+ * 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 { build } from '@univerjs-infra/shared/vite';++build();diff --git a/packages/watermark/package.json b/packages/watermark/package.jsonindex 678a1ccfbe..0d8c9f7248 100644--- a/packages/watermark/package.json+++ b/packages/watermark/package.json@@ -35,10 +35,12 @@"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/*",@@ -63,7 +65,7 @@"test:watch": "vitest","coverage": "vitest run --coverage","lint:types": "tsc --noEmit",- "build": "tsc && vite build"+ "build": "tsx build.ts"},"peerDependencies": {"react": "^16.9.0 || ^17.0.0 || ^18.0.0",@@ -73,7 +75,7 @@"@univerjs/core": "workspace:*","@univerjs/design": "workspace:*","@univerjs/engine-render": "workspace:*",- "@univerjs/icons": "^0.2.3",+ "@univerjs/icons": "^0.2.5","@univerjs/ui": "workspace:*","clsx": "^2.1.1"},diff --git a/packages/watermark/tsconfig.node.json b/packages/watermark/tsconfig.node.jsonindex 50ef1e6862..7818f253cc 100644--- a/packages/watermark/tsconfig.node.json+++ b/packages/watermark/tsconfig.node.json@@ -1,4 +1,4 @@{"extends": "@univerjs-infra/shared/tsconfigs/node",- "include": ["vite.config.ts"]+ "include": ["vitest.config.ts", "build.ts"]}diff --git a/packages/watermark/vite.config.ts b/packages/watermark/vite.config.tsdeleted file mode 100644index ff0e0966ce..0000000000--- a/packages/watermark/vite.config.ts+++ /dev/null@@ -1,12 +0,0 @@-import createViteConfig from '@univerjs-infra/shared/vite';-import pkg from './package.json';--export default ({ mode }) => createViteConfig({}, {- mode,- pkg,- features: {- react: true,- css: true,- dom: true,- },-});diff --git a/packages/watermark/vitest.config.ts b/packages/watermark/vitest.config.tsnew file mode 100644index 0000000000..af97c6d7a2--- /dev/null+++ b/packages/watermark/vitest.config.ts@@ -0,0 +1,3 @@+import createConfig from '@univerjs-infra/shared/vitest';++export default createConfig();diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 328b0f65f7..978b83bac2 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -89,6 +89,9 @@ importers:serve:specifier: ^14.2.4version: 14.2.4+ tsx:+ specifier: ^4.19.2+ version: 4.19.2turbo:specifier: ^2.2.3version: 2.2.3@@ -99,14 +102,17 @@ importers:common/shared:dependencies:'@typescript-eslint/parser':- specifier: ^8.12.2+ specifier: ^8.13.0'@vitejs/plugin-react':specifier: ^4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ '@vitejs/plugin-vue':+ specifier: ^5.1.4+ version: 5.1.4([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))'@vitest/coverage-istanbul':specifier: ^2.1.4- version: 2.1.4([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 2.1.4([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))fs-extra:specifier: ^11.2.0version: 11.2.0@@ -118,16 +124,20 @@ importers:version: 4.1.1vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vite-plugin-dts:specifier: ^4.3.0- version: 4.3.0(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.0(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))vite-plugin-external:specifier: ^4.3.1version: 4.3.1vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ devDependencies:+ '@types/fs-extra':+ specifier: ^11.0.4+ version: 11.0.4common/storybook:dependencies:@@ -253,8 +263,8 @@ importers:specifier: workspace:*version: link:../packages/find-replace'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/mockdata':specifier: workspace:*version: link:../mockdata@@ -383,7 +393,7 @@ importers:version: 18.3.1([email protected])react-mosaic-component:specifier: ^6.1.0- version: 6.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])+ version: 6.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])rxjs:specifier: ^7.8.1version: 7.8.1@@ -571,8 +581,8 @@ importers:specifier: workspace:*version: link:../../packages/design'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../../packages/sheets@@ -606,10 +616,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages-experimental/debugger:dependencies:@@ -636,7 +646,7 @@ importers:version: link:../../packages/ui'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))react:specifier: ^16.9.0 || ^17.0.0 || ^18.0.0version: 18.3.1@@ -650,7 +660,7 @@ importers:version: link:../../common/shared'@vitejs/plugin-vue':specifier: ^5.1.3- version: 5.1.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))+ version: 5.1.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))rxjs:specifier: ^7.8.1version: 7.8.1@@ -659,10 +669,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages-experimental/uni-docs-ui:dependencies:@@ -685,8 +695,8 @@ importers:specifier: workspace:*version: link:../../packages/engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/ui':specifier: workspace:*version: link:../../packages/ui@@ -708,10 +718,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages-experimental/uni-formula:dependencies:@@ -722,8 +732,8 @@ importers:specifier: workspace:*version: link:../../packages/docs'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5clsx:specifier: ^2.1.1version: 2.1.1@@ -736,10 +746,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages-experimental/uni-formula-ui:dependencies:@@ -759,8 +769,8 @@ importers:specifier: workspace:*version: link:../../packages/engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/rpc':specifier: workspace:*version: link:../../packages/rpc@@ -800,10 +810,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages-experimental/uni-sheets-ui:dependencies:@@ -820,8 +830,8 @@ importers:specifier: workspace:*version: link:../../packages/docs-ui'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../../packages/sheets@@ -855,10 +865,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages-experimental/uni-slides-ui:dependencies:@@ -872,8 +882,8 @@ importers:specifier: workspace:*version: link:../../packages/engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/slides':specifier: workspace:*version: link:../../packages/slides@@ -910,10 +920,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages-experimental/uniui:dependencies:@@ -939,8 +949,8 @@ importers:specifier: workspace:*version: link:../../packages/engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../../packages/sheets@@ -980,10 +990,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/core:dependencies:@@ -1041,10 +1051,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/data-validation:dependencies:@@ -1059,7 +1069,7 @@ importers:version: link:../sheets'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1072,10 +1082,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/design:dependencies:@@ -1089,8 +1099,8 @@ importers:specifier: ^4.4.0version: 4.4.0'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5clsx:specifier: ^2.1.1version: 2.1.1@@ -1178,10 +1188,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs:dependencies:@@ -1193,7 +1203,7 @@ importers:version: link:../engine-render'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1206,10 +1216,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs-drawing:dependencies:@@ -1221,7 +1231,7 @@ importers:version: link:../drawing'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1231,10 +1241,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs-drawing-ui:dependencies:@@ -1263,8 +1273,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/ui':specifier: workspace:*version: link:../ui@@ -1289,10 +1299,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs-hyper-link:dependencies:@@ -1300,11 +1310,11 @@ importers:specifier: workspace:*version: link:../core'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1317,10 +1327,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs-hyper-link-ui:dependencies:@@ -1343,8 +1353,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/ui':specifier: workspace:*version: link:../ui@@ -1366,10 +1376,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs-mention-ui:dependencies:@@ -1415,10 +1425,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs-thread-comment-ui:dependencies:@@ -1441,8 +1451,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/thread-comment':specifier: workspace:*version: link:../thread-comment@@ -1470,10 +1480,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/docs-ui:dependencies:@@ -1493,8 +1503,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/ui':specifier: workspace:*version: link:../ui@@ -1522,10 +1532,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/drawing:dependencies:@@ -1533,8 +1543,8 @@ importers:specifier: workspace:*version: link:../core'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5ot-json1:specifier: ^1.0.2version: 1.0.2@@ -1550,10 +1560,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/drawing-ui:dependencies:@@ -1570,8 +1580,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/ui':specifier: workspace:*version: link:../ui@@ -1596,10 +1606,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/engine-formula:dependencies:@@ -1630,10 +1640,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/engine-numfmt:devDependencies:@@ -1645,10 +1655,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/engine-render:dependencies:@@ -1685,10 +1695,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/facade:dependencies:@@ -1769,7 +1779,7 @@ importers:version: link:../watermark'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1791,10 +1801,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/find-replace:dependencies:@@ -1811,14 +1821,14 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/ui':specifier: workspace:*version: link:../ui'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1837,10 +1847,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/network:dependencies:@@ -1849,7 +1859,7 @@ importers:version: link:../core'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1862,10 +1872,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/rpc:dependencies:@@ -1874,7 +1884,7 @@ importers:version: link:../core'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1887,10 +1897,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/rpc-node:dependencies:@@ -1912,10 +1922,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets:dependencies:@@ -1936,7 +1946,7 @@ importers:version: link:../rpc'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -1949,10 +1959,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-conditional-formatting:dependencies:@@ -1989,10 +1999,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-conditional-formatting-ui:dependencies:@@ -2012,8 +2022,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/protocol':specifier: 0.1.39-alpha.38version: 0.1.39-alpha.38(@grpc/[email protected])([email protected])@@ -2065,10 +2075,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-crosshair-highlight:dependencies:@@ -2079,8 +2089,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -2111,10 +2121,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-data-validation:dependencies:@@ -2131,8 +2141,8 @@ importers:specifier: workspace:*version: link:../engine-formula'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/protocol':specifier: 0.1.39-alpha.38version: 0.1.39-alpha.38(@grpc/[email protected])([email protected])@@ -2160,10 +2170,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-data-validation-ui:dependencies:@@ -2192,8 +2202,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/protocol':specifier: 0.1.39-alpha.38version: 0.1.39-alpha.38(@grpc/[email protected])([email protected])@@ -2239,10 +2249,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-drawing:dependencies:@@ -2254,7 +2264,7 @@ importers:version: link:../drawing'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2264,10 +2274,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-drawing-ui:dependencies:@@ -2287,8 +2297,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -2322,10 +2332,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-filter:dependencies:@@ -2337,7 +2347,7 @@ importers:version: link:../sheets'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2350,10 +2360,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-filter-ui:dependencies:@@ -2367,8 +2377,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/rpc':specifier: workspace:*version: link:../rpc@@ -2411,10 +2421,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-find-replace:dependencies:@@ -2441,7 +2451,7 @@ importers:version: link:../sheets-ui'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2454,10 +2464,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-formula:dependencies:@@ -2481,7 +2491,7 @@ importers:version: link:../sheets-numfmt'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2494,10 +2504,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-formula-ui:dependencies:@@ -2520,8 +2530,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -2549,7 +2559,7 @@ importers:version: link:../../common/shared'@vitejs/plugin-react':specifier: ^4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))less:specifier: ^4.2.0version: 4.2.0@@ -2564,10 +2574,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-hyper-link:dependencies:@@ -2588,7 +2598,7 @@ importers:version: link:../sheets'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2601,10 +2611,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-hyper-link-ui:dependencies:@@ -2627,8 +2637,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -2662,10 +2672,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-numfmt:dependencies:@@ -2683,7 +2693,7 @@ importers:version: link:../sheets'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2696,10 +2706,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-numfmt-ui:dependencies:@@ -2719,8 +2729,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -2735,7 +2745,7 @@ importers:version: link:../ui'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@types/react':specifier: ^18.3.12@@ -2757,10 +2767,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-sort:dependencies:@@ -2775,7 +2785,7 @@ importers:version: link:../sheets'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2785,10 +2795,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-sort-ui:dependencies:@@ -2805,8 +2815,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -2843,10 +2853,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-thread-comment:dependencies:@@ -2864,7 +2874,7 @@ importers:version: link:../thread-comment'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -2877,10 +2887,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-thread-comment-ui:dependencies:@@ -2900,8 +2910,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -2938,10 +2948,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-ui:dependencies:@@ -2967,8 +2977,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/protocol':specifier: 0.1.39-alpha.38version: 0.1.39-alpha.38(@grpc/[email protected])([email protected])@@ -3005,10 +3015,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/sheets-zen-editor:dependencies:@@ -3028,8 +3038,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/sheets':specifier: workspace:*version: link:../sheets@@ -3060,10 +3070,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/slides:dependencies:@@ -3075,7 +3085,7 @@ importers:version: link:../engine-render'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -3085,10 +3095,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/slides-ui:dependencies:@@ -3111,8 +3121,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/slides':specifier: workspace:*version: link:../slides@@ -3143,10 +3153,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/telemetry:dependencies:@@ -3155,7 +3165,7 @@ importers:version: link:../core'@vitejs/plugin-react':specifier: 4.3.3- version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.3.3([email protected](@types/[email protected])([email protected])([email protected])([email protected]))devDependencies:'@univerjs-infra/shared':specifier: workspace:*@@ -3174,10 +3184,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/thread-comment:dependencies:@@ -3202,10 +3212,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/thread-comment-ui:dependencies:@@ -3225,8 +3235,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/protocol':specifier: 0.1.39-alpha.38version: 0.1.39-alpha.38(@grpc/[email protected])([email protected])@@ -3260,10 +3270,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/ui:dependencies:@@ -3280,8 +3290,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5clsx:specifier: ^2.1.1version: 2.1.1@@ -3334,10 +3344,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/uniscript:dependencies:@@ -3386,10 +3396,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/watermark:dependencies:@@ -3403,8 +3413,8 @@ importers:specifier: workspace:*version: link:../engine-render'@univerjs/icons':- specifier: ^0.2.3+ specifier: ^0.2.5'@univerjs/ui':specifier: workspace:*version: link:../ui@@ -3432,10 +3442,10 @@ importers:version: 5.6.3vite:specifier: ^5.4.10- version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])+ version: 5.4.10(@types/[email protected])([email protected])([email protected])([email protected])vitest:specifier: ^2.1.4- version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ version: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages:@@ -5179,6 +5189,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==}+ '@types/[email protected]':+ resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==}+'@types/[email protected]':resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}@@ -5257,8 +5270,8 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:eslint: ^8.57.0 || ^9.0.0@@ -5271,6 +5284,10 @@ packages:resolution: {integrity: sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==}+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+'@typescript-eslint/[email protected]':resolution: {integrity: sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -5284,6 +5301,10 @@ packages:resolution: {integrity: sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==}+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+'@typescript-eslint/[email protected]':resolution: {integrity: sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -5293,6 +5314,15 @@ packages:typescript:optional: true+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==}+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ peerDependencies:+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+'@typescript-eslint/[email protected]':resolution: {integrity: sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}@@ -5303,14 +5333,18 @@ packages:resolution: {integrity: sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==}+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+'@ungap/[email protected]':resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}'@univerjs/[email protected]':resolution: {integrity: sha512-9T9V6wtDkLJIJVCCKiOTgCyU8d9oQVjlK8saDxzyKEK8bWFVgSWIr7swIww0gHjVp0tJXiBRQNhcXMqJvCt2ZQ==}- '@univerjs/[email protected]':- resolution: {integrity: sha512-R+jpVrAvb4NtC08BcidmFSxbZD+2zYUEGfNiwMuckXYF/Xk7qoSkmUVMrzEbxDkGMxqPYxyS6L4AGryg5nxuWQ==}+ '@univerjs/[email protected]':+ resolution: {integrity: sha512-OfkOQoC5JR85T8vnsl/M2MkI5eeC0zUzQPluKT9p3ramJpSDyw0g4TCyzKpNZcCaVTMe90AOefwW3hEOZySFDA==}peerDependencies:react: '*'react-dom: '*'@@ -5335,6 +5369,13 @@ packages:vite: ^5.0.0vue: ^3.2.25+ '@vitejs/[email protected]':+ resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==}+ engines: {node: ^18.0.0 || >=20.0.0}+ peerDependencies:+ vite: ^5.0.0+ vue: ^3.2.25+'@vitest/[email protected]':resolution: {integrity: sha512-NLmfjzXnRSmLF/h4hYkzjvd7hZ85DRZzPUqXu0McPFCMczDfNmOjMoM3KaxjFaEmOc1YzX9HHbU/Rr9VO+35ow==}peerDependencies:@@ -10108,6 +10149,11 @@ packages:resolution: {integrity: sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==}+ resolution: {integrity: sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==}+ engines: {node: '>=18.0.0'}+ hasBin: true+resolution: {integrity: sha512-Rcm10CuMKQGcdIBS3R/9PMeuYnv6beYIHqfZFeKWVYEWH69sauj4INs83zKMTUiZJ3/hWGZ4jet9AOwhsssLyg==}cpu: [x64]@@ -10684,8 +10730,8 @@ snapshots:'@eslint-community/eslint-plugin-eslint-comments': 4.4.1([email protected]([email protected]))'@eslint/markdown': 6.2.1- '@typescript-eslint/eslint-plugin': 8.12.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ '@typescript-eslint/eslint-plugin': 8.12.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@vitest/eslint-plugin': 1.1.7(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))eslint: 9.13.0([email protected])eslint-config-flat-gitignore: 0.3.0([email protected]([email protected]))@@ -10702,7 +10748,7 @@ snapshots:eslint-plugin-regexp: 2.6.0([email protected]([email protected]))eslint-plugin-toml: 0.11.1([email protected]([email protected]))eslint-plugin-unicorn: 56.0.0([email protected]([email protected]))- eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]))+ eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]))eslint-plugin-vue: 9.30.0([email protected]([email protected]))eslint-plugin-yml: 1.14.0([email protected]([email protected]))@@ -11537,23 +11583,23 @@ snapshots:'@types/react': 18.3.12react: 18.3.1- '@microsoft/[email protected](@types/[email protected])':+ '@microsoft/[email protected](@types/[email protected])':dependencies:'@microsoft/tsdoc': 0.15.0'@microsoft/tsdoc-config': 0.17.0- '@rushstack/node-core-library': 5.9.0(@types/[email protected])+ '@rushstack/node-core-library': 5.9.0(@types/[email protected])transitivePeerDependencies:- '@types/node'- '@microsoft/[email protected](@types/[email protected])':+ '@microsoft/[email protected](@types/[email protected])':dependencies:- '@microsoft/api-extractor-model': 7.29.8(@types/[email protected])+ '@microsoft/api-extractor-model': 7.29.8(@types/[email protected])'@microsoft/tsdoc': 0.15.0'@microsoft/tsdoc-config': 0.17.0- '@rushstack/node-core-library': 5.9.0(@types/[email protected])+ '@rushstack/node-core-library': 5.9.0(@types/[email protected])'@rushstack/rig-package': 0.5.3- '@rushstack/terminal': 0.14.2(@types/[email protected])- '@rushstack/ts-command-line': 4.23.0(@types/[email protected])+ '@rushstack/terminal': 0.14.2(@types/[email protected])+ '@rushstack/ts-command-line': 4.23.0(@types/[email protected])lodash: 4.17.21minimatch: 3.0.8resolve: 1.22.8@@ -11814,7 +11860,7 @@ snapshots:'@rollup/[email protected]':optional: true- '@rushstack/[email protected](@types/[email protected])':+ '@rushstack/[email protected](@types/[email protected])':dependencies:ajv: 8.13.0ajv-draft-04: 1.0.0([email protected])@@ -11825,23 +11871,23 @@ snapshots:resolve: 1.22.8semver: 7.5.4optionalDependencies:- '@types/node': 22.8.7+ '@types/node': 22.9.0'@rushstack/[email protected]':dependencies:resolve: 1.22.8strip-json-comments: 3.1.1- '@rushstack/[email protected](@types/[email protected])':+ '@rushstack/[email protected](@types/[email protected])':dependencies:- '@rushstack/node-core-library': 5.9.0(@types/[email protected])+ '@rushstack/node-core-library': 5.9.0(@types/[email protected])supports-color: 8.1.1optionalDependencies:- '@types/node': 22.8.7+ '@types/node': 22.9.0- '@rushstack/[email protected](@types/[email protected])':+ '@rushstack/[email protected](@types/[email protected])':dependencies:- '@rushstack/terminal': 0.14.2(@types/[email protected])+ '@rushstack/terminal': 0.14.2(@types/[email protected])'@types/argparse': 1.0.38argparse: 1.0.10string-argv: 0.3.2@@ -12036,7 +12082,7 @@ snapshots:'@storybook/[email protected]([email protected])':dependencies:- '@types/node': 22.8.4+ '@types/node': 22.8.7storybook: 8.3.6ts-dedent: 2.2.0@@ -12422,11 +12468,11 @@ snapshots:'@types/[email protected]':dependencies:'@types/connect': 3.4.38- '@types/node': 22.8.4+ '@types/node': 22.8.7'@types/[email protected]':dependencies:- '@types/node': 22.8.4+ '@types/node': 22.8.7'@types/[email protected]':dependencies:@@ -12467,7 +12513,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 22.8.4+ '@types/node': 22.8.7'@types/qs': 6.9.15'@types/range-parser': 1.2.7'@types/send': 0.17.4@@ -12482,7 +12528,7 @@ snapshots:'@types/[email protected]':dependencies:'@types/jsonfile': 6.1.4- '@types/node': 14.18.63+ '@types/node': 22.8.7'@types/[email protected]':dependencies:@@ -12496,7 +12542,7 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 14.18.63+ '@types/node': 22.8.7'@types/[email protected]': {}@@ -12532,6 +12578,10 @@ snapshots:dependencies:undici-types: 6.19.8+ '@types/[email protected]':+ dependencies:+ undici-types: 6.19.8+'@types/[email protected]': {}'@types/[email protected]': {}@@ -12580,12 +12630,12 @@ snapshots:'@types/[email protected]':dependencies:'@types/mime': 1.3.5- '@types/node': 22.8.4+ '@types/node': 22.8.7'@types/[email protected]':dependencies:'@types/http-errors': 2.0.4- '@types/node': 22.8.4+ '@types/node': 22.8.7'@types/send': 0.17.4'@types/[email protected]':@@ -12598,10 +12648,10 @@ snapshots:'@types/[email protected]': {}- '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':+ '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@eslint-community/regexpp': 4.12.1'@typescript-eslint/scope-manager': 8.12.2@@ -12616,12 +12666,12 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:- '@typescript-eslint/scope-manager': 8.12.2- '@typescript-eslint/types': 8.12.2- '@typescript-eslint/typescript-estree': 8.12.2([email protected])- '@typescript-eslint/visitor-keys': 8.12.2+ '@typescript-eslint/scope-manager': 8.13.0+ '@typescript-eslint/types': 8.13.0+ '@typescript-eslint/typescript-estree': 8.13.0([email protected])+ '@typescript-eslint/visitor-keys': 8.13.0debug: 4.3.7eslint: 9.13.0([email protected])optionalDependencies:@@ -12634,6 +12684,11 @@ snapshots:'@typescript-eslint/types': 8.12.2'@typescript-eslint/visitor-keys': 8.12.2+ '@typescript-eslint/[email protected]':+ dependencies:+ '@typescript-eslint/types': 8.13.0+ '@typescript-eslint/visitor-keys': 8.13.0+dependencies:'@typescript-eslint/typescript-estree': 8.12.2([email protected])@@ -12648,6 +12703,8 @@ snapshots:'@typescript-eslint/[email protected]': {}+ '@typescript-eslint/[email protected]': {}+'@typescript-eslint/[email protected]([email protected])':dependencies:'@typescript-eslint/types': 8.12.2@@ -12663,6 +12720,21 @@ snapshots:transitivePeerDependencies:- supports-color+ '@typescript-eslint/[email protected]([email protected])':+ dependencies:+ '@typescript-eslint/types': 8.13.0+ '@typescript-eslint/visitor-keys': 8.13.0+ debug: 4.3.7+ fast-glob: 3.3.2+ is-glob: 4.0.3+ minimatch: 9.0.5+ semver: 7.6.3+ ts-api-utils: 1.3.0([email protected])+ optionalDependencies:+ typescript: 5.6.3+ transitivePeerDependencies:+ - supports-color+dependencies:'@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))@@ -12679,11 +12751,16 @@ snapshots:'@typescript-eslint/types': 8.12.2eslint-visitor-keys: 3.4.3+ '@typescript-eslint/[email protected]':+ dependencies:+ '@typescript-eslint/types': 8.13.0+ eslint-visitor-keys: 3.4.3+'@ungap/[email protected]': {}'@univerjs/[email protected]': {}dependencies:react: 18.3.1react-dom: 18.3.1([email protected])@@ -12704,23 +12781,28 @@ snapshots:transitivePeerDependencies:- supports-color- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':dependencies:'@babel/core': 7.26.0'@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/[email protected])'@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/[email protected])'@types/babel__core': 7.20.5react-refresh: 0.14.2transitivePeerDependencies:- supports-color- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:vue: 3.4.38([email protected])- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':+ dependencies:+ vue: 3.4.38([email protected])++ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@istanbuljs/schema': 0.1.3debug: 4.3.7@@ -12732,7 +12814,7 @@ snapshots:magicast: 0.3.5test-exclude: 7.0.1tinyrainbow: 1.2.0- vitest: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ vitest: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color@@ -12767,13 +12849,13 @@ snapshots:optional: true- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':dependencies:'@vitest/spy': 2.1.4estree-walker: 3.0.3magic-string: 0.30.12optionalDependencies:'@vitest/[email protected]':dependencies:@@ -14745,11 +14827,11 @@ snapshots:semver: 7.6.3strip-indent: 3.0.0- [email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected])):+ [email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected])):dependencies:eslint: 9.13.0([email protected])optionalDependencies:- '@typescript-eslint/eslint-plugin': 8.12.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ '@typescript-eslint/eslint-plugin': 8.12.2(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])dependencies:@@ -15811,7 +15893,7 @@ snapshots:dependencies:- '@types/node': 22.8.4+ '@types/node': 22.8.7merge-stream: 2.0.0supports-color: 8.1.1@@ -17084,7 +17166,7 @@ snapshots:'@protobufjs/path': 1.1.2'@protobufjs/pool': 1.1.0'@protobufjs/utf8': 1.1.0- '@types/node': 22.8.7+ '@types/node': 22.9.0long: 5.2.3@@ -17343,26 +17425,26 @@ snapshots:dependencies:dnd-core: 16.0.1- [email protected]([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected]([email protected]))([email protected]):dependencies:dnd-core: 16.0.1dnd-multi-backend: 8.0.3([email protected])react: 18.3.1- react-dnd-preview: 8.0.3([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected])+ react-dnd-preview: 8.0.3([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected])react-dom: 18.3.1([email protected])- [email protected]([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected]):+ [email protected]([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected]):dependencies:react: 18.3.1dependencies:'@react-dnd/invariant': 4.0.2dnd-core: 16.0.1dependencies:'@react-dnd/invariant': 4.0.2'@react-dnd/shallowequal': 4.0.2@@ -17371,7 +17453,7 @@ snapshots:hoist-non-react-statics: 3.3.2react: 18.3.1optionalDependencies:- '@types/node': 22.8.7+ '@types/node': 22.9.0'@types/react': 18.3.12@@ -17458,7 +17540,7 @@ snapshots:react-dom: 18.3.1([email protected])substyle: 9.4.1([email protected])- [email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]):+ [email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]([email protected]))([email protected]):dependencies:classnames: 2.5.1immutability-helper: 3.1.1@@ -17466,9 +17548,9 @@ snapshots:prop-types: 15.8.1rdndmb-html5-to-touch: 8.0.3([email protected])react: 18.3.1react-dnd-html5-backend: 16.0.1- react-dnd-multi-backend: 8.0.3([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected]([email protected]))([email protected])+ react-dnd-multi-backend: 8.0.3([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected]))([email protected]([email protected]))([email protected])react-dnd-touch-backend: 16.0.1uuid: 9.0.1transitivePeerDependencies:@@ -18318,6 +18400,13 @@ snapshots:+ dependencies:+ esbuild: 0.23.1+ get-tsconfig: 4.8.1+ optionalDependencies:+ fsevents: 2.3.3+optional: true@@ -18564,12 +18653,12 @@ snapshots:- terseroptional: true- [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected]):dependencies:cac: 6.7.14debug: 4.3.7pathe: 1.1.2transitivePeerDependencies:- '@types/node'- less@@ -18581,9 +18670,9 @@ snapshots:- supports-color- terser- [email protected](@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):dependencies:- '@microsoft/api-extractor': 7.47.11(@types/[email protected])+ '@microsoft/api-extractor': 7.47.11(@types/[email protected])'@rollup/pluginutils': 5.1.3([email protected])'@volar/typescript': 2.4.8'@vue/language-core': 2.1.6([email protected])@@ -18594,7 +18683,7 @@ snapshots:magic-string: 0.30.12typescript: 5.6.3optionalDependencies:transitivePeerDependencies:- '@types/node'- rollup@@ -18618,13 +18707,13 @@ snapshots:sass: 1.77.5terser: 5.31.6- [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.21.5postcss: 8.4.47rollup: 4.24.3optionalDependencies:- '@types/node': 22.8.7+ '@types/node': 22.9.0fsevents: 2.3.3less: 4.2.0sass: 1.77.5@@ -18668,10 +18757,10 @@ snapshots:- terseroptional: true- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:'@vitest/expect': 2.1.4- '@vitest/mocker': 2.1.4([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 2.1.4([email protected](@types/[email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 2.1.4'@vitest/runner': 2.1.4'@vitest/snapshot': 2.1.4@@ -18687,11 +18776,11 @@ snapshots:tinyexec: 0.3.1tinypool: 1.0.1tinyrainbow: 1.2.0- vite-node: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])+ vite-node: 2.1.4(@types/[email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:- '@types/node': 22.8.7+ '@types/node': 22.9.0happy-dom: 15.0.0jsdom: 24.1.1transitivePeerDependencies: