f1ow 0.1.5 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "f1ow",
3
- "version": "0.1.5",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Interactive canvas drawing toolkit built on KonvaJS — drop-in React component for diagrams, sketches & whiteboards",
6
6
  "author": "Nuumz <info@nuumz.com>",
@@ -20,6 +20,10 @@
20
20
  "types": "./dist/lib/index.d.ts",
21
21
  "import": "./dist/f1ow.js",
22
22
  "require": "./dist/f1ow.umd.cjs"
23
+ },
24
+ "./collaboration": {
25
+ "types": "./dist/lib/collaboration.d.ts",
26
+ "import": "./dist/f1ow-collaboration.js"
23
27
  }
24
28
  },
25
29
  "files": [
@@ -28,14 +32,25 @@
28
32
  "README.md"
29
33
  ],
30
34
  "sideEffects": false,
35
+ "scripts": {
36
+ "dev": "vite",
37
+ "build": "vite build",
38
+ "build:lib": "vite build --mode lib && vite build --mode lib-collab",
39
+ "preview": "vite preview",
40
+ "typecheck": "tsc --noEmit",
41
+ "test": "vitest run",
42
+ "test:watch": "vitest",
43
+ "test:coverage": "vitest run --coverage",
44
+ "prepublishOnly": "pnpm typecheck && pnpm build:lib"
45
+ },
31
46
  "peerDependencies": {
32
- "react": ">=17.0.0",
33
- "react-dom": ">=17.0.0",
34
47
  "konva": ">=9.0.0",
35
- "react-konva": ">=18.0.0",
36
- "zustand": ">=5.0.0",
48
+ "react": ">=19.0.0",
49
+ "react-dom": ">=19.0.0",
50
+ "react-konva": ">=19.0.0",
51
+ "y-websocket": ">=2.0.0",
37
52
  "yjs": ">=13.0.0",
38
- "y-websocket": ">=2.0.0"
53
+ "zustand": ">=5.0.0"
39
54
  },
40
55
  "peerDependenciesMeta": {
41
56
  "konva": {
@@ -55,24 +70,27 @@
55
70
  }
56
71
  },
57
72
  "devDependencies": {
58
- "@types/node": "^25.2.1",
73
+ "@types/node": "^25.6.0",
59
74
  "@types/rbush": "^4.0.0",
60
- "@types/react": "^18.3.18",
61
- "@types/react-dom": "^18.3.5",
62
- "@vitejs/plugin-react": "^4.3.4",
63
- "konva": "^9.3.18",
75
+ "@types/react": "^19.2.2",
76
+ "@types/react-dom": "^19.2.2",
77
+ "@vitejs/plugin-react": "^4.7.0",
78
+ "@vitest/coverage-v8": "^4.1.4",
79
+ "happy-dom": "^20.9.0",
80
+ "konva": "^10.2.5",
64
81
  "lucide-react": "^0.468.0",
65
- "nanoid": "^5.0.9",
82
+ "nanoid": "^5.1.9",
66
83
  "rbush": "^4.0.1",
67
- "react": "^18.3.1",
68
- "react-dom": "^18.3.1",
69
- "react-konva": "^18.2.10",
70
- "typescript": "^5.7.3",
71
- "vite": "^6.0.7",
72
- "vite-plugin-dts": "^4.3.0",
84
+ "react": "^19.2.5",
85
+ "react-dom": "^19.2.5",
86
+ "react-konva": "^19.2.3",
87
+ "typescript": "^5.9.3",
88
+ "vite": "^6.4.2",
89
+ "vite-plugin-dts": "^4.5.4",
90
+ "vitest": "^4.1.4",
73
91
  "y-websocket": "^3.0.0",
74
- "yjs": "^13.6.29",
75
- "zustand": "^5.0.3"
92
+ "yjs": "^13.6.30",
93
+ "zustand": "^5.0.12"
76
94
  },
77
95
  "keywords": [
78
96
  "canvas",
@@ -89,11 +107,15 @@
89
107
  "sketch"
90
108
  ],
91
109
  "license": "MIT",
92
- "scripts": {
93
- "dev": "vite",
94
- "build": "vite build",
95
- "build:lib": "vite build --mode lib",
96
- "preview": "vite preview",
97
- "typecheck": "tsc --noEmit"
110
+ "pnpm": {
111
+ "overrides": {
112
+ "minimatch@9": "9.0.7",
113
+ "minimatch@10": "10.2.3",
114
+ "ajv": "8.18.0",
115
+ "rollup@4": "4.59.0"
116
+ }
117
+ },
118
+ "dependencies": {
119
+ "marked": "^18.0.2"
98
120
  }
99
- }
121
+ }