magic-editor-x 1.5.1 → 1.6.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.
Files changed (35) hide show
  1. package/README.md +6 -110
  2. package/dist/{_chunks/App-iNfbV7cz.mjs → admin/App-BwMEZnS-.mjs} +35 -34
  3. package/dist/{_chunks/App-DImBvISP.js → admin/App-HNr2tizR.js} +65 -64
  4. package/dist/{_chunks/CustomBlocksPage-Cj-0TTUs.js → admin/CustomBlocksPage-BjcA7MGz.js} +13 -13
  5. package/dist/{_chunks/LicensePage-gLRoo8WJ.mjs → admin/LicensePage-D0DMTF41.mjs} +39 -38
  6. package/dist/{_chunks/LicensePage-CmvILX9m.js → admin/LicensePage-D0_9yPkw.js} +45 -44
  7. package/dist/{_chunks/LiveCollaborationPanel-BFybu8h0.js → admin/LiveCollaborationPanel-CZAbgAVr.js} +9 -8
  8. package/dist/{_chunks/LiveCollaborationPanel-CVgl4IyR.mjs → admin/LiveCollaborationPanel-D8z72afw.mjs} +4 -3
  9. package/dist/{_chunks/Settings-BzGqgrxD.js → admin/Settings-DRenvRcG.js} +90 -89
  10. package/dist/{_chunks/Settings-ButYcfrm.mjs → admin/Settings-DjyNURlS.mjs} +83 -82
  11. package/dist/{_chunks/getTranslation-D3h3Z3gU.mjs → admin/getTranslation-2OiEgVGt.mjs} +10593 -18925
  12. package/dist/{_chunks/getTranslation-BADoesEn.js → admin/getTranslation-DQ_WJ-7M.js} +11076 -19408
  13. package/dist/{_chunks/index-BXBnwuRw.js → admin/index-Bn2tfJrC.js} +382 -354
  14. package/dist/{_chunks/index-DDFAuQNT.js → admin/index-DAtClhqy.js} +184 -183
  15. package/dist/{_chunks/index-BvEdg518.mjs → admin/index-FVEbTfqO.mjs} +290 -262
  16. package/dist/{_chunks/index-DEi6nwfM.mjs → admin/index-gjWl-6E2.mjs} +34 -33
  17. package/dist/admin/index.js +3 -2
  18. package/dist/admin/index.mjs +2 -2
  19. package/dist/{_chunks/tools-BXzd0lx5.mjs → admin/tools-CzHTZaY_.mjs} +42 -39
  20. package/dist/{_chunks/tools-Q0uwDS9E.js → admin/tools-DALFhvPO.js} +49 -46
  21. package/dist/server/index.js +63511 -37933
  22. package/dist/server/index.mjs +63511 -37906
  23. package/package.json +43 -30
  24. /package/dist/{_chunks → admin}/CustomBlocksPage-COPOZ2-_.mjs +0 -0
  25. /package/dist/{_chunks → admin}/de-C_0Mj-Zo.mjs +0 -0
  26. /package/dist/{_chunks → admin}/de-DVNVpAt9.js +0 -0
  27. /package/dist/{_chunks → admin}/en-B7AAf1ie.mjs +0 -0
  28. /package/dist/{_chunks → admin}/en-C2hv5GsA.js +0 -0
  29. /package/dist/{_chunks → admin}/es-BzJqcIST.js +0 -0
  30. /package/dist/{_chunks → admin}/es-zdP8sd-f.mjs +0 -0
  31. /package/dist/{_chunks → admin}/fr-CtAgOgH1.mjs +0 -0
  32. /package/dist/{_chunks → admin}/fr-D3GwqAAJ.js +0 -0
  33. /package/dist/{style.css → admin/magic-editor-x.css} +0 -0
  34. /package/dist/{_chunks → admin}/pt-BmUw6YMP.mjs +0 -0
  35. /package/dist/{_chunks → admin}/pt-CFo0nTbj.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-editor-x",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "description": "Advanced block-based editor for Strapi v5 with Editor.js, Media Library integration, and real-time collaboration support",
5
5
  "keywords": [
6
6
  "strapi",
@@ -34,10 +34,15 @@
34
34
  "pics"
35
35
  ],
36
36
  "scripts": {
37
- "build": "strapi-plugin build",
37
+ "build": "strapi-plugin build && node scripts/build-server-bundle.mjs && npm run verify:runtime",
38
+ "test": "node --test tests/*.test.js",
38
39
  "watch": "strapi-plugin watch",
39
40
  "watch:link": "strapi-plugin watch:link",
40
- "verify": "strapi-plugin verify"
41
+ "verify": "strapi-plugin verify",
42
+ "verify:runtime": "node scripts/verify-server-bundle.mjs"
43
+ },
44
+ "engines": {
45
+ "node": ">=22.22.2 <23"
41
46
  },
