@fileverse-dev/ddoc 2.0.9-yjs-patch-2 → 2.1.0-patch-1

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": "2.0.9-yjs-patch-2",
5
+ "version": "2.1.0-patch-1",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -22,13 +22,24 @@
22
22
  "scripts": {
23
23
  "dev": "vite",
24
24
  "build": "tsc && vite build",
25
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
26
- "preview": "vite preview"
25
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
26
+ "preview": "vite preview",
27
+ "prepare": "husky install"
28
+ },
29
+ "lint-staged": {
30
+ "**/*.{js,jsx,ts,tsx}": [
31
+ "eslint --fix",
32
+ "prettier --write"
33
+ ],
34
+ "**/*.{json,css,md}": [
35
+ "prettier --write"
36
+ ]
27
37
  },
28
38
  "dependencies": {
29
39
  "@_ueberdosis/prosemirror-tables": "^1.1.3",
30
40
  "@aarkue/tiptap-math-extension": "^1.3.3",
31
- "@fileverse/ui": "^4.1.3-patch-7",
41
+ "@fileverse-dev/md2slides": "^0.0.8",
42
+ "@fileverse/ui": "4.1.3-patch-8",
32
43
  "@radix-ui/react-focus-scope": "^1.1.0",
33
44
  "@radix-ui/react-popover": "^1.0.7",
34
45
  "@tippyjs/react": "^4.2.6",
@@ -65,7 +76,6 @@
65
76
  "embla-carousel-react": "^8.1.5",
66
77
  "ethers": "^6.13.1",
67
78
  "framer-motion": "^11.11.8",
68
- "js-base64": "^3.7.7",
69
79
  "katex": "^0.16.11",
70
80
  "markdown-it-footnote": "^4.0.0",
71
81
  "platform": "^1.3.6",
@@ -82,7 +92,6 @@
82
92
  "usehooks-ts": "^3.1.0",
83
93
  "vaul": "^0.9.1",
84
94
  "vite-plugin-dts": "^3.6.3",
85
- "y-indexeddb": "^9.0.12",
86
95
  "y-prosemirror": "^1.2.5",
87
96
  "y-webrtc": "^10.3.0",
88
97
  "yjs": "^13.6.15"
@@ -101,9 +110,14 @@
101
110
  "@vitejs/plugin-react": "^4.2.0",
102
111
  "autoprefixer": "^10.4.19",
103
112
  "eslint": "^8.53.0",
113
+ "eslint-config-prettier": "^9.1.0",
114
+ "eslint-plugin-prettier": "^5.2.1",
104
115
  "eslint-plugin-react-hooks": "^4.6.0",
105
116
  "eslint-plugin-react-refresh": "^0.4.4",
117
+ "husky": "^9.1.7",
118
+ "lint-staged": "^15.2.10",
106
119
  "postcss": "^8.4.38",
120
+ "prettier": "^3.4.2",
107
121
  "sass": "^1.77.2",
108
122
  "tailwindcss": "^3.4.3",
109
123
  "typescript": "^5.2.2",
@@ -1 +0,0 @@
1
- export declare function isJSONString(str: unknown): boolean;