Skip to content

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

build: add turborepo for monorepo management (#87)

白熱d0b3da9bfc5a
diff --git a/.gitignore b/.gitignore
index 3331045b08..84eb62246d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -96,4 +96,7 @@ etc
# api extractor, api documenter
docs/input
docs/markdown
-doc
\ No newline at end of file
+doc
+
+# turbo
+.turbo
diff --git a/cli/src/templates/base/package.json b/cli/src/templates/base/package.json
index 64a900285a..6d8bb2cae8 100644
--- a/cli/src/templates/base/package.json
+++ b/cli/src/templates/base/package.json
@@ -1,57 +1,56 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "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-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "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",
- "enzyme": "^3.11.0",
- "enzyme-adapter-preact-pure": "^3.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",
- "preact": "^10.5.14"
- }
-}
+{
+ "name": "@univerjs/<%= projectName %>",
+ "version": "0.0.1",
+ "description": "UniverSheet normal <%= projectName %>",
+ "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-<%= projectName %>.cjs.js",
+ "module": "./lib/univer-<%= projectName %>.js",
+ "types": "./lib/index.d.ts"
+ },
+ "exports": {
+ ".": "./src/index.ts",
+ "./*": "./src/*"
+ },
+ "directories": {
+ "lib": "lib"
+ },
+ "files": [
+ "lib"
+ ],
+ "private": true,
+ "scripts": {
+ "test": "jest",
+ "dev": "vite",
+ "build": "tsc && vite build",
+ "watch": "vite build",
+ "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",
+ "enzyme": "^3.11.0",
+ "enzyme-adapter-preact-pure": "^3.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",
+ "preact": "^10.5.14"
+ }
+}
diff --git a/cli/src/templates/common-plugin/package.json b/cli/src/templates/common-plugin/package.json
index 8caeefd476..704f5d2aff 100644
--- a/cli/src/templates/common-plugin/package.json
+++ b/cli/src/templates/common-plugin/package.json
@@ -1,58 +1,57 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "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-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "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",
- "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/<%= projectName %>",
+ "version": "0.0.1",
+ "description": "UniverSheet normal <%= projectName %>",
+ "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-<%= projectName %>.cjs.js",
+ "module": "./lib/univer-<%= projectName %>.js",
+ "types": "./lib/index.d.ts"
+ },
+ "exports": {
+ ".": "./src/index.ts",
+ "./*": "./src/*"
+ },
+ "directories": {
+ "lib": "lib"
+ },
+ "files": [
+ "lib"
+ ],
+ "private": true,
+ "scripts": {
+ "test": "jest",
+ "dev": "vite",
+ "build": "tsc && vite build",
+ "watch": "vite build",
+ "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",
+ "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"
+ }
+}
diff --git a/cli/src/templates/docs-plugin/package.json b/cli/src/templates/docs-plugin/package.json
index 04c5a1e64e..4eb763b3a2 100644
--- a/cli/src/templates/docs-plugin/package.json
+++ b/cli/src/templates/docs-plugin/package.json
@@ -1,54 +1,53 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "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-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
-
- "files": [
- "lib"
- ],
- "private": true,
- "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",
- "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-docs": "workspace:^0.0.1",
- "preact": "^10.5.14"
- }
-}
+{
+ "name": "@univerjs/<%= projectName %>",
+ "version": "0.0.1",
+ "description": "UniverSheet normal <%= projectName %>",
+ "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-<%= projectName %>.cjs.js",
+ "module": "./lib/univer-<%= projectName %>.js",
+ "types": "./lib/index.d.ts"
+ },
+ "exports": {
+ ".": "./src/index.ts",
+ "./*": "./src/*"
+ },
+
+ "files": [
+ "lib"
+ ],
+ "private": true,
+ "scripts": {
+ "test": "jest",
+ "dev": "vite",
+ "build": "tsc && vite build",
+ "watch": "vite build",
+ "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",
+ "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-docs": "workspace:^0.0.1",
+ "preact": "^10.5.14"
+ }
+}
diff --git a/cli/src/templates/sheets-plugin/package.json b/cli/src/templates/sheets-plugin/package.json
index 8468a25c76..a09ab8e348 100644
--- a/cli/src/templates/sheets-plugin/package.json
+++ b/cli/src/templates/sheets-plugin/package.json
@@ -1,56 +1,55 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "UniverSheet normal <%= projectName %>",
- "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-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "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",
- "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",
- "preact": "^10.5.14"
- }
-}
+{
+ "name": "@univerjs/<%= projectName %>",
+ "version": "0.0.1",
+ "description": "UniverSheet normal <%= projectName %>",
+ "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-<%= projectName %>.cjs.js",
+ "module": "./lib/univer-<%= projectName %>.js",
+ "types": "./lib/index.d.ts"
+ },
+ "exports": {
+ ".": "./src/index.ts",
+ "./*": "./src/*"
+ },
+ "directories": {
+ "lib": "lib"
+ },
+ "files": [
+ "lib"
+ ],
+ "private": true,
+ "scripts": {
+ "test": "jest",
+ "dev": "vite",
+ "build": "tsc && vite build",
+ "watch": "vite build",
+ "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",
+ "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",
+ "preact": "^10.5.14"
+ }
+}
diff --git a/cli/src/templates/slides-plugin/package.json b/cli/src/templates/slides-plugin/package.json
index 7c457c2685..3aafb13058 100644
--- a/cli/src/templates/slides-plugin/package.json
+++ b/cli/src/templates/slides-plugin/package.json
@@ -1,56 +1,55 @@
-{
- "name": "@univerjs/<%= projectName %>",
- "version": "0.0.1",
- "description": "Univer <%= projectName %>",
- "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-<%= projectName %>.cjs.js",
- "module": "./lib/univer-<%= projectName %>.js",
- "types": "./lib/index.d.ts"
- },
- "exports": {
- ".": "./src/index.ts",
- "./*": "./src/*"
- },
- "directories": {
- "lib": "lib"
- },
- "files": [
- "lib"
- ],
- "private": true,
- "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",
- "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-slides": "workspace:^0.0.1",
- "preact": "^10.5.14"
- }
+{
+ "name": "@univerjs/<%= projectName %>",
+ "version": "0.0.1",
+ "description": "Univer <%= projectName %>",
+ "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-<%= projectName %>.cjs.js",
+ "module": "./lib/univer-<%= projectName %>.js",
+ "types": "./lib/index.d.ts"
+ },
+ "exports": {
+ ".": "./src/index.ts",
+ "./*": "./src/*"
+ },
+ "directories": {
+ "lib": "lib"
+ },
+ "files": [
+ "lib"
+ ],
+ "private": true,
+ "scripts": {
+ "test": "jest",
+ "dev": "vite",
+ "build": "tsc && vite build",
+ "watch": "vite build",
+ "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",
+ "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-slides": "workspace:^0.0.1",
+ "preact": "^10.5.14"
+ }
}
\ No newline at end of file
diff --git a/esbuild.config.js b/esbuild.config.js
new file mode 100644
index 0000000000..02e0cb2ee7
--- /dev/null
+++ b/esbuild.config.js
@@ -0,0 +1,25 @@
+/** @type {import('esbuild').BuildOptions} */
+module.exports = {
+ bundle: true,
+ color: true,
+ loader: { '.svg': 'file' },
+ sourcemap: false,
+ plugins: [
+ require('esbuild-plugin-clean').clean({
+ patterns: ['./lib'],
+ }),
+ require('esbuild-style-plugin')({
+ cssModulesOptions: {
+ localsConvention: 'camelCaseOnly',
+ generateScopedName: 'univer-[local]',
+ },
+ renderOptions: {
+ lessOptions: { rewriteUrls: 'all' },
+ },
+ }),
+ ],
+ entryPoints: ['./src/index.ts'],
+ define: { 'process.env.NODE_ENV': '"production"' },
+ format: 'esm',
+ packages: 'external',
+};
diff --git a/examples/univer-doc-ts/package.json b/examples/univer-doc-ts/package.json
index ca9f8285e6..8f7bcfeef4 100644
--- a/examples/univer-doc-ts/package.json
+++ b/examples/univer-doc-ts/package.json
@@ -18,7 +18,6 @@
"build": "tsc && vite build",
"build:demo": "vite build -c vite.demo.config.ts",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/examples/univer-preact-ts/package.json b/examples/univer-preact-ts/package.json
index d24636e814..2ba88c19b4 100644
--- a/examples/univer-preact-ts/package.json
+++ b/examples/univer-preact-ts/package.json
@@ -14,7 +14,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/examples/univer-sheet-ts/package.json b/examples/univer-sheet-ts/package.json
index 63e02630ee..86b1e17449 100644
--- a/examples/univer-sheet-ts/package.json
+++ b/examples/univer-sheet-ts/package.json
@@ -15,7 +15,6 @@
"build": "tsc && vite build",
"build:demo": "vite build -c vite.demo.config.ts",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview",
"start": "ts-node --transpile-only ./scripts/start.ts",
"build:esbuild": "ts-node --transpile-only ./scripts/build.ts"
diff --git a/examples/univer-slide-ts/package.json b/examples/univer-slide-ts/package.json
index 392b121e59..b456a6e8f7 100644
--- a/examples/univer-slide-ts/package.json
+++ b/examples/univer-slide-ts/package.json
@@ -15,7 +15,6 @@
"build": "tsc && vite build",
"build:demo": "vite build -c vite.demo.config.ts",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/examples/univer-vanilla-ts/package.json b/examples/univer-vanilla-ts/package.json
index 4ff5e778e6..2e9b5c5030 100644
--- a/examples/univer-vanilla-ts/package.json
+++ b/examples/univer-vanilla-ts/package.json
@@ -14,7 +14,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/package.json b/package.json
index 352647dc1a..da358b4765 100644
--- a/package.json
+++ b/package.json
@@ -18,11 +18,11 @@
"d": "pnpm run dev:all",
"api": "node scripts/api",
"lighthouse-dev": "start /B node scripts/dev && lighthouse http://127.0.0.1:3103 --output html --output-path ./report.html",
- "build": "node scripts/build.js",
+ "build:legacy": "node scripts/build.js",
+ "build": "turbo esbuild",
"build:sheet": "pnpm run --filter univer-sheet-ts build:demo",
"build:doc": "pnpm run --filter univer-doc-ts build:demo",
"build:slide": "pnpm run --filter univer-slide-ts build:demo",
- "link": "node scripts/link.js",
"build:customd": "cd cli/src/templates/univer-custom-build && npm run build:d",
"clean": "npm cache clean --force && node scripts/clean.js && pnpm install",
"node-server": "node scripts/server.js",
@@ -52,8 +52,9 @@
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"cross-env": "^7.0.3",
- "esbuild": "^0.18.11",
- "esbuild-style-plugin": "^1.6.1",
+ "esbuild": "^0.19.2",
+ "esbuild-plugin-clean": "^1.0.1",
+ "esbuild-style-plugin": "^1.6.2",
"eslint": "^8.35.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
@@ -76,6 +77,7 @@
"tree-kill": "^1.2.2",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
+ "turbo": "^1.10.13",
"typescript": "^4.4.1-rc"
},
"lint-staged": {
diff --git a/packages/base-docs/package.json b/packages/base-docs/package.json
index b935fe423f..71e273207d 100644
--- a/packages/base-docs/package.json
+++ b/packages/base-docs/package.json
@@ -37,7 +37,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/packages/base-formula-engine/esbuild.config.js b/packages/base-formula-engine/esbuild.config.js
new file mode 100644
index 0000000000..f17c745411
--- /dev/null
+++ b/packages/base-formula-engine/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverBaseFormulaEngine',
+ outfile: './lib/univer-base-formula-engine.js',
+});
diff --git a/packages/base-formula-engine/package.json b/packages/base-formula-engine/package.json
index 1d3aff7808..79feb0bc82 100644
--- a/packages/base-formula-engine/package.json
+++ b/packages/base-formula-engine/package.json
@@ -34,14 +34,9 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -50,8 +45,7 @@
"prettier": "^2.3.2",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/core": "workspace:^0.0.1",
diff --git a/packages/base-formula-engine/vite.config.ts b/packages/base-formula-engine/vite.config.ts
deleted file mode 100644
index 3c924179ce..0000000000
--- a/packages/base-formula-engine/vite.config.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-import preact from '@preact/preset-vite';
-import { name, version } from './package.json';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- // lib: {
- // entry: resolve('src/index.ts'),
- // name: 'BaseStyleUniverSheet',
- // formats: ['es', 'umd', 'cjs'],
- // fileName: 'index',
- // },
- // outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [preact()],
-});
diff --git a/packages/base-numfmt-engine/esbuild.config.js b/packages/base-numfmt-engine/esbuild.config.js
new file mode 100644
index 0000000000..4a6104a45f
--- /dev/null
+++ b/packages/base-numfmt-engine/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverBaseNumfmtEngine',
+ outfile: './lib/univer-base-numfmt-engine.js',
+});
diff --git a/packages/base-numfmt-engine/package.json b/packages/base-numfmt-engine/package.json
index e629003d50..d0a6238d08 100644
--- a/packages/base-numfmt-engine/package.json
+++ b/packages/base-numfmt-engine/package.json
@@ -34,14 +34,9 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -52,9 +47,7 @@
"less": "^4.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/core": "workspace:^0.0.1"
diff --git a/packages/base-numfmt-engine/vite.config.ts b/packages/base-numfmt-engine/vite.config.ts
deleted file mode 100644
index d4dcfce615..0000000000
--- a/packages/base-numfmt-engine/vite.config.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { defineConfig } from 'vite';
-import { name, version } from './package.json';
-import path from 'path';
-import preact from '@preact/preset-vite';
-import createExternal from 'vite-plugin-external';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverSheetsPluginFormula',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-sheets-plugin-formula',
- },
- outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly',
- generateScopedName: 'univer-[local]',
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true,
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/style-univer': '@univerjs/style-univer',
- preact: 'preact',
- react: 'react',
- },
- }),
- ],
-});
diff --git a/packages/base-render/esbuild.config.js b/packages/base-render/esbuild.config.js
new file mode 100644
index 0000000000..e7e49ead3a
--- /dev/null
+++ b/packages/base-render/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverBaseRender',
+ outfile: './lib/univer-base-render.js',
+});
diff --git a/packages/base-render/package.json b/packages/base-render/package.json
index 9585731e79..a5a28e8371 100644
--- a/packages/base-render/package.json
+++ b/packages/base-render/package.json
@@ -38,14 +38,9 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -57,9 +52,7 @@
"less": "^4.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/core": "workspace:^0.0.1",
diff --git a/packages/base-render/vite.config.ts b/packages/base-render/vite.config.ts
deleted file mode 100644
index 74c36eb51b..0000000000
--- a/packages/base-render/vite.config.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-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({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverBaseRender',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-base-render',
- },
- outDir: './lib',
- //sourcemap: true
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- },
- }),
- ],
- resolve: {
- // alias: [
- // {
- // find: '@Basics',
- // replacement: path.resolve('..', '/src/Basics'),
- // },
- // ],
- // alias: [
- // {
- // find: /^@([^univer].*)$/,
- // replacement: path.resolve(__dirname, 'src/$1'),
- // },
- // ],
- },
-});
diff --git a/packages/base-sheets/esbuild.config.js b/packages/base-sheets/esbuild.config.js
new file mode 100644
index 0000000000..e0043d642f
--- /dev/null
+++ b/packages/base-sheets/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverBaseSheets',
+ outfile: './lib/univer-base-sheets.js',
+});
diff --git a/packages/base-sheets/package.json b/packages/base-sheets/package.json
index a69bc15102..c446910297 100644
--- a/packages/base-sheets/package.json
+++ b/packages/base-sheets/package.json
@@ -39,14 +39,9 @@
"test": "jest",
"test:play": "npx playwright test",
"test:debug": "PWDEBUG=1 npx playwright test",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -58,9 +53,7 @@
"less": "^4.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
diff --git a/packages/base-sheets/vite.config.ts b/packages/base-sheets/vite.config.ts
deleted file mode 100644
index 37e9cbe317..0000000000
--- a/packages/base-sheets/vite.config.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-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({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverBaseSheets',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-base-sheets',
- },
- outDir: './lib',
- //sourcemap: true,
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- // resolve: {
- // alias: [
- // {
- // find: '@',
- // replacement: path.resolve(__dirname, './node_modules')
- // }
- // ],
- // },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- hmr: true,
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/base-render': '@univerjs/base-render',
- },
- }),
- ],
- resolve: {
- // preserveSymlinks: true,
- // alias: [
- // {
- // find: '@Basics',
- // replacement: path.resolve('..', '/src/Basics'),
- // },
- // ],
- // alias: [
- // {
- // find: /^@([^univer].*)$/,
- // replacement: path.resolve(__dirname, './src/$1'),
- // },
- // ],
- },
-});
diff --git a/packages/base-slides/package.json b/packages/base-slides/package.json
index 2e52ec3a55..db282bb98f 100644
--- a/packages/base-slides/package.json
+++ b/packages/base-slides/package.json
@@ -37,7 +37,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/packages/base-ui/esbuild.config.js b/packages/base-ui/esbuild.config.js
new file mode 100644
index 0000000000..19e710ecfa
--- /dev/null
+++ b/packages/base-ui/esbuild.config.js
@@ -0,0 +1,8 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ alias: { react: 'preact/compat' },
+ globalName: 'UniverBaseUi',
+ outfile: './lib/univer-base-ui.js',
+});
diff --git a/packages/base-ui/package.json b/packages/base-ui/package.json
index 5ebf9f907f..91cf86837d 100644
--- a/packages/base-ui/package.json
+++ b/packages/base-ui/package.json
@@ -39,14 +39,9 @@
"test:play": "npx playwright test",
"test:debug": "PWDEBUG=1 npx playwright test",
"test:cover": "cross-env NODE_ENV=--experimental-vm-modules jest --coverage",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -59,9 +54,7 @@
"less": "^4.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
diff --git a/packages/base-ui/vite.config.ts b/packages/base-ui/vite.config.ts
deleted file mode 100644
index fb2b1b0484..0000000000
--- a/packages/base-ui/vite.config.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-import preact from '@preact/preset-vite';
-import createExternal from 'vite-plugin-external';
-
-import { name, version } from './package.json';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverBaseUI',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-base-ui',
- },
- outDir: './lib',
- //sourcemap: true,
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- // open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/base-render': '@univerjs/base-render',
- 'react-colorful': 'react-colorful',
- preact: 'preact',
- },
- }),
- ],
-});
diff --git a/packages/common-plugin-collaboration/package.json b/packages/common-plugin-collaboration/package.json
index 3bbcae57f5..7f4cb61023 100644
--- a/packages/common-plugin-collaboration/package.json
+++ b/packages/common-plugin-collaboration/package.json
@@ -37,7 +37,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/packages/common-plugin-data/esbuild.config.js b/packages/common-plugin-data/esbuild.config.js
new file mode 100644
index 0000000000..e7e49ead3a
--- /dev/null
+++ b/packages/common-plugin-data/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverBaseRender',
+ outfile: './lib/univer-base-render.js',
+});
diff --git a/packages/common-plugin-data/package.json b/packages/common-plugin-data/package.json
index cd3849d511..68bab3bc9b 100644
--- a/packages/common-plugin-data/package.json
+++ b/packages/common-plugin-data/package.json
@@ -32,11 +32,7 @@
"private": false,
"scripts": {
"test": "cross-env NODE_ENV=--experimental-vm-modules jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"license": "MIT",
"dependencies": {
@@ -49,8 +45,6 @@
"jest-dev-server": "^6.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
}
}
\ No newline at end of file
diff --git a/packages/common-plugin-data/vite.config.ts b/packages/common-plugin-data/vite.config.ts
deleted file mode 100644
index 985c9dc8f1..0000000000
--- a/packages/common-plugin-data/vite.config.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { defineConfig } from 'vite';
-import { name, version } from './package.json';
-import path from 'path';
-import createExternal from 'vite-plugin-external';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverCommonPluginData',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-common-plugin-data',
- },
- outDir: './lib',
- //sourcemap: true
- },
- define: {
- pkgJson: { name, version },
- },
- esbuild: {
- jsxFactory: 'DOMcreateElement',
- jsxFragment: 'DOMcreateFragment',
- jsxInject: "import { DOMcreateElement, DOMcreateFragment } from '@/Common/jsxFactory'",
- },
- server: {
- port: 3102,
- open: true, // // Automatically open the app in the browser on server start.
- },
- plugins: [
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core'
- },
- }),
- ],
- resolve: {
- alias: {
- '@': path.resolve(__dirname, 'src'),
- },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly',
- },
- },
-});
diff --git a/packages/core/esbuild.config.js b/packages/core/esbuild.config.js
new file mode 100644
index 0000000000..928c160123
--- /dev/null
+++ b/packages/core/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverCore',
+ outfile: './lib/univer-core.js',
+});
diff --git a/packages/core/package.json b/packages/core/package.json
index b90496ca35..fa487b8ee2 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -41,10 +41,7 @@
"private": false,
"scripts": {
"test": "cross-env NODE_ENV=--experimental-vm-modules jest --config=jest.config.js",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
+ "esbuild": "node ./esbuild.config.js",
"api": "node ./api.js",
"tsc": "tsc",
"serve": "node test/Server/server.js"
@@ -73,8 +70,6 @@
"less": "^4.1.3",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.7.4",
- "vite": "^3.0.9",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.7.4"
}
}
diff --git a/packages/core/vite.config.ts b/packages/core/vite.config.ts
deleted file mode 100644
index 49ccae6063..0000000000
--- a/packages/core/vite.config.ts
+++ /dev/null
@@ -1,52 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-import createExternal from 'vite-plugin-external';
-import { name, version } from './package.json';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverCore',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-core',
- },
- outDir: './lib',
- //sourcemap: true
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3102,
- open: true, // // Automatically open the app in the browser on server start.
- },
- plugins: [
- createExternal({
- externals: {
- dayjs: 'dayjs',
- nanoid: 'nanoid',
- numeral: 'numeral',
- 'es6-proxy-polyfill': 'es6-proxy-polyfill',
- },
- }),
- ],
- resolve: {
- alias: {
- // '@': path.resolve(__dirname, 'src'),
- },
- },
-});
diff --git a/packages/sheets-plugin-filter/package.json b/packages/sheets-plugin-filter/package.json
index cc3c4e7c23..b2fc4bc57b 100644
--- a/packages/sheets-plugin-filter/package.json
+++ b/packages/sheets-plugin-filter/package.json
@@ -37,7 +37,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/packages/sheets-plugin-find/esbuild.config.js b/packages/sheets-plugin-find/esbuild.config.js
new file mode 100644
index 0000000000..2a7658cdbb
--- /dev/null
+++ b/packages/sheets-plugin-find/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverSheetsPluginFind',
+ outfile: './lib/univer-sheets-plugin-find.js',
+});
diff --git a/packages/sheets-plugin-find/package.json b/packages/sheets-plugin-find/package.json
index 934f3f6db7..23ae8367cf 100644
--- a/packages/sheets-plugin-find/package.json
+++ b/packages/sheets-plugin-find/package.json
@@ -34,14 +34,9 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -52,9 +47,7 @@
"less": "^4.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
diff --git a/packages/sheets-plugin-find/vite.config.ts b/packages/sheets-plugin-find/vite.config.ts
deleted file mode 100644
index 77e1e5eb77..0000000000
--- a/packages/sheets-plugin-find/vite.config.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-import preact from '@preact/preset-vite';
-import createExternal from 'vite-plugin-external';
-import { name, version } from './package.json';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverSheetsPluginFind',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-sheets-plugin-find',
- },
- outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/style-univer': '@univerjs/style-univer',
- preact: 'preact',
- react: 'react',
- },
- }),
- ],
-});
diff --git a/packages/sheets-plugin-formula/esbuild.config.js b/packages/sheets-plugin-formula/esbuild.config.js
new file mode 100644
index 0000000000..5b31149d73
--- /dev/null
+++ b/packages/sheets-plugin-formula/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverSheetsPluginFormula',
+ outfile: './lib/univer-sheets-plugin-formula.js',
+});
diff --git a/packages/sheets-plugin-formula/package.json b/packages/sheets-plugin-formula/package.json
index 5811c53c7d..9af7c18280 100644
--- a/packages/sheets-plugin-formula/package.json
+++ b/packages/sheets-plugin-formula/package.json
@@ -34,14 +34,9 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -52,9 +47,7 @@
"less": "^4.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/base-formula-engine": "workspace:^0.0.1",
diff --git a/packages/sheets-plugin-formula/vite.config.ts b/packages/sheets-plugin-formula/vite.config.ts
deleted file mode 100644
index e588a7deac..0000000000
--- a/packages/sheets-plugin-formula/vite.config.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-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({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverSheetsPluginFormula',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-sheets-plugin-formula',
- },
- outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/base-render': '@univerjs/base-render',
- },
- }),
- ],
-});
diff --git a/packages/sheets-plugin-image/esbuild.config.js b/packages/sheets-plugin-image/esbuild.config.js
new file mode 100644
index 0000000000..3de0299805
--- /dev/null
+++ b/packages/sheets-plugin-image/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverSheetsPluginImage',
+ outfile: './lib/univer-sheets-plugin-image.js',
+});
diff --git a/packages/sheets-plugin-image/package.json b/packages/sheets-plugin-image/package.json
index 1a8dc236be..f25619c40c 100644
--- a/packages/sheets-plugin-image/package.json
+++ b/packages/sheets-plugin-image/package.json
@@ -34,14 +34,9 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^18.14.0",
@@ -52,9 +47,7 @@
"less": "^4.1.1",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
diff --git a/packages/sheets-plugin-image/vite.config.ts b/packages/sheets-plugin-image/vite.config.ts
deleted file mode 100644
index bc817cbf38..0000000000
--- a/packages/sheets-plugin-image/vite.config.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { defineConfig } from 'vite';
-import { name, version } from './package.json';
-import path from 'path';
-import preact from '@preact/preset-vite';
-import createExternal from 'vite-plugin-external';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverSheetsPluginImage',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-sheets-plugin-image',
- },
- outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly',
- generateScopedName: 'univer-[local]',
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true,
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/style-univer': '@univerjs/style-univer',
- preact: 'preact',
- react: 'react',
- },
- }),
- ],
-});
diff --git a/packages/sheets-plugin-import-xlsx/esbuild.config.js b/packages/sheets-plugin-import-xlsx/esbuild.config.js
new file mode 100644
index 0000000000..baea0c14ad
--- /dev/null
+++ b/packages/sheets-plugin-import-xlsx/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverSheetsPluginImportXlsx',
+ outfile: './lib/univer-sheets-plugin-import-xlsx.js',
+});
diff --git a/packages/sheets-plugin-import-xlsx/package.json b/packages/sheets-plugin-import-xlsx/package.json
index e1010c3a05..eb44ef582d 100644
--- a/packages/sheets-plugin-import-xlsx/package.json
+++ b/packages/sheets-plugin-import-xlsx/package.json
@@ -34,14 +34,9 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "^2.0.1",
"@types/jest": "^27.0.1",
"@types/node": "^18.14.0",
@@ -49,8 +44,7 @@
"prettier": "^2.3.2",
"ts-jest": "29.0.1",
"ts-node": "^10.9.1",
- "typescript": "^4.4.1-rc",
- "vite": "^2.4.4"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
diff --git a/packages/sheets-plugin-import-xlsx/vite.config.ts b/packages/sheets-plugin-import-xlsx/vite.config.ts
deleted file mode 100644
index 3115a42d8c..0000000000
--- a/packages/sheets-plugin-import-xlsx/vite.config.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-import preact from '@preact/preset-vite';
-import { name, version } from './package.json';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- // lib: {
- // entry: resolve('src/index.ts'),
- // name: 'BaseStyleUniver',
- // formats: ['es', 'umd', 'cjs'],
- // fileName: 'index',
- // },
- // outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [preact()],
-});
diff --git a/packages/sheets-plugin-numfmt/package.json b/packages/sheets-plugin-numfmt/package.json
index df5586c138..e372beb548 100644
--- a/packages/sheets-plugin-numfmt/package.json
+++ b/packages/sheets-plugin-numfmt/package.json
@@ -37,7 +37,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/packages/sheets-plugin-operation/esbuild.config.js b/packages/sheets-plugin-operation/esbuild.config.js
new file mode 100644
index 0000000000..5b5cd97539
--- /dev/null
+++ b/packages/sheets-plugin-operation/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverSheetsPluginOperation',
+ outfile: './lib/univer-sheets-plugin-operation.js',
+});
diff --git a/packages/sheets-plugin-operation/package.json b/packages/sheets-plugin-operation/package.json
index 4a39056589..10df7feec4 100644
--- a/packages/sheets-plugin-operation/package.json
+++ b/packages/sheets-plugin-operation/package.json
@@ -34,23 +34,16 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"devDependencies": {
- "@preact/preset-vite": "2.0.0",
"@testing-library/preact": "2.0.1",
"@types/jest": "27.0.3",
"jest": "29.0.0",
"jest-environment-jsdom": "^29.0.3",
"less": "4.1.1",
"ts-jest": "29.0.1",
- "typescript": "4.7.2",
- "vite": "2.4.4",
- "vite-plugin-external": "1.2.3"
+ "typescript": "4.7.2"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
diff --git a/packages/sheets-plugin-operation/vite.config.ts b/packages/sheets-plugin-operation/vite.config.ts
deleted file mode 100644
index 9bee59f99c..0000000000
--- a/packages/sheets-plugin-operation/vite.config.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-import preact from '@preact/preset-vite';
-import createExternal from 'vite-plugin-external';
-import { name, version } from './package.json';
-
-const resolve = (url: string) => path.resolve(__dirname, url);
-
-export default defineConfig({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverSheetsPluginClipboard',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-sheets--plugin-clipboard',
- },
- outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/style-univer': '@univerjs/style-univer',
- preact: 'preact',
- react: 'react',
- },
- }),
- ],
-});
diff --git a/packages/ui-plugin-docs/package.json b/packages/ui-plugin-docs/package.json
index 11216a7942..d8c4374698 100644
--- a/packages/ui-plugin-docs/package.json
+++ b/packages/ui-plugin-docs/package.json
@@ -37,7 +37,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/packages/ui-plugin-sheets/esbuild.config.js b/packages/ui-plugin-sheets/esbuild.config.js
new file mode 100644
index 0000000000..fa9c8adf7b
--- /dev/null
+++ b/packages/ui-plugin-sheets/esbuild.config.js
@@ -0,0 +1,7 @@
+const baseconfig = require('../../esbuild.config');
+
+require('esbuild').build({
+ ...baseconfig,
+ globalName: 'UniverUiPluginSheets',
+ outfile: './lib/univer-ui-plugin-sheets.js',
+});
diff --git a/packages/ui-plugin-sheets/package.json b/packages/ui-plugin-sheets/package.json
index f445390c81..8241c0c22a 100644
--- a/packages/ui-plugin-sheets/package.json
+++ b/packages/ui-plugin-sheets/package.json
@@ -38,24 +38,17 @@
"private": false,
"scripts": {
"test": "jest",
- "dev": "vite",
- "build": "tsc && vite build",
- "watch": "vite build",
- "link": "pnpm link ./",
- "serve": "vite preview"
+ "esbuild": "node ./esbuild.config.js"
},
"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",
"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"
+ "typescript": "^4.4.1-rc"
},
"dependencies": {
"@univerjs/base-render": "workspace:^0.0.1",
diff --git a/packages/ui-plugin-sheets/vite.config.ts b/packages/ui-plugin-sheets/vite.config.ts
deleted file mode 100644
index db8db63c97..0000000000
--- a/packages/ui-plugin-sheets/vite.config.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { defineConfig } from 'vite';
-import path from 'path';
-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({
- build: {
- lib: {
- entry: resolve('src/index.ts'),
- name: 'UniverUIPluginSheets',
- formats: ['es', 'umd', 'cjs'],
- fileName: 'univer-ui-plugin-sheets',
- },
- outDir: './lib',
- },
- define: {
- pkgJson: { name, version },
- },
- css: {
- modules: {
- localsConvention: 'camelCaseOnly', // dash to camelCase conversion// .apply-color -> applyColor
- generateScopedName: 'univer-[local]', // custom prefix class name
- },
- preprocessorOptions: {
- less: {
- javascriptEnabled: true,
- },
- },
- },
- server: {
- port: 3103,
- open: true, // Automatically open the app in the browser on server start.
- },
- plugins: [
- preact(),
- createExternal({
- externals: {
- '@univerjs/core': '@univerjs/core',
- '@univerjs/base-ui': '@univerjs/base-ui',
- '@univerjs/base-render': '@univerjs/base-render',
- '@univerjs/base-sheets': '@univerjs/base-sheets',
- 'css-vars-ponyfill': 'css-vars-ponyfill',
- 'preact': 'preact',
- },
- }),
- ],
-});
diff --git a/packages/ui-plugin-slides/package.json b/packages/ui-plugin-slides/package.json
index 58d897add9..2ff5e8cc52 100644
--- a/packages/ui-plugin-slides/package.json
+++ b/packages/ui-plugin-slides/package.json
@@ -37,7 +37,6 @@
"dev": "vite",
"build": "tsc && vite build",
"watch": "vite build",
- "link": "pnpm link ./",
"serve": "vite preview"
},
"devDependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6e45814eb7..a1db1e9dd3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -49,11 +49,14 @@ importers:
specifier: ^7.0.3
version: 7.0.3
esbuild:
- specifier: ^0.18.11
- version: 0.18.11
+ specifier: ^0.19.2
+ version: 0.19.2
+ esbuild-plugin-clean:
+ specifier: ^1.0.1
+ version: 1.0.1([email protected])
esbuild-style-plugin:
- specifier: ^1.6.1
- version: 1.6.1
+ specifier: ^1.6.2
+ version: 1.6.2
eslint:
specifier: ^8.35.0
version: 8.35.0
@@ -116,10 +119,13 @@ importers:
version: 1.2.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
+ turbo:
+ specifier: ^1.10.13
+ version: 1.10.13
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
@@ -183,7 +189,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -283,7 +289,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -456,7 +462,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -614,7 +620,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -637,9 +643,6 @@ importers:
specifier: ^10.12.1
version: 10.17.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -660,16 +663,13 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
packages/base-numfmt-engine:
dependencies:
@@ -677,9 +677,6 @@ importers:
specifier: workspace:^0.0.1
version: link:../core
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -706,19 +703,13 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/base-render:
dependencies:
@@ -729,9 +720,6 @@ importers:
specifier: ^0.12.6
version: 0.12.6
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -761,19 +749,13 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/base-sheets:
dependencies:
@@ -787,9 +769,6 @@ importers:
specifier: ^0.12.6
version: 0.12.6
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -819,19 +798,13 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/base-slides:
dependencies:
@@ -874,7 +847,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -906,9 +879,6 @@ importers:
specifier: ^7.8.1
version: 7.8.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -941,19 +911,13 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/common-plugin-collaboration:
dependencies:
@@ -1002,7 +966,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -1033,19 +997,13 @@ importers:
version: 6.1.1([email protected])
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/core:
dependencies:
@@ -1091,19 +1049,13 @@ importers:
version: 4.1.3
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.7.4
version: 4.7.4
- vite:
- specifier: ^3.0.9
- version: 3.0.9([email protected])
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/sheets-plugin-filter:
dependencies:
@@ -1146,7 +1098,7 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
typescript:
specifier: 4.7.2
version: 4.7.2
@@ -1184,9 +1136,6 @@ importers:
specifier: ^10.12.1
version: 10.17.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -1213,19 +1162,13 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/sheets-plugin-formula:
dependencies:
@@ -1254,9 +1197,6 @@ importers:
specifier: ^10.12.1
version: 10.17.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -1283,19 +1223,13 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/sheets-plugin-image:
dependencies:
@@ -1324,9 +1258,6 @@ importers:
specifier: ^10.12.1
version: 10.17.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -1353,19 +1284,13 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/sheets-plugin-import-xlsx:
dependencies:
@@ -1397,9 +1322,6 @@ importers:
specifier: ^10.12.1
version: 10.17.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -1417,16 +1339,13 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
packages/sheets-plugin-numfmt:
dependencies:
@@ -1487,7 +1406,7 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -1528,9 +1447,6 @@ importers:
specifier: ^10.12.1
version: 10.17.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: 2.0.1
version: 2.0.1([email protected])
@@ -1548,16 +1464,10 @@ importers:
version: 4.1.1
ts-jest:
specifier: 29.0.1
typescript:
specifier: 4.7.2
version: 4.7.2
- vite:
- specifier: 2.4.4
- version: 2.4.4
- vite-plugin-external:
- specifier: 1.2.3
- version: 1.2.3
packages/ui-plugin-docs:
dependencies:
@@ -1606,7 +1516,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.2.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -1644,9 +1554,6 @@ importers:
specifier: ^7.8.1
version: 7.8.1
devDependencies:
- '@preact/preset-vite':
- specifier: 2.0.0
'@testing-library/preact':
specifier: ^2.0.1
version: 2.0.1([email protected])
@@ -1656,9 +1563,6 @@ importers:
'@types/node':
specifier: ^18.14.0
version: 18.14.0
- '@vitejs/plugin-legacy':
- specifier: ^1.5.1
- version: 1.5.1([email protected])
less:
specifier: ^4.1.1
version: 4.1.1
@@ -1667,16 +1571,13 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
typescript:
specifier: ^4.4.1-rc
version: 4.7.2
- vite:
- specifier: ^2.4.4
- version: 2.4.4
packages/ui-plugin-slides:
dependencies:
@@ -1725,7 +1626,7 @@ importers:
version: 2.3.2
ts-jest:
specifier: 29.0.1
ts-node:
specifier: ^10.2.1
version: 10.9.1(@types/[email protected])([email protected])
@@ -2728,8 +2629,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-lsB65vAbe90I/Qe10OjkmrdxSX4UJDjosDgb8sZUKcg3oefEuW2OT2Vozz8ef7wrJbMcmhvCC+hciF8jY/uAkw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
@@ -2755,8 +2656,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-tM8yLeYVe7pRyAu9VMi/Q7aunpLwD139EY1S99xbQkT4/q2qa6eA4ige/WJQYdJ8GBL1K33pPFhPfPdJ/WzT8Q==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
@@ -2782,8 +2683,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-qK/TpmHt2M/Hg82WXHRc/W/2SGo/l1thtDHZWqFq7oi24AjZ4O/CpPSu6ZuYKFkEgmZlFoa7CooAyYmuvnaG8w==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
@@ -2809,8 +2710,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-Ora8JokrvrzEPEpZO18ZYXkH4asCdc1DLdcVy8TGf5eWtPO1Ie4WroEJzwI52ZGtpODy3+m0a2yEX9l+KUn0tA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
@@ -2836,8 +2737,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-tP+B5UuIbbFMj2hQaUr6EALlHOIOmlLM2FK7jeFBobPy2ERdohI4Ka6ZFjZ1ZYsrHE/hZimGuU90jusRE0pwDw==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
@@ -2863,8 +2764,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-YbPY2kc0acfzL1VPVK6EnAlig4f+l8xmq36OZkU0jzBVHcOTyQDhnKQaLzZudNJQyymd9OqQezeaBgkTGdTGeQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
@@ -2890,8 +2791,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-nSO5uZT2clM6hosjWHAsS15hLrwCvIWx+b2e3lZ3MwbYSaXwvfO528OF+dLjas1g3bZonciivI8qKR/Hm7IWGw==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
@@ -2917,8 +2818,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-ig2P7GeG//zWlU0AggA3pV1h5gdix0MA3wgB+NsnBXViwiGgY77fuN9Wr5uoCrs2YzaYfogXgsWZbm+HGr09xg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
@@ -2944,8 +2845,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-Odalh8hICg7SOD7XCj0YLpYCEc+6mkoq63UnExDCiRA2wXEmGlK5JVrW50vZR9Qz4qkvqnHcpH+OFEggO3PgTg==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
@@ -2971,8 +2872,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-mLfp0ziRPOLSTek0Gd9T5B8AtzKAkoZE70fneiiyPlSnUKKI4lp+mGEnQXcQEHLJAcIYDPSyBvsUbKUG2ri/XQ==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
@@ -2980,15 +2881,6 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==}
- engines: {node: '>=12'}
- cpu: [loong64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
/@esbuild/[email protected]:
resolution: {integrity: sha512-peDrrUuxbZ9Jw+DwLCh/9xmZAk0p0K1iY5d2IcwmnN+B87xw7kujOkig6ZRcZqgrXgeRGurRHn0ENMAjjD5DEg==}
engines: {node: '>=12'}
@@ -3007,8 +2899,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-hn28+JNDTxxCpnYjdDYVMNTR3SKavyLlCHHkufHV91fkewpIyQchS1d8wSbmXhs1fiYDpNww8KTFlJ1dHsxeSw==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
@@ -3034,8 +2926,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-KbXaC0Sejt7vD2fEgPoIKb6nxkfYW9OmFUK9XQE4//PvGIxNIfPk1NmlHmMg6f25x57rpmEFrn1OotASYIAaTg==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
@@ -3061,8 +2953,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-dJ0kE8KTqbiHtA3Fc/zn7lCd7pqVr4JcT0JqOnbj4LLzYnp+7h8Qi4yjfq42ZlHfhOCM42rBh0EwHYLL6LEzcw==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
@@ -3088,8 +2980,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-7Z/jKNFufZ/bbu4INqqCN6DDlrmOTmdw6D0gH+6Y7auok2r02Ur661qPuXidPOJ+FSgbEeQnnAGgsVynfLuOEw==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
@@ -3115,8 +3007,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-U+RinR6aXXABFCcAY4gSlv4CL1oOVvSSCdseQmGO66H+XyuQGZIUdhG56SZaDJQcLmrSfRmx5XZOWyCJPRqS7g==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
@@ -3142,8 +3034,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-oxzHTEv6VPm3XXNaHPyUTTte+3wGv7qVQtqaZCrgstI16gCuhNOtBXLEBkBREP57YTd68P0VgDgG73jSD8bwXQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
@@ -3169,8 +3061,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-WNa5zZk1XpTTwMDompZmvQLHszDDDN7lYjEHCUmAGB83Bgs20EMs7ICD+oKeT6xt4phV4NDdSi/8OfjPbSbZfQ==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
@@ -3196,8 +3088,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-S6kI1aT3S++Dedb7vxIuUOb3oAxqxk2Rh5rOXOTYnzN8JzW1VzBd+IqPiSpgitu45042SYD3HCoEyhLKQcDFDw==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
@@ -3223,8 +3115,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-VXSSMsmb+Z8LbsQGcBMiM+fYObDNRm8p7tkUDMPG/g4fhFX5DEFmjxIEa3N8Zr96SjsJ1woAhF0DUnS3MF3ARw==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
@@ -3250,8 +3142,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-5NayUlSAyb5PQYFAU9x3bHdsqB88RC3aM9lKDAz4X1mo/EchMIT1Q+pSeBXNgkfNmRecLXA0O8xP+x8V+g/LKg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
@@ -3277,8 +3169,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-47gL/ek1v36iN0wL9L4Q2MFdujR0poLZMJwhO2/N3gA89jgHp4MR8DKCmwYtGNksbfJb9JoTtbkoe6sDhg2QTA==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
@@ -3304,8 +3196,8 @@ packages:
dev: true
optional: true
- /@esbuild/[email protected]:
- resolution: {integrity: sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==}
+ /@esbuild/[email protected]:
+ resolution: {integrity: sha512-tcuhV7ncXBqbt/Ybf0IyrMcwVOAPDckMK9rXNHtF17UTK18OKLpg08glminN06pt2WCoALhXdLfSPbVvK/6fxw==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
@@ -3365,6 +3257,18 @@ packages:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true
+ /@isaacs/[email protected]:
+ resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
+ engines: {node: '>=12'}
+ dependencies:
+ string-width: 5.1.2
+ string-width-cjs: /[email protected]
+ strip-ansi: 7.1.0
+ strip-ansi-cjs: /[email protected]
+ wrap-ansi: 8.1.0
+ wrap-ansi-cjs: /[email protected]
+ dev: true
+
/@istanbuljs/[email protected]:
resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==}
engines: {node: '>=8'}
@@ -3785,6 +3689,13 @@ packages:
fastq: 1.15.0
dev: true
+ resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
+ engines: {node: '>=14'}
+ requiresBuild: true
+ dev: true
+ optional: true
+
resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==}
engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
@@ -5574,6 +5485,20 @@ packages:
object-keys: 1.1.1
dev: true
+ resolution: {integrity: sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==}
+ engines: {node: '>=10'}
+ dependencies:
+ globby: 11.1.0
+ graceful-fs: 4.2.11
+ is-glob: 4.0.3
+ is-path-cwd: 2.2.0
+ is-path-inside: 3.0.3
+ p-map: 4.0.0
+ rimraf: 3.0.2
+ slash: 3.0.0
+ dev: true
+
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
engines: {node: '>=0.4.0'}
@@ -5868,149 +5793,15 @@ packages:
resolution: {integrity: sha512-xSFe1PWX+8mTuRSuM6B2sykUBuxFFBjQqdIH1gLWs0fPTLMlu4uX6v63fQFvN4m+f++CKudax8MzxbR8+BoB3g==}
dev: false
- resolution: {integrity: sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [android]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [darwin]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [freebsd]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [freebsd]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==}
- engines: {node: '>=12'}
- cpu: [arm]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==}
- engines: {node: '>=12'}
- cpu: [mips64el]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==}
- engines: {node: '>=12'}
- cpu: [ppc64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==}
- engines: {node: '>=12'}
- cpu: [riscv64]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==}
- engines: {node: '>=12'}
- cpu: [s390x]
- os: [linux]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [netbsd]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [openbsd]
- requiresBuild: true
+ resolution: {integrity: sha512-ul606g0wX6oeobBgi3EqpZtCBCwNwCDivvnshsNS5pUsRylKoxUnDqK0ZIyPinlMbP6s8Opc9y2zOeY1Plhe8Q==}
+ peerDependencies:
+ esbuild: '>= 0.14.0'
+ dependencies:
+ chalk: 4.1.2
+ del: 6.1.1
+ esbuild: 0.19.2
dev: true
- optional: true
resolution: {integrity: sha512-t5ZtQyGKNiM8DLedz+iwFH0LPWLnMmaEQ2RnnP1ppFHq35najxqJHAhUVVSbTFm5cR2ZumGdBMqnmuKBRBMvDw==}
@@ -6023,41 +5814,16 @@ packages:
postcss-modules: 4.3.1([email protected])
dev: true
- resolution: {integrity: sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [sunos]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==}
- engines: {node: '>=12'}
- cpu: [ia32]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==}
- engines: {node: '>=12'}
- cpu: [x64]
- os: [win32]
- requiresBuild: true
- dev: true
- optional: true
-
- resolution: {integrity: sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==}
- engines: {node: '>=12'}
- cpu: [arm64]
- os: [win32]
- requiresBuild: true
+ resolution: {integrity: sha512-aSzuIUwQTEVVy9gcE4xtXq8Cbq9RNDfJYZ3mYzWg6RJ8HoMydLT+LbGXYwL0DmgOt4eEg/4JrnNMMb02gXFutA==}
+ dependencies:
+ '@types/less': 3.0.4
+ '@types/sass': 1.45.0
+ '@types/stylus': 0.48.39
+ glob: 10.3.4
+ postcss: 8.4.29
+ postcss-modules: 6.0.0([email protected])
dev: true
- optional: true
resolution: {integrity: sha512-w/XuoBCSwepyiZtIRsKsetiLDUVGPVw1E/R3VTFSecIy8UR7Cq3SOtwKHJMFoVqqVG36aGkzh4e8BvpO1Fdc7g==}
@@ -6065,35 +5831,6 @@ packages:
requiresBuild: true
dev: true
- resolution: {integrity: sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==}
- engines: {node: '>=12'}
- hasBin: true
- requiresBuild: true
- optionalDependencies:
- '@esbuild/linux-loong64': 0.14.54
- esbuild-android-64: 0.14.54
- esbuild-android-arm64: 0.14.54
- esbuild-darwin-64: 0.14.54
- esbuild-darwin-arm64: 0.14.54
- esbuild-freebsd-64: 0.14.54
- esbuild-freebsd-arm64: 0.14.54
- esbuild-linux-32: 0.14.54
- esbuild-linux-64: 0.14.54
- esbuild-linux-arm: 0.14.54
- esbuild-linux-arm64: 0.14.54
- esbuild-linux-mips64le: 0.14.54
- esbuild-linux-ppc64le: 0.14.54
- esbuild-linux-riscv64: 0.14.54
- esbuild-linux-s390x: 0.14.54
- esbuild-netbsd-64: 0.14.54
- esbuild-openbsd-64: 0.14.54
- esbuild-sunos-64: 0.14.54
- esbuild-windows-32: 0.14.54
- esbuild-windows-64: 0.14.54
- esbuild-windows-arm64: 0.14.54
- dev: true
-
resolution: {integrity: sha512-qQrPMQpPTWf8jHugLWHoGqZjApyx3OEm76dlTXobHwh/EBbavbRdjXdYi/GWr43GyN0sfpap14GPkb05NH3ROA==}
engines: {node: '>=12'}
@@ -6154,34 +5891,34 @@ packages:
'@esbuild/win32-x64': 0.17.10
dev: true
- resolution: {integrity: sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==}
+ resolution: {integrity: sha512-G6hPax8UbFakEj3hWO0Vs52LQ8k3lnBhxZWomUJDxfz3rZTLqF5k/FCzuNdLx2RbpBiQQF9H9onlDDH1lZsnjg==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
- '@esbuild/android-arm': 0.18.11
- '@esbuild/android-arm64': 0.18.11
- '@esbuild/android-x64': 0.18.11
- '@esbuild/darwin-arm64': 0.18.11
- '@esbuild/darwin-x64': 0.18.11
- '@esbuild/freebsd-arm64': 0.18.11
- '@esbuild/freebsd-x64': 0.18.11
- '@esbuild/linux-arm': 0.18.11
- '@esbuild/linux-arm64': 0.18.11
- '@esbuild/linux-ia32': 0.18.11
- '@esbuild/linux-loong64': 0.18.11
- '@esbuild/linux-mips64el': 0.18.11
- '@esbuild/linux-ppc64': 0.18.11
- '@esbuild/linux-riscv64': 0.18.11
- '@esbuild/linux-s390x': 0.18.11
- '@esbuild/linux-x64': 0.18.11
- '@esbuild/netbsd-x64': 0.18.11
- '@esbuild/openbsd-x64': 0.18.11
- '@esbuild/sunos-x64': 0.18.11
- '@esbuild/win32-arm64': 0.18.11
- '@esbuild/win32-ia32': 0.18.11
- '@esbuild/win32-x64': 0.18.11
+ '@esbuild/android-arm': 0.19.2
+ '@esbuild/android-arm64': 0.19.2
+ '@esbuild/android-x64': 0.19.2
+ '@esbuild/darwin-arm64': 0.19.2
+ '@esbuild/darwin-x64': 0.19.2
+ '@esbuild/freebsd-arm64': 0.19.2
+ '@esbuild/freebsd-x64': 0.19.2
+ '@esbuild/linux-arm': 0.19.2
+ '@esbuild/linux-arm64': 0.19.2
+ '@esbuild/linux-ia32': 0.19.2
+ '@esbuild/linux-loong64': 0.19.2
+ '@esbuild/linux-mips64el': 0.19.2
+ '@esbuild/linux-ppc64': 0.19.2
+ '@esbuild/linux-riscv64': 0.19.2
+ '@esbuild/linux-s390x': 0.19.2
+ '@esbuild/linux-x64': 0.19.2
+ '@esbuild/netbsd-x64': 0.19.2
+ '@esbuild/openbsd-x64': 0.19.2
+ '@esbuild/sunos-x64': 0.19.2
+ '@esbuild/win32-arm64': 0.19.2
+ '@esbuild/win32-ia32': 0.19.2
+ '@esbuild/win32-x64': 0.19.2
dev: true
@@ -6822,6 +6559,14 @@ packages:
is-callable: 1.2.7
dev: true
+ resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==}
+ engines: {node: '>=14'}
+ dependencies:
+ cross-spawn: 7.0.3
+ signal-exit: 4.1.0
+ dev: true
+
resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==}
engines: {node: '>= 6'}
@@ -6995,6 +6740,18 @@ packages:
is-glob: 4.0.3
dev: true
+ resolution: {integrity: sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==}
+ engines: {node: '>=16 || 14 >=14.17'}
+ hasBin: true
+ dependencies:
+ foreground-child: 3.1.1
+ jackspeak: 2.3.1
+ minimatch: 9.0.3
+ minipass: 7.0.3
+ path-scurry: 1.10.1
+ dev: true
+
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
dependencies:
@@ -7575,6 +7332,11 @@ packages:
engines: {node: '>=8'}
dev: true
+ resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==}
+ engines: {node: '>=6'}
+ dev: true
+
resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}
engines: {node: '>=8'}
@@ -7758,6 +7520,15 @@ packages:
istanbul-lib-report: 3.0.1
dev: true
+ resolution: {integrity: sha512-4iSY3Bh1Htv+kLhiiZunUhQ+OYXIn0ze3ulq8JeWrFKmhPAJSySV2+kdtRh2pGcCeF0s6oR8Oc+pYZynJj4t8A==}
+ engines: {node: '>=14'}
+ dependencies:
+ '@isaacs/cliui': 8.0.2
+ optionalDependencies:
+ '@pkgjs/parseargs': 0.11.0
+ dev: true
+
resolution: {integrity: sha512-G5wDnElqLa4/c66ma5PG9eRjE342lIbF6SUnTJi26C3J28Fv2TVY2rOyKB9YGbSA5ogwevgmxc4j4aVjrEK6Yg==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -8817,6 +8588,11 @@ packages:
engines: {node: '>=8'}
dev: true
+ resolution: {integrity: sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==}
+ engines: {node: 14 || >=16.14}
+ dev: true
+
resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==}
dependencies:
@@ -9020,6 +8796,13 @@ packages:
brace-expansion: 2.0.1
dev: true
+ resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==}
+ engines: {node: '>=16 || 14 >=14.17'}
+ dependencies:
+ brace-expansion: 2.0.1
+ dev: true
+
resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==}
engines: {node: '>= 6'}
@@ -9033,6 +8816,11 @@ packages:
resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
dev: true
+ resolution: {integrity: sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==}
+ engines: {node: '>=16 || 14 >=14.17'}
+ dev: true
+
resolution: {integrity: sha512-VC5fg6ySUscaWUpI4gxCBTQMH2RdUpNrk+MsbpCYtIvf9SBJdiUey4qE7BXviJsJR4nDQxCZ+3yaYNW3guz/Pw==}
engines: {node: '>= 8.0.0'}
@@ -9481,6 +9269,14 @@ packages:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
dev: true
+ resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==}
+ engines: {node: '>=16 || 14 >=14.17'}
+ dependencies:
+ lru-cache: 10.0.1
+ minipass: 7.0.3
+ dev: true
+
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
@@ -9640,6 +9436,22 @@ packages:
string-hash: 1.1.3
dev: true
+ resolution: {integrity: sha512-7DGfnlyi/ju82BRzTIjWS5C4Tafmzl3R79YP/PASiocj+aa6yYphHhhKUOEoXQToId5rgyFgJ88+ccOUydjBXQ==}
+ peerDependencies:
+ postcss: ^8.0.0
+ dependencies:
+ generic-names: 4.0.0
+ icss-utils: 5.1.0([email protected])
+ lodash.camelcase: 4.3.0
+ postcss: 8.4.29
+ postcss-modules-extract-imports: 3.0.0([email protected])
+ postcss-modules-local-by-default: 4.0.3([email protected])
+ postcss-modules-scope: 3.0.0([email protected])
+ postcss-modules-values: 4.0.0([email protected])
+ string-hash: 1.1.3
+ dev: true
+
resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==}
engines: {node: '>=4'}
@@ -9778,6 +9590,7 @@ packages:
resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==}
+ requiresBuild: true
dev: true
optional: true
@@ -10133,14 +9946,6 @@ packages:
engines: {node: '>=10.0.0'}
dev: true
- resolution: {integrity: sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g==}
- engines: {node: '>=10.0.0'}
- hasBin: true
- optionalDependencies:
- fsevents: 2.3.3
- dev: true
-
resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==}
engines: {node: '>=10.0.0'}
@@ -10216,6 +10021,7 @@ packages:
resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==}
+ requiresBuild: true
dev: true
optional: true
@@ -10309,6 +10115,11 @@ packages:
resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
dev: true
+ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
+ engines: {node: '>=14'}
+ dev: true
+
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
dev: true
@@ -10835,7 +10646,7 @@ packages:
yargs-parser: 21.1.1
dev: true
resolution: {integrity: sha512-htQOHshgvhn93QLxrmxpiQPk69+M1g7govO1g6kf6GsjCv4uvRV0znVmDrrvjUrVCnTYeY4FBxTYYYD4airyJA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
hasBin: true
@@ -10858,7 +10669,7 @@ packages:
dependencies:
'@babel/core': 7.22.11
bs-logger: 0.2.6
- esbuild: 0.18.11
+ esbuild: 0.19.2
fast-json-stable-stringify: 2.1.0
jest: 29.0.0(@types/[email protected])([email protected])
jest-util: 29.6.3
@@ -10870,7 +10681,7 @@ packages:
yargs-parser: 21.1.1
dev: true
resolution: {integrity: sha512-htQOHshgvhn93QLxrmxpiQPk69+M1g7govO1g6kf6GsjCv4uvRV0znVmDrrvjUrVCnTYeY4FBxTYYYD4airyJA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
hasBin: true
@@ -10893,7 +10704,7 @@ packages:
dependencies:
'@babel/core': 7.22.11
bs-logger: 0.2.6
- esbuild: 0.18.11
+ esbuild: 0.19.2
fast-json-stable-stringify: 2.1.0
jest: 29.0.0(@types/[email protected])([email protected])
jest-util: 29.6.3
@@ -11068,6 +10879,66 @@ packages:
yargs: 15.4.1
dev: true
+ resolution: {integrity: sha512-vmngGfa2dlYvX7UFVncsNDMuT4X2KPyPJ2Jj+xvf5nvQnZR/3IeDEGleGVuMi/hRzdinoxwXqgk9flEmAYp0Xw==}
+ cpu: [x64]
+ os: [darwin]
+ requiresBuild: true
+ dev: true
+ optional: true
+
+ resolution: {integrity: sha512-eMoJC+k7gIS4i2qL6rKmrIQGP6Wr9nN4odzzgHFngLTMimok2cGLK3qbJs5O5F/XAtEeRAmuxeRnzQwTl/iuAw==}
+ cpu: [arm64]
+ os: [darwin]
+ requiresBuild: true
+ dev: true
+ optional: true
+
+ resolution: {integrity: sha512-0CyYmnKTs6kcx7+JRH3nPEqCnzWduM0hj8GP/aodhaIkLNSAGAa+RiYZz6C7IXN+xUVh5rrWTnU2f1SkIy7Gdg==}
+ cpu: [x64]
+ os: [linux]
+ requiresBuild: true
+ dev: true
+ optional: true
+
+ resolution: {integrity: sha512-0iBKviSGQQlh2OjZgBsGjkPXoxvRIxrrLLbLObwJo3sOjIH0loGmVIimGS5E323soMfi/o+sidjk2wU1kFfD7Q==}
+ cpu: [arm64]
+ os: [linux]
+ requiresBuild: true
+ dev: true
+ optional: true
+
+ resolution: {integrity: sha512-S5XySRfW2AmnTeY1IT+Jdr6Goq7mxWganVFfrmqU+qqq3Om/nr0GkcUX+KTIo9mPrN0D3p5QViBRzulwB5iuUQ==}
+ cpu: [x64]
+ os: [win32]
+ requiresBuild: true
+ dev: true
+ optional: true
+
+ resolution: {integrity: sha512-nKol6+CyiExJIuoIc3exUQPIBjP9nIq5SkMJgJuxsot2hkgGrafAg/izVDRDrRduQcXj2s8LdtxJHvvnbI8hEQ==}
+ cpu: [arm64]
+ os: [win32]
+ requiresBuild: true
+ dev: true
+ optional: true
+
+ resolution: {integrity: sha512-vOF5IPytgQPIsgGtT0n2uGZizR2N3kKuPIn4b5p5DdeLoI0BV7uNiydT7eSzdkPRpdXNnO8UwS658VaI4+YSzQ==}
+ hasBin: true
+ optionalDependencies:
+ turbo-darwin-64: 1.10.13
+ turbo-darwin-arm64: 1.10.13
+ turbo-linux-64: 1.10.13
+ turbo-linux-arm64: 1.10.13
+ turbo-windows-64: 1.10.13
+ turbo-windows-arm64: 1.10.13
+ dev: true
+
resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
engines: {node: '>= 0.8.0'}
@@ -11309,34 +11180,6 @@ packages:
fsevents: 2.3.3
dev: true
- resolution: {integrity: sha512-waYABTM+G6DBTCpYAxvevpG50UOlZuynR0ckTK5PawNVt7ebX6X7wNXHaGIO6wYYFXSM7/WcuFuO2QzhBB6aMw==}
- engines: {node: ^14.18.0 || >=16.0.0}
- hasBin: true
- peerDependencies:
- less: '*'
- sass: '*'
- stylus: '*'
- terser: ^5.4.0
- peerDependenciesMeta:
- less:
- optional: true
- sass:
- optional: true
- stylus:
- optional: true
- terser:
- optional: true
- dependencies:
- esbuild: 0.14.54
- less: 4.1.3
- postcss: 8.4.29
- resolve: 1.22.4
- rollup: 2.77.3
- optionalDependencies:
- fsevents: 2.3.3
- dev: true
-
resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==}
engines: {node: '>=14'}
@@ -11468,6 +11311,15 @@ packages:
strip-ansi: 6.0.1
dev: true
+ resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
+ engines: {node: '>=12'}
+ dependencies:
+ ansi-styles: 6.2.1
+ string-width: 5.1.2
+ strip-ansi: 7.1.0
+ dev: true
+
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
dev: true
diff --git a/scripts/link.js b/scripts/link.js
deleted file mode 100644
index 928a8154e1..0000000000
--- a/scripts/link.js
+++ /dev/null
@@ -1,68 +0,0 @@
-const execa = require('execa');
-const os = require('os');
-// const { targets: allTargets } = require('./util');
-
-const linkTargets = [
- '@univerjs/core', // success
- '@univerjs/base-render', // success
- '@univerjs/base-ui', // success
- '@univerjs/base-sheets', // success
-
- '@univerjs/common-plugin-data',
- // '@univerjs/sheets-plugin-format',
- // '@univerjs/sheets-plugin-formula',
-
- // '@univerjs/sheets-plugin-alternating-colors', // success
- // '@univerjs/sheets-plugin-conditional-format', // success
- // '@univerjs/sheets-plugin-data-validation', // success
- // '@univerjs/sheets-plugin-filter', // success
- // '@univerjs/sheets-plugin-find', // success
- // '@univerjs/sheets-plugin-freeze', // success
- // '@univerjs/sheets-plugin-image', // success
- // '@univerjs/sheets-plugin-insert-link', // success
- // '@univerjs/sheets-plugin-pivot-table', // success
- // '@univerjs/sheets-plugin-print', // success
- // '@univerjs/sheets-plugin-protection', // success
- // '@univerjs/sheets-plugin-screenshot', // success
- // '@univerjs/sheets-plugin-sort', // success
- // '@univerjs/sheets-plugin-split-column', // success
-
- // '@univerjs/style-google',
- '@univerjs/ui-plugin-sheets', // success
- // '@univerjs/style-office365',
- // '@univerjs/style-mobile',
-];
-
-// TODO: run => build d.ts => build esm/umd
-
-run();
-
-async function run() {
- await linkAll(linkTargets);
-}
-// Reference https://github.com/vuejs/vue-next/blob/master/scripts/build.js
-async function linkAll(targets) {
- await runParallel(os.cpus().length, targets, link);
-}
-
-async function runParallel(maxConcurrency, source, iteratorFn) {
- const ret = [];
- const executing = [];
- for (const item of source) {
- const p = Promise.resolve().then(() => iteratorFn(item));
- ret.push(p);
-
- if (maxConcurrency <= source.length) {
- const e = p.then(() => executing.splice(executing.indexOf(e), 1));
- executing.push(e);
- if (executing.length >= maxConcurrency) {
- await Promise.race(executing);
- }
- }
- }
- return Promise.all(ret);
-}
-
-async function link(target) {
- await execa('pnpm', ['run', '--filter', target, 'watch'], { stdio: 'inherit' });
-}
diff --git a/turbo.json b/turbo.json
new file mode 100644
index 0000000000..0d2b54c597
--- /dev/null
+++ b/turbo.json
@@ -0,0 +1,11 @@
+{
+ "$schema": "https://turbo.build/schema.json",
+ "pipeline": {
+ "esbuild": {
+ },
+ "dev": {
+ "cache": false,
+ "persistent": true
+ }
+ }
+}
\ No newline at end of file