Skip to content

开源白板工具(SaaS),一体化白板,包含思维导图、流程图、自由画等。All in one open-source whiteboard tool with mind, flowchart, freehand and etc.

feat: add dependencies for packages

pubuzhixing86d89b3218528
diff --git a/packages/drawnix/package.json b/packages/drawnix/package.json
index 565f9d1..d0cb617 100644
--- a/packages/drawnix/package.json
+++ b/packages/drawnix/package.json
@@ -4,6 +4,11 @@
"main": "./index.js",
"types": "./index.d.ts",
"private": false,
+ "dependencies": {
+ "@floating-ui/react": "^0.26.24",
+ "mobile-detect": "^1.4.5",
+ "open-color": "^1.9.1"
+ },
"exports": {
".": {
"import": "./index.mjs",
diff --git a/packages/react-board/package.json b/packages/react-board/package.json
index 93e2c61..713c1b2 100644
--- a/packages/react-board/package.json
+++ b/packages/react-board/package.json
@@ -4,6 +4,16 @@
"main": "./index.js",
"types": "./index.d.ts",
"private": false,
+ "dependencies": {
+ "@plait/common": "^0.77.2",
+ "@plait/core": "^0.77.2",
+ "@plait/draw": "^0.77.2",
+ "@plait/layouts": "^0.77.2",
+ "@plait/mind": "^0.77.2",
+ "@plait/text-plugins": "^0.77.2",
+ "ahooks": "^3.8.0",
+ "classnames": "^2.5.1"
+ },
"exports": {
".": {
"import": "./index.mjs",
@@ -11,4 +21,4 @@
"types": "./index.d.ts"
}
}
-}
+}
\ No newline at end of file
diff --git a/packages/react-text/package.json b/packages/react-text/package.json
index 154ae81..eaebcf6 100644
--- a/packages/react-text/package.json
+++ b/packages/react-text/package.json
@@ -4,6 +4,11 @@
"main": "./index.js",
"types": "./index.d.ts",
"private": false,
+ "dependencies": {
+ "slate": "^0.101.5",
+ "slate-history": "^0.100.0",
+ "slate-react": "^0.105.0"
+ },
"exports": {
".": {
"import": "./index.mjs",
@@ -11,4 +16,4 @@
"types": "./index.d.ts"
}
}
-}
+}
\ No newline at end of file