42
47
  "dependencies": {
43
48
  "@calumk/editorjs-codeflask": "^1.0.10",
@@ -45,9 +50,9 @@
45
50
  "@editorjs/checklist": "^1.6.0",
46
51
  "@editorjs/code": "^2.9.3",
47
52
  "@editorjs/delimiter": "^1.4.2",
48
- "@editorjs/editorjs": "^2.31.0",
53
+ "@editorjs/editorjs": "^2.31.7",
49
54
  "@editorjs/embed": "^2.7.6",
50
- "@editorjs/header": "^2.8.8",
55
+ "@editorjs/header": "^2.8.9",
51
56
  "@editorjs/image": "^2.10.1",
52
57
  "@editorjs/inline-code": "^1.5.1",
53
58
  "@editorjs/link": "^2.6.2",
@@ -58,9 +63,9 @@
58
63
  "@editorjs/quote": "^2.7.2",
59
64
  "@editorjs/raw": "^2.5.0",
60
65
  "@editorjs/simple-image": "^1.6.0",
61
- "@editorjs/table": "^2.4.2",
66
+ "@editorjs/table": "^2.4.6",
62
67
  "@editorjs/text-variant-tune": "^1.0.2",
63
- "@editorjs/underline": "^1.1.0",
68
+ "@editorjs/underline": "^1.2.1",
64
69
  "@editorjs/warning": "^1.4.0",
65
70
  "@heroicons/react": "^2.2.0",
66
71
  "@sotaproject/strikethrough": "^1.0.1",
@@ -71,42 +76,50 @@
71
76
  "editorjs-toggle-block": "^0.3.16",
72
77
  "editorjs-tooltip": "^1.2.2",
73
78
  "editorjs-undo": "^2.0.28",
74
- "open-graph-scraper": "^6.8.3",
79
+ "ipaddr.js": "^2.5.0",
80
+ "open-graph-scraper": "^6.12.0",
75
81
  "prismjs": "^1.30.0",
76
- "socket.io": "^4.8.1",
77
- "socket.io-client": "^4.8.1",
82
+ "socket.io": "^4.8.4",
83
+ "socket.io-client": "^4.8.4",
78
84
  "y-indexeddb": "^9.0.12",
79
85
  "y-socket.io": "^1.1.3",
80
- "yjs": "^13.6.15"
86
+ "yjs": "^13.6.33"
81
87
  },
82
88
  "devDependencies": {
83
- "@semantic-release/changelog": "^6.0.3",
84
- "@semantic-release/commit-analyzer": "^13.0.0",
85
- "@semantic-release/git": "^10.0.1",
86
- "@semantic-release/github": "^11.0.1",
87
- "@semantic-release/npm": "^12.0.1",
88
- "@semantic-release/release-notes-generator": "^14.0.1",
89
- "@strapi/design-system": "^2.0.2",
90
- "@strapi/icons": "^2.0.2",
91
- "@strapi/sdk-plugin": "^5.3.2",
92
- "@strapi/strapi": "^5.36.0",
93
- "prettier": "^3.7.3",
89
+ "@semantic-release/changelog": "^7.0.0",
90
+ "@semantic-release/commit-analyzer": "^13.0.1",
91
+ "@semantic-release/git": "^11.0.1",
92
+ "@semantic-release/github": "^12.0.10",
93
+ "@semantic-release/npm": "^13.2.0",
94
+ "@semantic-release/release-notes-generator": "^14.1.1",
95
+ "@strapi/design-system": "^2.2.4",
96
+ "@strapi/icons": "^2.2.4",
97
+ "@strapi/sdk-plugin": "^6.1.1",
98
+ "@strapi/strapi": "^5.57.0",
99
+ "esbuild": "^0.28.2",
100
+ "prettier": "^3.9.10",
94
101
  "react": "^18.3.1",
95
102
  "react-dom": "^18.3.1",
96
- "react-router-dom": "^6.30.2",
97
- "semantic-release": "^25.0.2",
98
- "styled-components": "^6.3.8"
103
+ "react-intl": "^6.8.9",
104
+ "react-router-dom": "^6.30.6",
105
+ "semantic-release": "^25.0.9",
106
+ "styled-components": "^6.6.0"
99
107
  },
100
108
  "peerDependencies": {
101
- "@strapi/sdk-plugin": "^5.3.2",
102
- "@strapi/strapi": "^5.36.0",
109
+ "@strapi/sdk-plugin": "^6.1.1",
110
+ "@strapi/strapi": "^5.57.0",
103
111
  "react": "^18.3.1",
104
112
  "react-dom": "^18.3.1",
105
- "react-router-dom": "^6.30.2",
106
- "styled-components": "^6.3.8"
113
+ "react-intl": "^6.6.2",
114
+ "react-router-dom": "^6.30.6",
115
+ "styled-components": "^6.0.0"
107
116
  },
108
117
  "overrides": {
109
- "prismjs": "^1.30.0"
118
+ "prismjs": "^1.30.0",
119
+ "axios": "^1.20.0",
120
+ "handlebars": "^4.7.10",
121
+ "postcss": "^8.5.30",
122
+ "uuid": "^11.1.1"
110
123
  },
111
124
  "strapi": {
112
125
  "kind": "plugin",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes