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.

fix(dependency): fix package.json module error

Dushusird8d147ec63d6
diff --git a/packages/base-component/package.json b/packages/base-component/package.json
index ef89995fcf..4277e84c9b 100644
--- a/packages/base-component/package.json
+++ b/packages/base-component/package.json
@@ -5,22 +5,16 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-base-component.cjs.js",
- "module": "./lib/univer-base-component.es.js",
- "browser": {
- "./lib/univer-base-component.cjs.js": "./src/index.ts",
- "./lib/univer-base-component.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-base-component.cjs.js",
+ "module": "./lib/univer-base-component.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-base-component.cjs.js",
- "default": "./lib/univer-base-component.es.js"
- },
- "require": "./lib/univer-base-component.cjs.js",
- "types": "./lib/univer-base-component.d.ts"
- },
+ ".": "./src/index.ts",
"./*": "./src/*"
},
"directories": {
diff --git a/packages/base-docs/package.json b/packages/base-docs/package.json
index a7a3db6716..432824c6ac 100644
--- a/packages/base-docs/package.json
+++ b/packages/base-docs/package.json
@@ -5,22 +5,16 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-base-docs.cjs.js",
- "module": "./lib/univer-base-docs.es.js",
- "browser": {
- "./lib/univer-base-docs.cjs.js": "./src/index.ts",
- "./lib/univer-base-docs.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-base-docs.cjs.js",
+ "module": "./lib/univer-base-docs.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-base-docs.cjs.js",
- "default": "./lib/univer-base-docs.es.js"
- },
- "require": "./lib/univer-base-docs.cjs.js",
- "types": "./lib/univer-base-docs.d.ts"
- },
+ ".": "./src/index.ts",
"./*": "./src/*"
},
"directories": {
diff --git a/packages/base-formula-engine/package.json b/packages/base-formula-engine/package.json
index 3d139e7eb8..a6b3e42aaa 100644
--- a/packages/base-formula-engine/package.json
+++ b/packages/base-formula-engine/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-base-formula-engine.cjs.js",
- "module": "./lib/univer-base-formula-engine.es.js",
- "browser": {
- "./lib/univer-base-formula-engine.cjs.js": "./src/index.ts",
- "./lib/univer-base-formula-engine.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-base-formula-engine.cjs.js",
+ "module": "./lib/univer-base-formula-engine.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-base-formula-engine.cjs.js",
- "default": "./lib/univer-base-formula-engine.es.js"
- },
- "require": "./lib/univer-base-formula-engine.cjs.js",
- "types": "./lib/univer-base-formula-engine.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/base-numfmt-engine/package.json b/packages/base-numfmt-engine/package.json
index ffb95abbf4..da3a539a66 100644
--- a/packages/base-numfmt-engine/package.json
+++ b/packages/base-numfmt-engine/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-base-numfmt-engine.cjs.js",
- "module": "./lib/univer-base-numfmt-engine.es.js",
- "browser": {
- "./lib/univer-base-numfmt-engine.cjs.js": "./src/index.ts",
- "./lib/univer-base-numfmt-engine.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-base-numfmt-engine.cjs.js",
+ "module": "./lib/univer-base-numfmt-engine.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-base-numfmt-engine.cjs.js",
- "default": "./lib/univer-base-numfmt-engine.es.js"
- },
- "require": "./lib/univer-base-numfmt-engine.cjs.js",
- "types": "./lib/univer-base-numfmt-engine.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/base-render/package.json b/packages/base-render/package.json
index e2cc769d5f..47c9d9a4c6 100644
--- a/packages/base-render/package.json
+++ b/packages/base-render/package.json
@@ -5,22 +5,16 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-base-render.cjs.js",
- "module": "./lib/univer-base-render.es.js",
- "browser": {
- "./lib/univer-base-render.cjs.js": "./src/index.ts",
- "./lib/univer-base-render.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-base-render.cjs.js",
+ "module": "./lib/univer-base-render.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-base-render.cjs.js",
- "default": "./lib/univer-base-render.es.js"
- },
- "require": "./lib/univer-base-render.cjs.js",
- "types": "./lib/univer-base-render.d.ts"
- },
+ ".": "./src/index.ts",
"./*": "./src/*"
},
"directories": {
diff --git a/packages/base-sheets/package.json b/packages/base-sheets/package.json
index 89df1f00dd..7431651477 100644
--- a/packages/base-sheets/package.json
+++ b/packages/base-sheets/package.json
@@ -5,22 +5,16 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-base-sheets.cjs.js",
- "module": "./lib/univer-base-sheets.es.js",
- "browser": {
- "./lib/univer-base-sheets.cjs.js": "./src/index.ts",
- "./lib/univer-base-sheets.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-base-sheets.cjs.js",
+ "module": "./lib/univer-base-sheets.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-base-sheets.cjs.js",
- "default": "./lib/univer-base-sheets.es.js"
- },
- "require": "./lib/univer-base-sheets.cjs.js",
- "types": "./lib/univer-base-sheets.d.ts"
- },
+ ".": "./src/index.ts",
"./*": "./src/*"
},
"directories": {
diff --git a/packages/base-slides/package.json b/packages/base-slides/package.json
index 20ba80824f..b37adc303c 100644
--- a/packages/base-slides/package.json
+++ b/packages/base-slides/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-base-slides.cjs.js",
- "module": "./lib/univer-base-slides.es.js",
- "browser": {
- "./lib/univer-base-slides.cjs.js": "./src/index.ts",
- "./lib/univer-base-slides.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-base-slides.cjs.js",
+ "module": "./lib/univer-base-slides.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-base-slides.cjs.js",
- "default": "./lib/univer-base-slides.es.js"
- },
- "require": "./lib/univer-base-slides.cjs.js",
- "types": "./lib/univer-base-slides.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/common-plugin-collaboration/package.json b/packages/common-plugin-collaboration/package.json
index 2a7801495a..1afff5081c 100644
--- a/packages/common-plugin-collaboration/package.json
+++ b/packages/common-plugin-collaboration/package.json
@@ -3,23 +3,17 @@
"version": "0.0.1",
"description": "",
"author": "",
- "main": "./lib/univer-common-plugin-collaboration.cjs.js",
- "module": "./lib/univer-common-plugin-collaboration.es.js",
- "browser": {
- "./lib/univer-common-plugin-collaboration.cjs.js": "./src/index.ts",
- "./lib/univer-common-plugin-collaboration.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-common-plugin-collaboration.cjs.js",
+ "module": "./lib/univer-common-plugin-collaboration.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-common-plugin-collaboration.cjs.js",
- "default": "./lib/univer-common-plugin-collaboration.es.js"
- },
- "require": "./lib/univer-common-plugin-collaboration.cjs.js",
- "types": "./lib/univer-common-plugin-collaboration.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/common-plugin-data/package.json b/packages/common-plugin-data/package.json
index 08e0ba0a53..b6779c797b 100644
--- a/packages/common-plugin-data/package.json
+++ b/packages/common-plugin-data/package.json
@@ -3,22 +3,16 @@
"version": "0.0.1",
"description": "",
"author": "",
- "main": "./lib/univer-common-plugin-data.cjs.js",
- "module": "./lib/univer-common-plugin-data.es.js",
- "browser": {
- "./lib/univer-common-plugin-data.cjs.js": "./src/index.ts",
- "./lib/univer-common-plugin-data.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-common-plugin-data.cjs.js",
+ "module": "./lib/univer-common-plugin-data.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-common-plugin-data.cjs.js",
- "default": "./lib/univer-common-plugin-data.es.js"
- },
- "require": "./lib/univer-common-plugin-data.cjs.js",
- "types": "./lib/univer-common-plugin-data.d.ts"
- },
+ ".": "./src/index.ts",
"./*": "./src/*"
},
"directories": {
diff --git a/packages/core/package.json b/packages/core/package.json
index 07a7295390..7a033fa12d 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -3,22 +3,16 @@
"version": "0.0.1",
"description": "",
"author": "",
- "main": "./lib/univer-core.js",
- "module": "./lib/univer-core.mjs",
- "browser": {
- "./lib/univer-core.cjs.js": "./src/index.ts",
- "./lib/univer-core.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-core.js",
+ "module": "./lib/univer-core.mjs",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-core.js",
- "default": "./lib/univer-core.mjs"
- },
- "require": "./lib/univer-core.js",
- "types": "./lib/univer-core.d.ts"
- },
+ ".": "./src/index.ts",
"./*": "./src/*"
},
"files": [
diff --git a/packages/sheets-plugin-alternating-colors/package.json b/packages/sheets-plugin-alternating-colors/package.json
index 33035ea60f..2721ce6791 100644
--- a/packages/sheets-plugin-alternating-colors/package.json
+++ b/packages/sheets-plugin-alternating-colors/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-alternating-colors.cjs.js",
- "module": "./lib/univer-sheets-plugin-alternating-colors.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-alternating-colors.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-alternating-colors.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-alternating-colors.cjs.js",
+ "module": "./lib/univer-sheets-plugin-alternating-colors.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-alternating-colors.cjs.js",
- "default": "./lib/univer-sheets-plugin-alternating-colors.es.js"
- },
- "require": "./lib/univer-sheets-plugin-alternating-colors.cjs.js",
- "types": "./lib/univer-sheets-plugin-alternating-colors.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-clipboard/package.json b/packages/sheets-plugin-clipboard/package.json
index 2558500104..55fd53c8c9 100644
--- a/packages/sheets-plugin-clipboard/package.json
+++ b/packages/sheets-plugin-clipboard/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-clipboard.cjs.js",
- "module": "./lib/univer-sheets-plugin-clipboard.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-clipboard.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-clipboard.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-clipboard.cjs.js",
+ "module": "./lib/univer-sheets-plugin-clipboard.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-clipboard.cjs.js",
- "default": "./lib/univer-sheets-plugin-clipboard.es.js"
- },
- "require": "./lib/univer-sheets-plugin-clipboard.cjs.js",
- "types": "./lib/univer-sheets-plugin-clipboard.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-comment/package.json b/packages/sheets-plugin-comment/package.json
index c41d3b19ec..a3f1c48dd1 100644
--- a/packages/sheets-plugin-comment/package.json
+++ b/packages/sheets-plugin-comment/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-comment.cjs.js",
- "module": "./lib/univer-sheets-plugin-comment.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-comment.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-comment.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-comment.cjs.js",
+ "module": "./lib/univer-sheets-plugin-comment.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-comment.cjs.js",
- "default": "./lib/univer-sheets-plugin-comment.es.js"
- },
- "require": "./lib/univer-sheets-plugin-comment.cjs.js",
- "types": "./lib/univer-sheets-plugin-comment.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-conditional-format/package.json b/packages/sheets-plugin-conditional-format/package.json
index de3b4bef9d..932a1290d1 100644
--- a/packages/sheets-plugin-conditional-format/package.json
+++ b/packages/sheets-plugin-conditional-format/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-conditional-format.cjs.js",
- "module": "./lib/univer-sheets-plugin-conditional-format.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-conditional-format.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-conditional-format.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-conditional-format.cjs.js",
+ "module": "./lib/univer-sheets-plugin-conditional-format.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-conditional-format.cjs.js",
- "default": "./lib/univer-sheets-plugin-conditional-format.es.js"
- },
- "require": "./lib/univer-sheets-plugin-conditional-format.cjs.js",
- "types": "./lib/univer-sheets-plugin-conditional-format.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-data-validation/package.json b/packages/sheets-plugin-data-validation/package.json
index e0da0e62de..6261a29f5f 100644
--- a/packages/sheets-plugin-data-validation/package.json
+++ b/packages/sheets-plugin-data-validation/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-data-validation.cjs.js",
- "module": "./lib/univer-sheets-plugin-data-validation.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-data-validation.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-data-validation.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-data-validation.cjs.js",
+ "module": "./lib/univer-sheets-plugin-data-validation.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-data-validation.cjs.js",
- "default": "./lib/univer-sheets-plugin-data-validation.es.js"
- },
- "require": "./lib/univer-sheets-plugin-data-validation.cjs.js",
- "types": "./lib/univer-sheets-plugin-data-validation.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-filter/package.json b/packages/sheets-plugin-filter/package.json
index 7e2d8c6fbf..94ecc0b3cb 100644
--- a/packages/sheets-plugin-filter/package.json
+++ b/packages/sheets-plugin-filter/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-filter.cjs.js",
- "module": "./lib/univer-sheets-plugin-filter.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-filter.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-filter.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-filter.cjs.js",
+ "module": "./lib/univer-sheets-plugin-filter.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-filter.cjs.js",
- "default": "./lib/univer-sheets-plugin-filter.es.js"
- },
- "require": "./lib/univer-sheets-plugin-filter.cjs.js",
- "types": "./lib/univer-sheets-plugin-filter.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-find/package.json b/packages/sheets-plugin-find/package.json
index 5768b19a80..39bcc29a85 100644
--- a/packages/sheets-plugin-find/package.json
+++ b/packages/sheets-plugin-find/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-find.cjs.js",
- "module": "./lib/univer-sheets-plugin-find.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-find.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-find.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-find.cjs.js",
+ "module": "./lib/univer-sheets-plugin-find.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-find.cjs.js",
- "default": "./lib/univer-sheets-plugin-find.es.js"
- },
- "require": "./lib/univer-sheets-plugin-find.cjs.js",
- "types": "./lib/univer-sheets-plugin-find.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-formula/package.json b/packages/sheets-plugin-formula/package.json
index 91bfdee384..bce7ef63a2 100644
--- a/packages/sheets-plugin-formula/package.json
+++ b/packages/sheets-plugin-formula/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-formula.cjs.js",
- "module": "./lib/univer-sheets-plugin-formula.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-formula.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-formula.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-formula.cjs.js",
+ "module": "./lib/univer-sheets-plugin-formula.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-formula.cjs.js",
- "default": "./lib/univer-sheets-plugin-formula.es.js"
- },
- "require": "./lib/univer-sheets-plugin-formula.cjs.js",
- "types": "./lib/univer-sheets-plugin-formula.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-freeze/package.json b/packages/sheets-plugin-freeze/package.json
index bdb4327c4e..30c4e63f5c 100644
--- a/packages/sheets-plugin-freeze/package.json
+++ b/packages/sheets-plugin-freeze/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-freeze.cjs.js",
- "module": "./lib/univer-sheets-plugin-freeze.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-freeze.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-freeze.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-freeze.cjs.js",
+ "module": "./lib/univer-sheets-plugin-freeze.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-freeze.cjs.js",
- "default": "./lib/univer-sheets-plugin-freeze.es.js"
- },
- "require": "./lib/univer-sheets-plugin-freeze.cjs.js",
- "types": "./lib/univer-sheets-plugin-freeze.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-group/package.json b/packages/sheets-plugin-group/package.json
index 854c44274b..d5591d2dee 100644
--- a/packages/sheets-plugin-group/package.json
+++ b/packages/sheets-plugin-group/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-group.cjs.js",
- "module": "./lib/univer-sheets-plugin-group.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-group.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-group.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-group.cjs.js",
+ "module": "./lib/univer-sheets-plugin-group.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-group.cjs.js",
- "default": "./lib/univer-sheets-plugin-group.es.js"
- },
- "require": "./lib/univer-sheets-plugin-group.cjs.js",
- "types": "./lib/univer-sheets-plugin-group.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-image/package.json b/packages/sheets-plugin-image/package.json
index 46f8d64930..92f603e50c 100644
--- a/packages/sheets-plugin-image/package.json
+++ b/packages/sheets-plugin-image/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-image.cjs.js",
- "module": "./lib/univer-sheets-plugin-image.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-image.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-image.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-image.cjs.js",
+ "module": "./lib/univer-sheets-plugin-image.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-image.cjs.js",
- "default": "./lib/univer-sheets-plugin-image.es.js"
- },
- "require": "./lib/univer-sheets-plugin-image.cjs.js",
- "types": "./lib/univer-sheets-plugin-image.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-link/package.json b/packages/sheets-plugin-link/package.json
index ed0d7d1c4d..b62c9828fa 100644
--- a/packages/sheets-plugin-link/package.json
+++ b/packages/sheets-plugin-link/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-link.cjs.js",
- "module": "./lib/univer-sheets-plugin-link.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-link.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-link.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-link.cjs.js",
+ "module": "./lib/univer-sheets-plugin-link.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-link.cjs.js",
- "default": "./lib/univer-sheets-plugin-link.es.js"
- },
- "require": "./lib/univer-sheets-plugin-link.cjs.js",
- "types": "./lib/univer-sheets-plugin-link.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-numfmt/package.json b/packages/sheets-plugin-numfmt/package.json
index 88366c2cbb..d6a548ec60 100644
--- a/packages/sheets-plugin-numfmt/package.json
+++ b/packages/sheets-plugin-numfmt/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-numfmt.cjs.js",
- "module": "./lib/univer-sheets-plugin-numfmt.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-numfmt.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-numfmt.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-numfmt.cjs.js",
+ "module": "./lib/univer-sheets-plugin-numfmt.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-numfmt.cjs.js",
- "default": "./lib/univer-sheets-plugin-numfmt.es.js"
- },
- "require": "./lib/univer-sheets-plugin-numfmt.cjs.js",
- "types": "./lib/univer-sheets-plugin-numfmt.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-pivot-table/package.json b/packages/sheets-plugin-pivot-table/package.json
index 3292a04cc5..eeac09eed8 100644
--- a/packages/sheets-plugin-pivot-table/package.json
+++ b/packages/sheets-plugin-pivot-table/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-pivot-table.cjs.js",
- "module": "./lib/univer-sheets-plugin-pivot-table.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-pivot-table.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-pivot-table.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-pivot-table.cjs.js",
+ "module": "./lib/univer-sheets-plugin-pivot-table.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-pivot-table.cjs.js",
- "default": "./lib/univer-sheets-plugin-pivot-table.es.js"
- },
- "require": "./lib/univer-sheets-plugin-pivot-table.cjs.js",
- "types": "./lib/univer-sheets-plugin-pivot-table.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-print/package.json b/packages/sheets-plugin-print/package.json
index d60b55289b..a55744231d 100644
--- a/packages/sheets-plugin-print/package.json
+++ b/packages/sheets-plugin-print/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-print.cjs.js",
- "module": "./lib/univer-sheets-plugin-print.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-print.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-print.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-print.cjs.js",
+ "module": "./lib/univer-sheets-plugin-print.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-print.cjs.js",
- "default": "./lib/univer-sheets-plugin-print.es.js"
- },
- "require": "./lib/univer-sheets-plugin-print.cjs.js",
- "types": "./lib/univer-sheets-plugin-print.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-protection/package.json b/packages/sheets-plugin-protection/package.json
index c60f4406e4..700dad214e 100644
--- a/packages/sheets-plugin-protection/package.json
+++ b/packages/sheets-plugin-protection/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-protection.cjs.js",
- "module": "./lib/univer-sheets-plugin-protection.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-protection.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-protection.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-protection.cjs.js",
+ "module": "./lib/univer-sheets-plugin-protection.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-protection.cjs.js",
- "default": "./lib/univer-sheets-plugin-protection.es.js"
- },
- "require": "./lib/univer-sheets-plugin-protection.cjs.js",
- "types": "./lib/univer-sheets-plugin-protection.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-screenshot/package.json b/packages/sheets-plugin-screenshot/package.json
index fd4be7392f..23b84b2f6a 100644
--- a/packages/sheets-plugin-screenshot/package.json
+++ b/packages/sheets-plugin-screenshot/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-screenshot.cjs.js",
- "module": "./lib/univer-sheets-plugin-screenshot.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-screenshot.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-screenshot.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-screenshot.cjs.js",
+ "module": "./lib/univer-sheets-plugin-screenshot.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-screenshot.cjs.js",
- "default": "./lib/univer-sheets-plugin-screenshot.es.js"
- },
- "require": "./lib/univer-sheets-plugin-screenshot.cjs.js",
- "types": "./lib/univer-sheets-plugin-screenshot.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-sort/package.json b/packages/sheets-plugin-sort/package.json
index 4d682eba92..1839f6a360 100644
--- a/packages/sheets-plugin-sort/package.json
+++ b/packages/sheets-plugin-sort/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-sort.cjs.js",
- "module": "./lib/univer-sheets-plugin-sort.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-sort.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-sort.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-sort.cjs.js",
+ "module": "./lib/univer-sheets-plugin-sort.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-sort.cjs.js",
- "default": "./lib/univer-sheets-plugin-sort.es.js"
- },
- "require": "./lib/univer-sheets-plugin-sort.cjs.js",
- "types": "./lib/univer-sheets-plugin-sort.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/sheets-plugin-split-column/package.json b/packages/sheets-plugin-split-column/package.json
index 7bb587c98d..093f176561 100644
--- a/packages/sheets-plugin-split-column/package.json
+++ b/packages/sheets-plugin-split-column/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-sheets-plugin-split-column.cjs.js",
- "module": "./lib/univer-sheets-plugin-split-column.es.js",
- "browser": {
- "./lib/univer-sheets-plugin-split-column.cjs.js": "./src/index.ts",
- "./lib/univer-sheets-plugin-split-column.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-sheets-plugin-split-column.cjs.js",
+ "module": "./lib/univer-sheets-plugin-split-column.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-sheets-plugin-split-column.cjs.js",
- "default": "./lib/univer-sheets-plugin-split-column.es.js"
- },
- "require": "./lib/univer-sheets-plugin-split-column.cjs.js",
- "types": "./lib/univer-sheets-plugin-split-column.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"
diff --git a/packages/style-universheet/package.json b/packages/style-universheet/package.json
index 7719d5d973..fb4d6e8a63 100644
--- a/packages/style-universheet/package.json
+++ b/packages/style-universheet/package.json
@@ -5,23 +5,17 @@
"keywords": [],
"author": "DreamNum <[email protected]>",
"license": "MIT",
- "main": "./lib/univer-style-universheet.cjs.js",
- "module": "./lib/univer-style-universheet.es.js",
- "browser": {
- "./lib/univer-style-universheet.cjs.js": "./src/index.ts",
- "./lib/univer-style-universheet.es.js": "./src/index.ts"
- },
+ "main": "./src/index.ts",
+ "module": "./src/index.ts",
"types": "./src/Types/index.d.ts",
+ "publishConfig": {
+ "main": "./lib/univer-style-universheet.cjs.js",
+ "module": "./lib/univer-style-universheet.es.js",
+ "types": "./lib/index.d.ts"
+ },
"exports": {
- ".": {
- "import": {
- "node": "./lib/univer-style-universheet.cjs.js",
- "default": "./lib/univer-style-universheet.es.js"
- },
- "require": "./lib/univer-style-universheet.cjs.js",
- "types": "./lib/univer-style-universheet.d.ts"
- },
- "./*": "./src/*"
+ ".": "./src/index.ts",
+ "./*": "./src/*"
},
"directories": {
"lib": "lib"