@studiocms/html 0.1.0-beta.23 → 0.1.0-beta.25

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.
@@ -13,11 +13,11 @@ const { content } = Astro.props;
13
13
  </div>
14
14
 
15
15
  <script>
16
- import sunEditor from 'suneditor';
17
- import plugins from 'suneditor/src/plugins';
18
- import CodeMirror from 'codemirror';
19
- import 'codemirror/mode/htmlmixed/htmlmixed'
20
- import katex from 'katex';
16
+ import 'codemirror/mode/htmlmixed/htmlmixed';
17
+ const { default: sunEditor } = await import('suneditor')
18
+ const { default: katex } = await import('katex');
19
+ const { default: plugins } = await import('suneditor/src/plugins');
20
+ const { default: CodeMirror } = await import('codemirror');
21
21
 
22
22
  const editor = sunEditor.create('page-content', {
23
23
  display: 'block',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiocms/html",
3
- "version": "0.1.0-beta.23",
3
+ "version": "0.1.0-beta.25",
4
4
  "description": "Add HTML Support to your StudioCMS project with ease!",
5
5
  "author": {
6
6
  "name": "withstudiocms",
@@ -23,12 +23,10 @@
23
23
  "astrocms",
24
24
  "astrodb",
25
25
  "astrostudio",
26
- "astro-integration",
27
26
  "astro-studio",
28
27
  "astro-studiocms",
29
28
  "cms",
30
29
  "studiocms",
31
- "withastro",
32
30
  "plugin",
33
31
  "studiocms-plugin"
34
32
  ],
@@ -59,24 +57,24 @@
59
57
  },
60
58
  "type": "module",
61
59
  "dependencies": {
62
- "astro-integration-kit": "^0.18",
60
+ "astro-integration-kit": "^0.19.0",
63
61
  "codemirror": "5.65.19",
64
62
  "katex": "^0.16.22",
65
- "suneditor": "^2.47.6"
63
+ "suneditor": "^2.47.7"
66
64
  },
67
65
  "devDependencies": {
68
66
  "@types/codemirror": "5.60.16",
69
67
  "@types/node": "^22.0.0"
70
68
  },
71
69
  "peerDependencies": {
72
- "astro": "^5.12.6",
73
- "effect": "^3.17.3",
70
+ "astro": "^5.12.9",
71
+ "effect": "^3.17.9",
74
72
  "vite": "^6.3.4",
75
- "studiocms": "0.1.0-beta.23"
73
+ "studiocms": "0.1.0-beta.25"
76
74
  },
77
75
  "scripts": {
78
- "build": "buildkit build 'src/**/*.{ts,astro,css,json,png}'",
79
- "dev": "buildkit dev 'src/**/*.{ts,astro,css,json,png}'",
76
+ "build": "buildkit build 'src/**/*.{ts,astro,css,json,png,d.ts}'",
77
+ "dev": "buildkit dev 'src/**/*.{ts,astro,css,json,png,d.ts}'",
80
78
  "typecheck": "tspc -p tsconfig.tspc.json"
81
79
  }
82
80
  }