@fileverse-dev/ddoc 4.1.12 → 4.2.0-durability-2

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
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "4.1.12",
5
+ "version": "4.2.0-durability-2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -25,7 +25,8 @@
25
25
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
26
26
  "preview": "vite preview",
27
27
  "prepare": "husky install",
28
- "build:watch": "vite build --watch"
28
+ "build:watch": "vite build --watch",
29
+ "test": "vitest run"
29
30
  },
30
31
  "lint-staged": {
31
32
  "**/*.{js,jsx,ts,tsx}": [
@@ -120,7 +121,6 @@
120
121
  "y-indexeddb": "^9.0.12",
121
122
  "y-prosemirror": "^1.2.5",
122
123
  "y-protocols": "^1.0.6",
123
- "y-webrtc": "^10.3.0",
124
124
  "yjs": "^13.6.15",
125
125
  "zustand": "^5.0.12"
126
126
  },
@@ -130,13 +130,15 @@
130
130
  "@dnd-kit/utilities": ">=3.2.2",
131
131
  "@fileverse/crypto": ">=0.0.21",
132
132
  "@fileverse/ens": "0.0.4",
133
- "@fileverse/ui": "5.1.9",
133
+ "@fileverse/ui": "5.2.0",
134
134
  "framer-motion": ">=11.2.10",
135
135
  "frimousse": ">=0.3.0",
136
136
  "mermaid": "11.14.0",
137
137
  "viem": ">=2.35.0"
138
138
  },
139
139
  "devDependencies": {
140
+ "@testing-library/jest-dom": "^6.4.0",
141
+ "@testing-library/react": "^16.0.0",
140
142
  "@types/dompurify": "^3.0.5",
141
143
  "@types/katex": "^0.16.7",
142
144
  "@types/markdown-it-footnote": "^3.0.4",
@@ -155,11 +157,13 @@
155
157
  "eslint-plugin-react-hooks": "^4.6.0",
156
158
  "eslint-plugin-react-refresh": "^0.4.4",
157
159
  "husky": "^9.1.7",
160
+ "jsdom": "^25.0.0",
158
161
  "lint-staged": "^15.2.10",
159
162
  "postcss": "^8.4.38",
160
163
  "prettier": "^3.4.2",
161
164
  "tailwindcss": "^3.4.3",
162
165
  "typescript": "^5.2.2",
163
- "vite": "^5.0.0"
166
+ "vite": "^5.0.0",
167
+ "vitest": "^2.1.0"
164
168
  }
165
169
  }