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
build(workspace): use esbuild
Dushusirf3b0c62557e5
diff --git a/.github/contributing-zh.md b/.github/contributing-zh.mdindex 5126023982..ebd18bd6e8 100644--- a/.github/contributing-zh.md+++ b/.github/contributing-zh.md@@ -266,7 +266,7 @@ pnpm install}```-5. 类中的修饰符参照`private` `protected` `public`的顺序组织,内部使用 eslint 规则进行提示约束 `'@typescript-eslint/member-ordering': ['error', { default: ['private-field', 'protected-field', 'public-field', 'private-method', 'protected-method', 'public-method'] }],`+5. 类中的修饰符参照 `@typescript-eslint/member-ordering` 默认的规则进行组织,[详细排序规则](https://typescript-eslint.io/rules/member-ordering/#default-configuration)6. 当使用 `forEach` 来简化 `for` 循环时,有三点注意:diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex 303664bba9..963b462357 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -4,7 +4,7 @@"editor.codeActionsOnSave": {"source.fixAll.eslint": true},- // "editor.defaultFormatter": "esbenp.prettier-vscode",+ "editor.defaultFormatter": "esbenp.prettier-vscode","commentTranslate.targetLanguage": "zh-CN","[html]": {"editor.defaultFormatter": "vscode.html-language-features"diff --git a/examples/univer-doc-ts/package.json b/examples/univer-doc-ts/package.jsonindex 60e9786546..9dc16d7311 100644--- a/examples/univer-doc-ts/package.json+++ b/examples/univer-doc-ts/package.json@@ -24,7 +24,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0","eslint": "^8.22.0",@@ -41,15 +41,15 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-docs": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/examples/univer-preact-ts/package.json b/examples/univer-preact-ts/package.jsonindex 3a38cfb24e..8242e84a49 100644--- a/examples/univer-preact-ts/package.json+++ b/examples/univer-preact-ts/package.json@@ -20,7 +20,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0","eslint": "^8.22.0",@@ -37,17 +37,17 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-docs": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1","@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-collaboration": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1",diff --git a/examples/univer-sheet-ts/package.json b/examples/univer-sheet-ts/package.jsonindex f3ca7f229b..98f7b878e9 100644--- a/examples/univer-sheet-ts/package.json+++ b/examples/univer-sheet-ts/package.json@@ -15,15 +15,19 @@"build:demo": "vite build -c vite.demo.config.ts","watch": "vite build","link": "pnpm link ./",- "serve": "vite preview"+ "serve": "vite preview",+ "start": "ts-node --transpile-only ./scripts/start.ts",+ "build:esbuild": "ts-node --transpile-only ./scripts/build.ts"},"devDependencies": {"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0",+ "esbuild": "^0.17.10",+ "esbuild-style-plugin": "^1.6.1","eslint": "^8.22.0","eslint-config-airbnb-typescript": "^17.0.0","eslint-config-prettier": "^8.3.0",@@ -38,22 +42,22 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1",- "@univerjs/ui-plugin-sheets": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","@univerjs/sheets-plugin-clipboard": "workspace:^0.0.1","@univerjs/sheets-plugin-formula": "workspace:^0.0.1","@univerjs/sheets-plugin-import-xlsx": "workspace:^0.0.1","@univerjs/sheets-plugin-numfmt": "workspace:^0.0.1",+ "@univerjs/ui-plugin-sheets": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/examples/univer-sheet-ts/public/index.html b/examples/univer-sheet-ts/public/index.htmlnew file mode 100644index 0000000000..1c19653f0e--- /dev/null+++ b/examples/univer-sheet-ts/public/index.html@@ -0,0 +1,21 @@+<!DOCTYPE html>+<html lang="en">+ <head>+ <meta charset="utf-8" />+ <meta content="width=device-width, initial-scale=1" name="viewport" />+ <title>Esbuild example app</title>+ <meta name="author" content="Christoffer Jahren" />++ <link rel="stylesheet" href="./index.css" />+ <script src="./index.js"></script>+ <script>+ new EventSource('/esbuild').addEventListener('change', () => {+ console.info('reload--')+ location.reload()+ })+ </script>+ </head>+ <body>+ <div>1</div>+ </body>+</html>\ No newline at end of filediff --git a/examples/univer-sheet-ts/scripts/build.ts b/examples/univer-sheet-ts/scripts/build.tsnew file mode 100644index 0000000000..a24184e14f--- /dev/null+++ b/examples/univer-sheet-ts/scripts/build.ts@@ -0,0 +1,20 @@+// scripts/build.ts+import { build } from "esbuild";+import { promises } from "fs";+import { commonBuildOptions, paths } from "./common";++promises.rmdir(paths.out, { recursive: true });++build({+ ...commonBuildOptions,+ outdir: paths.out,+ define: { ["process.env.NODE_ENV"]: '"production"' },+ format: 'iife',+ globalName: 'UniverCore',+ // minify: true,+ // outExtension:{'.js':'.cjs'}, // esm => .js, cjs => .cjs, iife => .iife.js+ packages: 'external',+ sourcemap: true,+}).then(() => {+ promises.copyFile(paths.index, `${paths.out}/index.html`);+});\ No newline at end of filediff --git a/examples/univer-sheet-ts/scripts/common.ts b/examples/univer-sheet-ts/scripts/common.tsnew file mode 100644index 0000000000..04064e9ecf--- /dev/null+++ b/examples/univer-sheet-ts/scripts/common.ts@@ -0,0 +1,28 @@+// scripts/common.ts+import { BuildOptions } from "esbuild";+import stylePlugin from 'esbuild-style-plugin'+import { resolve } from "path";+const root = process.cwd();+export const paths = {+ entry: resolve(root, "./src/main.tsx"),+ // cssEntry: resolve(root, "./src/index.css"),+ index: resolve(root, "./public/index.html"),+ out: resolve(root, "./dist"),+ outDev: resolve(root, "./local"),+};+export const commonBuildOptions: BuildOptions = {+ entryPoints: [paths.entry],+ bundle: true,+ color: true,+ loader: {+ ".svg": "file",+ },+ plugins: [+ stylePlugin({+ cssModulesOptions: {+ localsConvention: 'camelCaseOnly',+ generateScopedName: 'univer-[local]',+ }+ })+ ]+};\ No newline at end of filediff --git a/examples/univer-sheet-ts/scripts/start.ts b/examples/univer-sheet-ts/scripts/start.tsnew file mode 100644index 0000000000..6eae23c465--- /dev/null+++ b/examples/univer-sheet-ts/scripts/start.ts@@ -0,0 +1,25 @@+import * as esbuild from 'esbuild'+import { commonBuildOptions, paths } from "./common";+import { promises } from "fs";+++(async () => {++ await promises.rmdir(paths.outDev, { recursive: true });+ await promises.mkdir(paths.outDev);+ await promises.copyFile(paths.index, `${paths.outDev}/index.html`);+ let ctx = await esbuild.context({+ ...commonBuildOptions,+ outdir: paths.outDev,+ sourcemap: false+ })++ await ctx.watch()++ let { host, port } = await ctx.serve({+ servedir: paths.outDev,+ })++ console.log('local server:',host,port);++})();\ No newline at end of filediff --git a/examples/univer-sheet-ts/tsconfig.json b/examples/univer-sheet-ts/tsconfig.jsonindex c9a567bad1..cf9a65240e 100644--- a/examples/univer-sheet-ts/tsconfig.json+++ b/examples/univer-sheet-ts/tsconfig.json@@ -5,7 +5,7 @@"target": "ESNext","lib": ["ESNext", "DOM", "WebWorker"],- "module": "ESNext",+ "module": "commonjs","moduleResolution": "Node", //This value is needed for Node.js."declaration": true,diff --git a/examples/univer-sheet-ts/vite.config.ts b/examples/univer-sheet-ts/vite.config.tsindex 2140d0c5de..6ea3c75dab 100644--- a/examples/univer-sheet-ts/vite.config.ts+++ b/examples/univer-sheet-ts/vite.config.ts@@ -4,6 +4,7 @@ import preact from '@preact/preset-vite';import { name, version } from './package.json';import createExternal from 'vite-plugin-external';+const resolve = (url: string) => path.resolve(__dirname, url);export default defineConfig({diff --git a/examples/univer-slide-ts/package.json b/examples/univer-slide-ts/package.jsonindex fd722fa161..d38b400cb5 100644--- a/examples/univer-slide-ts/package.json+++ b/examples/univer-slide-ts/package.json@@ -21,7 +21,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0","eslint": "^8.22.0",@@ -38,15 +38,15 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1",- "@univerjs/base-slides": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/examples/univer-vanilla-ts/package.json b/examples/univer-vanilla-ts/package.jsonindex e5402d2165..6f73199d84 100644--- a/examples/univer-vanilla-ts/package.json+++ b/examples/univer-vanilla-ts/package.json@@ -20,7 +20,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0","esbuild": "^0.16.4",@@ -38,24 +38,24 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-docs": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1","@univerjs/base-slides": "workspace:^0.0.1",- "@univerjs/ui-plugin-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","@univerjs/sheets-plugin-clipboard": "workspace:^0.0.1","@univerjs/sheets-plugin-formula": "workspace:^0.0.1","@univerjs/sheets-plugin-import-xlsx": "workspace:^0.0.1","@univerjs/sheets-plugin-numfmt": "workspace:^0.0.1",+ "@univerjs/ui-plugin-sheets": "workspace:^0.0.1","preact": "^10.5.14"}}diff --git a/package.json b/package.jsonindex f2c105db3f..621a271103 100644--- a/package.json+++ b/package.json@@ -8,6 +8,7 @@"test:e2e": "pnpm run --filter @univerjs/base-sheets test:play","dev": "node scripts/dev","dev:sheet": "pnpm run --filter univer-sheet-ts dev",+ "start:sheet": "pnpm run --filter univer-sheet-ts start","dev:all": "pnpm run --filter univer-vanilla-ts dev","dev:preact": "pnpm run --filter univer-sheet-preact dev","dev:doc": "pnpm run --filter @univerjs/base-docs dev",@@ -36,23 +37,23 @@"@microsoft/api-extractor": "7.25.0","@playwright/test": "^1.18.1","@types/jest": "28.1.8",- "@types/node": "^13.11.1",+ "@types/node": "^18.14.0","@types/numeral": "^2.0.2",+ "@typescript-eslint/eslint-plugin": "5.38.1",+ "@typescript-eslint/parser": "5.38.1","cross-env": "^7.0.3","eslint": "8.22.0","eslint-config-airbnb-base": "15.0.0",- "eslint-plugin-import": "2.26.0","eslint-config-airbnb-typescript": "17.0.0",- "@typescript-eslint/eslint-plugin": "5.38.1",- "@typescript-eslint/parser": "5.38.1",- "eslint-plugin-unused-imports": "2.0.0","eslint-config-prettier": "^8.3.0","eslint-import-resolver-typescript": "^2.7.1",+ "eslint-plugin-import": "2.26.0","eslint-plugin-import-newlines": "1.2.3","eslint-plugin-jsx-a11y": "^6.5.1","eslint-plugin-prettier": "^3.4.0","eslint-plugin-react": "^7.28.0","eslint-plugin-react-hooks": "^4.3.0",+ "eslint-plugin-unused-imports": "2.0.0","execa": "^4.1.0","find-process": "^1.4.7","husky": "^8.0.1",@@ -64,7 +65,7 @@"rimraf": "^3.0.2","tree-kill": "^1.2.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc"},"lint-staged": {diff --git a/packages/base-docs/package.json b/packages/base-docs/package.jsonindex 2a46229d39..c25c10dee8 100644--- a/packages/base-docs/package.json+++ b/packages/base-docs/package.json@@ -35,7 +35,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.0.1",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","eslint": "^8.22.0","eslint-config-airbnb-typescript": "^17.0.0","eslint-config-prettier": "^8.3.0",@@ -47,16 +47,16 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",- "@univerjs/core": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6","preact": "^10.5.14"}diff --git a/packages/base-formula-engine/package.json b/packages/base-formula-engine/package.jsonindex f2c9ba75d1..341581a160 100644--- a/packages/base-formula-engine/package.json+++ b/packages/base-formula-engine/package.json@@ -35,7 +35,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","eslint": "^8.22.0","eslint-config-airbnb-typescript": "^17.0.0","eslint-config-prettier": "^8.3.0",@@ -48,7 +48,7 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4"},diff --git a/packages/base-numfmt-engine/package.json b/packages/base-numfmt-engine/package.jsonindex 01e9448fb2..e91f109b59 100644--- a/packages/base-numfmt-engine/package.json+++ b/packages/base-numfmt-engine/package.json@@ -35,14 +35,14 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"diff --git a/packages/base-render/package.json b/packages/base-render/package.jsonindex 54d0132dcf..ae2a486ebd 100644--- a/packages/base-render/package.json+++ b/packages/base-render/package.json@@ -47,7 +47,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0","identity-obj-proxy": "^3.0.0",@@ -55,7 +55,7 @@"jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"diff --git a/packages/base-sheets/package.json b/packages/base-sheets/package.jsonindex e5b34341b0..d2b460607b 100644--- a/packages/base-sheets/package.json+++ b/packages/base-sheets/package.json@@ -49,7 +49,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0","identity-obj-proxy": "^3.0.0",@@ -57,7 +57,7 @@"jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"diff --git a/packages/base-slides/package.json b/packages/base-slides/package.jsonindex 98e6438c96..5b9b800f28 100644--- a/packages/base-slides/package.json+++ b/packages/base-slides/package.json@@ -35,7 +35,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.0.1",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","eslint": "^8.22.0","eslint-config-airbnb-typescript": "^17.0.0","eslint-config-prettier": "^8.3.0",@@ -47,14 +47,14 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","css-vars-ponyfill": "^2.4.6",diff --git a/packages/base-ui/package.json b/packages/base-ui/package.jsonindex 898847b3ad..60c87cdbb2 100644--- a/packages/base-ui/package.json+++ b/packages/base-ui/package.json@@ -49,7 +49,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","enzyme": "^3.11.0","enzyme-adapter-preact-pure": "^3.3.0",@@ -58,7 +58,7 @@"jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"diff --git a/packages/base-ui/src/Basics/CSS/index.less b/packages/base-ui/src/Basics/CSS/index.lessdeleted file mode 100644index 7b415c4369..0000000000--- a/packages/base-ui/src/Basics/CSS/index.less+++ /dev/null@@ -1,341 +0,0 @@-/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */-/* Document- ========================================================================== */-/**- * 1. Correct the line height in all browsers.- * 2. Prevent adjustments of font size after orientation changes in iOS.- */-html {- font-size: 14px;- line-height: 1.15;- /* 1 */- -webkit-text-size-adjust: 100%;- /* 2 */-}-/* Sections- ========================================================================== */-/**- * Remove the margin in all browsers.- */-body {- margin: 0;- outline: none;- user-select: none;- font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif;-}-/**- * Render the `main` element consistently in IE.- */-main {- display: block;-}-/**- * Correct the font size and margin on `h1` elements within `section` and- * `article` contexts in Chrome, Firefox, and Safari.- */-h1 {- font-size: 2em;- margin: 0.67em 0;-}-/* Grouping content- ========================================================================== */-/**- * 1. Add the correct box sizing in Firefox.- * 2. Show the overflow in Edge and IE.- */-hr {- box-sizing: content-box;- /* 1 */- height: 0;- /* 1 */- overflow: visible;- /* 2 */-}-/**- * 1. Correct the inheritance and scaling of font size in all browsers.- * 2. Correct the odd `em` font sizing in all browsers.- */-pre {- font-family: monospace, monospace;- /* 1 */- font-size: 1em;- /* 2 */-}-/* Text-level semantics- ========================================================================== */-/**- * Remove the gray background on active links in IE 10.- */-a {- background-color: transparent;-}-/**- * 1. Remove the bottom border in Chrome 57-- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.- */-abbr[title] {- border-bottom: none;- /* 1 */- text-decoration: underline;- /* 2 */- text-decoration: underline dotted;- /* 2 */-}-/**- * Add the correct font weight in Chrome, Edge, and Safari.- */-b,-strong {- font-weight: bolder;-}-/**- * 1. Correct the inheritance and scaling of font size in all browsers.- * 2. Correct the odd `em` font sizing in all browsers.- */-code,-kbd,-samp {- font-family: monospace, monospace;- /* 1 */- font-size: 1em;- /* 2 */-}-/**- * Add the correct font size in all browsers.- */-small {- font-size: 80%;-}-/**- * Prevent `sub` and `sup` elements from affecting the line height in- * all browsers.- */-sub,-sup {- font-size: 75%;- line-height: 0;- position: relative;- vertical-align: baseline;-}-sub {- bottom: -0.25em;-}-sup {- top: -0.5em;-}-/* Embedded content- ========================================================================== */-/**- * Remove the border on images inside links in IE 10.- */-img {- border-style: none;-}-/* Forms- ========================================================================== */-/**- * 1. Change the font styles in all browsers.- * 2. Remove the margin in Firefox and Safari.- */-button,-input,-optgroup,-select,-textarea {- font-family: inherit;- /* 1 */- font-size: 100%;- /* 1 */- line-height: 1.15;- /* 1 */- margin: 0;- /* 2 */- outline: none;-}-/**- * Show the overflow in IE.- * 1. Show the overflow in Edge.- */-button,-input {- /* 1 */- overflow: visible;-}-/**- * Remove the inheritance of text transform in Edge, Firefox, and IE.- * 1. Remove the inheritance of text transform in Firefox.- */-button,-select {- /* 1 */- text-transform: none;- cursor: pointer;-}-/**- * Correct the inability to style clickable types in iOS and Safari.- */-button,-[type='button'],-[type='reset'],-[type='submit'] {- -webkit-appearance: button;-}-/**- * Remove the inner border and padding in Firefox.- */-button::-moz-focus-inner,-[type='button']::-moz-focus-inner,-[type='reset']::-moz-focus-inner,-[type='submit']::-moz-focus-inner {- border-style: none;- padding: 0;-}-/**- * Restore the focus styles unset by the previous rule.- */-button:-moz-focusring,-[type='button']:-moz-focusring,-[type='reset']:-moz-focusring,-[type='submit']:-moz-focusring {- outline: 1px dotted ButtonText;-}-/**- * Correct the padding in Firefox.- */-fieldset {- padding: 0.35em 0.75em 0.625em;-}-/**- * 1. Correct the text wrapping in Edge and IE.- * 2. Correct the color inheritance from `fieldset` elements in IE.- * 3. Remove the padding so developers are not caught out when they zero out- * `fieldset` elements in all browsers.- */-legend {- box-sizing: border-box;- /* 1 */- color: inherit;- /* 2 */- display: table;- /* 1 */- max-width: 100%;- /* 1 */- padding: 0;- /* 3 */- white-space: normal;- /* 1 */-}-/**- * Add the correct vertical alignment in Chrome, Firefox, and Opera.- */-progress {- vertical-align: baseline;-}-/**- * Remove the default vertical scrollbar in IE 10+.- */-textarea {- overflow: auto;-}-/**- * 1. Add the correct box sizing in IE 10.- * 2. Remove the padding in IE 10.- */-[type='checkbox'],-[type='radio'] {- box-sizing: border-box;- /* 1 */- padding: 0;- /* 2 */-}-/**- * Correct the cursor style of increment and decrement buttons in Chrome.- */-[type='number']::-webkit-inner-spin-button,-[type='number']::-webkit-outer-spin-button {- height: auto;-}-/**- * 1. Correct the odd appearance in Chrome and Safari.- * 2. Correct the outline style in Safari.- */-[type='search'] {- -webkit-appearance: textfield;- /* 1 */- outline-offset: -2px;- /* 2 */-}-/**- * Remove the inner padding in Chrome and Safari on macOS.- */-[type='search']::-webkit-search-decoration {- -webkit-appearance: none;-}-/**- * 1. Correct the inability to style clickable types in iOS and Safari.- * 2. Change font properties to `inherit` in Safari.- */-::-webkit-file-upload-button {- -webkit-appearance: button;- /* 1 */- font: inherit;- /* 2 */-}-/* Interactive- ========================================================================== */-/*- * Add the correct display in Edge, IE 10+, and Firefox.- */-details {- display: block;-}-/*- * Add the correct display in all browsers.- */-summary {- display: list-item;-}-/* Misc- ========================================================================== */-/**- * Add the correct display in IE 10+.- */-template {- display: none;-}-/**- * Add the correct display in IE 10.- */-[hidden] {- display: none;-}-/*- custom init style- */-i {- font-style: normal;-}-* {- padding: 0;- margin: 0;- box-sizing: border-box;-}-:export {- primaryColor: #0188fb;- primaryColorHover: #5391ff;- linkColor: #1890ff;- successColor: #52c41a;- warningColor: #faad14;- errorColor: #f5222d;- fontSizeBase: 14px;- headingColor: rgba(0, 0, 0, 0.85);- textColor: rgba(0, 0, 0, 0.65);- textColorSecondary: rgba(0, 0, 0, 0.45);- disabledColor: rgba(0, 0, 0, 0.25);- borderRadiusBase: 2px;- borderColorBase: #d9d9d9;- boxShadowBase: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);-}-body {- padding: 10px;-}diff --git a/packages/common-plugin-collaboration/package.json b/packages/common-plugin-collaboration/package.jsonindex ef2853fcc2..c4977955a9 100644--- a/packages/common-plugin-collaboration/package.json+++ b/packages/common-plugin-collaboration/package.json@@ -1,65 +1,65 @@-{- "name": "@univerjs/common-plugin-collaboration",- "version": "0.0.1",- "description": "UniverSheet normal common-plugin-collaboration",- "keywords": [],- "author": "DreamNum <[email protected]>",- "license": "MIT",- "main": "./src/index.ts",- "module": "./src/index.ts",- "types": "./src/Types/index.d.ts",- "publishConfig": {- "main": "./lib/univer-common-plugin-collaboration.cjs.js",- "module": "./lib/univer-common-plugin-collaboration.es.js",- "types": "./lib/index.d.ts"- },- "exports": {- ".": "./src/index.ts",- "./*": "./src/*"- },- "directories": {- "lib": "lib"- },- "files": [- "lib"- ],- "scripts": {- "test": "jest",- "dev": "vite",- "build": "tsc && vite build",- "watch": "vite build",- "link": "pnpm link ./",- "serve": "vite preview"- },- "devDependencies": {- "@preact/preset-vite": "2.0.0",- "@testing-library/preact": "^2.0.1",- "@types/jest": "^27.0.1",- "@types/node": "^16.4.6",- "@vitejs/plugin-legacy": "^1.5.1",- "eslint": "^8.22.0",- "eslint-config-airbnb-typescript": "^17.0.0",- "eslint-config-prettier": "^8.3.0",- "eslint-plugin-import": "^2.23.4",- "eslint-plugin-prettier": "^3.4.0",- "eslint-plugin-jsx-a11y": "^6.5.1",- "eslint-plugin-react": "^7.28.0",- "eslint-plugin-react-hooks": "^4.3.0",- "less": "^4.1.1",- "prettier": "^2.3.2",- "ts-jest": "29.0.1",- "ts-node": "^10.2.1",- "typescript": "^4.4.1-rc",- "vite": "^2.4.4"- },- "dependencies": {- "@univerjs/common-plugin-data": "workspace:^0.0.1",- "@univerjs/base-ui": "workspace:^0.0.1",- "@univerjs/base-render": "workspace:^0.0.1",- "@univerjs/core": "workspace:^0.0.1",- "@univerjs/base-sheets": "workspace:^0.0.1",- "@univerjs/base-docs": "workspace:^0.0.1",- "@univerjs/base-slides": "workspace:^0.0.1",- "preact": "^10.5.14"- }-}+{+ "name": "@univerjs/common-plugin-collaboration",+ "version": "0.0.1",+ "description": "UniverSheet normal common-plugin-collaboration",+ "keywords": [],+ "author": "DreamNum <[email protected]>",+ "license": "MIT",+ "main": "./src/index.ts",+ "module": "./src/index.ts",+ "types": "./src/Types/index.d.ts",+ "publishConfig": {+ "main": "./lib/univer-common-plugin-collaboration.cjs.js",+ "module": "./lib/univer-common-plugin-collaboration.es.js",+ "types": "./lib/index.d.ts"+ },+ "exports": {+ ".": "./src/index.ts",+ "./*": "./src/*"+ },+ "directories": {+ "lib": "lib"+ },+ "files": [+ "lib"+ ],+ "scripts": {+ "test": "jest",+ "dev": "vite",+ "build": "tsc && vite build",+ "watch": "vite build",+ "link": "pnpm link ./",+ "serve": "vite preview"+ },+ "devDependencies": {+ "@preact/preset-vite": "2.0.0",+ "@testing-library/preact": "^2.0.1",+ "@types/jest": "^27.0.1",+ "@types/node": "^18.14.0",+ "@vitejs/plugin-legacy": "^1.5.1",+ "eslint": "^8.22.0",+ "eslint-config-airbnb-typescript": "^17.0.0",+ "eslint-config-prettier": "^8.3.0",+ "eslint-plugin-import": "^2.23.4",+ "eslint-plugin-jsx-a11y": "^6.5.1",+ "eslint-plugin-prettier": "^3.4.0",+ "eslint-plugin-react": "^7.28.0",+ "eslint-plugin-react-hooks": "^4.3.0",+ "less": "^4.1.1",+ "prettier": "^2.3.2",+ "ts-jest": "29.0.1",+ "ts-node": "^10.9.1",+ "typescript": "^4.4.1-rc",+ "vite": "^2.4.4"+ },+ "dependencies": {+ "@univerjs/base-docs": "workspace:^0.0.1",+ "@univerjs/base-render": "workspace:^0.0.1",+ "@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-slides": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1",+ "@univerjs/common-plugin-data": "workspace:^0.0.1",+ "@univerjs/core": "workspace:^0.0.1",+ "preact": "^10.5.14"+ }+}diff --git a/packages/common-plugin-data/package.json b/packages/common-plugin-data/package.jsonindex dad4824b45..924f113733 100644--- a/packages/common-plugin-data/package.json+++ b/packages/common-plugin-data/package.json@@ -43,13 +43,13 @@},"devDependencies": {"@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","@typescript-eslint/eslint-plugin": "^4.28.5","@typescript-eslint/parser": "^4.28.5","jest": "29.0.0","jest-dev-server": "^6.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"diff --git a/packages/core/package.json b/packages/core/package.jsonindex 30a6e33b4e..e465b73d34 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -64,7 +64,7 @@},"devDependencies": {"@types/jest": "^28.1.8",- "@types/node": "^18.7.12",+ "@types/node": "^18.14.0","@typescript-eslint/eslint-plugin": "^5.34.0","@typescript-eslint/parser": "^5.34.0","debug": "^4.3.4",diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 0705762025..8a37176fe5 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -11,7 +11,7 @@* @packageDocumentation**/-+import './Sheets/Action';export * from './Basics';export * from './Command';export * from './Const';@@ -25,3 +25,5 @@ export * from './Observer';export * from './Plugin';export * from './Server';export * from './Shared';++diff --git a/packages/sheets-plugin-alternating-colors/package.json b/packages/sheets-plugin-alternating-colors/package.jsonindex b8ee41b7b5..40290e404f 100644--- a/packages/sheets-plugin-alternating-colors/package.json+++ b/packages/sheets-plugin-alternating-colors/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-comment/package.json b/packages/sheets-plugin-comment/package.jsonindex 3d3a664c98..a7cafd7501 100644--- a/packages/sheets-plugin-comment/package.json+++ b/packages/sheets-plugin-comment/package.json@@ -35,21 +35,21 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-conditional-format/package.json b/packages/sheets-plugin-conditional-format/package.jsonindex 30cb100a92..958630f0a0 100644--- a/packages/sheets-plugin-conditional-format/package.json+++ b/packages/sheets-plugin-conditional-format/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-data-validation/package.json b/packages/sheets-plugin-data-validation/package.jsonindex cc7823c4f6..d3bc5ff665 100644--- a/packages/sheets-plugin-data-validation/package.json+++ b/packages/sheets-plugin-data-validation/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-find/package.json b/packages/sheets-plugin-find/package.jsonindex 70c168679f..5e4b741b40 100644--- a/packages/sheets-plugin-find/package.json+++ b/packages/sheets-plugin-find/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-formula/package.json b/packages/sheets-plugin-formula/package.jsonindex a378eb911e..c988c365f4 100644--- a/packages/sheets-plugin-formula/package.json+++ b/packages/sheets-plugin-formula/package.json@@ -35,14 +35,14 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"diff --git a/packages/sheets-plugin-freeze/package.json b/packages/sheets-plugin-freeze/package.jsonindex aeae3e23aa..b59e47c1dd 100644--- a/packages/sheets-plugin-freeze/package.json+++ b/packages/sheets-plugin-freeze/package.json@@ -35,21 +35,21 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-group/package.json b/packages/sheets-plugin-group/package.jsonindex 65b816c54d..97f42e4cd1 100644--- a/packages/sheets-plugin-group/package.json+++ b/packages/sheets-plugin-group/package.json@@ -35,7 +35,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.0.1",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","eslint": "^8.22.0","eslint-config-airbnb-typescript": "^17.0.0","eslint-config-prettier": "^8.3.0",@@ -47,14 +47,14 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-image/package.json b/packages/sheets-plugin-image/package.jsonindex a341ed90ac..df049d09c1 100644--- a/packages/sheets-plugin-image/package.json+++ b/packages/sheets-plugin-image/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-import-xlsx/package.json b/packages/sheets-plugin-import-xlsx/package.jsonindex c724e395d3..49c9db35b2 100644--- a/packages/sheets-plugin-import-xlsx/package.json+++ b/packages/sheets-plugin-import-xlsx/package.json@@ -35,7 +35,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.0.1",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","eslint": "^8.22.0","eslint-config-airbnb-typescript": "^17.0.0","eslint-config-prettier": "^8.3.0",@@ -47,14 +47,14 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","luckyexcel": "^1.0.1",diff --git a/packages/sheets-plugin-link/package.json b/packages/sheets-plugin-link/package.jsonindex 79e5377cef..fe6b46fc0f 100644--- a/packages/sheets-plugin-link/package.json+++ b/packages/sheets-plugin-link/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-numfmt/package.json b/packages/sheets-plugin-numfmt/package.jsonindex f9dcec5864..e4f66e8ab2 100644--- a/packages/sheets-plugin-numfmt/package.json+++ b/packages/sheets-plugin-numfmt/package.json@@ -35,23 +35,23 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-numfmt-engine": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-pivot-table/package.json b/packages/sheets-plugin-pivot-table/package.jsonindex 17ed3d8433..4a2bdfba6b 100644--- a/packages/sheets-plugin-pivot-table/package.json+++ b/packages/sheets-plugin-pivot-table/package.json@@ -35,21 +35,21 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-print/package.json b/packages/sheets-plugin-print/package.jsonindex 7489ebf419..53763a3559 100644--- a/packages/sheets-plugin-print/package.json+++ b/packages/sheets-plugin-print/package.json@@ -35,21 +35,21 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-protection/package.json b/packages/sheets-plugin-protection/package.jsonindex 412a13fe0e..ef1cb054e9 100644--- a/packages/sheets-plugin-protection/package.json+++ b/packages/sheets-plugin-protection/package.json@@ -35,21 +35,21 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-screenshot/package.json b/packages/sheets-plugin-screenshot/package.jsonindex 868d2907b0..3508ff1aaf 100644--- a/packages/sheets-plugin-screenshot/package.json+++ b/packages/sheets-plugin-screenshot/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-sort/package.json b/packages/sheets-plugin-sort/package.jsonindex 99751f9835..8e1a48731a 100644--- a/packages/sheets-plugin-sort/package.json+++ b/packages/sheets-plugin-sort/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/sheets-plugin-split-column/package.json b/packages/sheets-plugin-split-column/package.jsonindex c19fbc31f7..9d31ab7b56 100644--- a/packages/sheets-plugin-split-column/package.json+++ b/packages/sheets-plugin-split-column/package.json@@ -35,22 +35,22 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.5.2",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","debug": "^4.3.3","identity-obj-proxy": "^3.0.0","jest-dev-server": "^6.1.1","jest-environment-jsdom": "^29.0.3","less": "^4.1.1","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4","vite-plugin-external": "1.2.3"},"dependencies": {- "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/base-render": "workspace:^0.0.1","@univerjs/base-sheets": "workspace:^0.0.1",+ "@univerjs/base-ui": "workspace:^0.0.1","@univerjs/common-plugin-data": "workspace:^0.0.1","@univerjs/core": "workspace:^0.0.1","preact": "^10.5.14"diff --git a/packages/ui-plugin-sheets/package.json b/packages/ui-plugin-sheets/package.jsonindex 8e676dc4cb..20b89a0bc8 100644--- a/packages/ui-plugin-sheets/package.json+++ b/packages/ui-plugin-sheets/package.json@@ -47,7 +47,7 @@"@preact/preset-vite": "2.0.0","@testing-library/preact": "^2.0.1","@types/jest": "^27.0.1",- "@types/node": "^16.4.6",+ "@types/node": "^18.14.0","@vitejs/plugin-legacy": "^1.5.1","eslint": "^8.22.0","eslint-config-airbnb-typescript": "^17.0.0",@@ -60,7 +60,7 @@"less": "^4.1.1","prettier": "^2.3.2","ts-jest": "29.0.1",- "ts-node": "^10.2.1",+ "ts-node": "^10.9.1","typescript": "^4.4.1-rc","vite": "^2.4.4"},