@stll/folio-nuxt 0.3.20 → 0.4.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/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # @stll/folio-nuxt
2
+
3
+ Nuxt integration for the folio Vue document editor.
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ bun add @stll/folio-nuxt vue@^3.3.0 \
9
+ prosemirror-commands@^1.7.1 prosemirror-dropcursor@^1.8.2 prosemirror-gapcursor@^1.4.1 prosemirror-history@^1.5.0 \
10
+ prosemirror-inputrules@^1.5.0 prosemirror-keymap@^1.2.3 prosemirror-model@^1.25.9 prosemirror-state@^1.4.4 \
11
+ prosemirror-tables@^1.8.5 prosemirror-transform@^1.12.0 prosemirror-view@^1.42.6 y-prosemirror@^1.3.7 \
12
+ y-protocols@^1.0.6 yjs@^13.6.31
13
+ ```
14
+
15
+ ProseMirror and Yjs packages are required peers, including the collaboration
16
+ packages `y-prosemirror` and `y-protocols`. Install one compatible copy of each in the host
17
+ application so schemas, plugins, editor states, and collaborative documents share
18
+ the same runtime. The command above includes the complete editor peer closure.
19
+
20
+ Add `"@stll/folio-nuxt"` to `modules` in `nuxt.config.ts`; the module registers
21
+ a client-only `<DocxEditor>` and loads the editor stylesheet.
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.3.20",
7
+ "version": "0.4.0",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.3",
10
10
  "unbuild": "unknown"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/folio-nuxt",
3
- "version": "0.3.20",
3
+ "version": "0.4.0",
4
4
  "description": "Nuxt 3 & 4 module for folio: auto-imports an SSR-safe <DocxEditor> component built on @stll/folio-vue and ProseMirror.",
5
5
  "keywords": [
6
6
  "docx",
@@ -53,20 +53,25 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@nuxt/kit": "^3.14.0 || ^4.0.0",
56
- "@stll/folio-vue": "^0.23.0",
57
- "prosemirror-history": "^1.4.0",
58
- "prosemirror-model": "^1.19.4",
59
- "prosemirror-state": "^1.4.3",
60
- "prosemirror-tables": "^1.8.5",
61
- "prosemirror-view": "^1.42.6"
56
+ "@stll/folio-vue": "^0.24.0"
62
57
  },
63
58
  "devDependencies": {
64
59
  "@nuxt/module-builder": "^1.0.0",
65
60
  "@nuxt/schema": "^4.5.1",
66
61
  "nuxt": "^4.5.1",
62
+ "prosemirror-history": "^1.5.0",
63
+ "prosemirror-model": "^1.25.9",
64
+ "prosemirror-state": "^1.4.4",
65
+ "prosemirror-tables": "^1.8.5",
66
+ "prosemirror-view": "^1.42.6",
67
67
  "vue": "^3.5.43"
68
68
  },
69
69
  "peerDependencies": {
70
+ "prosemirror-history": "^1.5.0",
71
+ "prosemirror-model": "^1.25.9",
72
+ "prosemirror-state": "^1.4.4",
73
+ "prosemirror-tables": "^1.8.5",
74
+ "prosemirror-view": "^1.42.6",
70
75
  "vue": "^3.3.0"
71
76
  }
72
77
  }