@sonicjs-cms/core 2.3.9 → 2.3.13

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 (78) hide show
  1. package/dist/{chunk-AUU4H5MP.js → chunk-2NTBZ2Y7.js} +4 -4
  2. package/dist/{chunk-AUU4H5MP.js.map → chunk-2NTBZ2Y7.js.map} +1 -1
  3. package/dist/{chunk-Q52ZQFMB.js → chunk-3YNNVSMC.js} +21 -34
  4. package/dist/chunk-3YNNVSMC.js.map +1 -0
  5. package/dist/{chunk-YLFQXTTX.cjs → chunk-5NCBFP37.cjs} +7 -7
  6. package/dist/{chunk-YLFQXTTX.cjs.map → chunk-5NCBFP37.cjs.map} +1 -1
  7. package/dist/{chunk-ES3BRZQJ.cjs → chunk-7FOAMNTI.cjs} +29 -42
  8. package/dist/chunk-7FOAMNTI.cjs.map +1 -0
  9. package/dist/{chunk-T7HDJE2H.cjs → chunk-ARLXQU2S.cjs} +292 -208
  10. package/dist/chunk-ARLXQU2S.cjs.map +1 -0
  11. package/dist/{chunk-5RKQB2JG.js → chunk-DN45O5XV.js} +8 -6
  12. package/dist/chunk-DN45O5XV.js.map +1 -0
  13. package/dist/{chunk-QNWYQZ55.js → chunk-F56JKQTA.js} +3 -3
  14. package/dist/{chunk-QNWYQZ55.js.map → chunk-F56JKQTA.js.map} +1 -1
  15. package/dist/{chunk-HNHKS2XF.js → chunk-FHCN7KR2.js} +11 -7
  16. package/dist/chunk-FHCN7KR2.js.map +1 -0
  17. package/dist/{chunk-NAYD76QF.cjs → chunk-ILZ3DP4I.cjs} +15 -6
  18. package/dist/chunk-ILZ3DP4I.cjs.map +1 -0
  19. package/dist/{chunk-YU6QFFI4.cjs → chunk-MF7DWI5P.cjs} +8 -6
  20. package/dist/chunk-MF7DWI5P.cjs.map +1 -0
  21. package/dist/{chunk-7KCDFDRI.cjs → chunk-P3XDZL6Q.cjs} +3 -4
  22. package/dist/chunk-P3XDZL6Q.cjs.map +1 -0
  23. package/dist/{chunk-I3M6I2FY.js → chunk-RP66TPEJ.js} +110 -26
  24. package/dist/chunk-RP66TPEJ.js.map +1 -0
  25. package/dist/{chunk-7CXL5K7N.js → chunk-SGAG6FD3.js} +15 -6
  26. package/dist/chunk-SGAG6FD3.js.map +1 -0
  27. package/dist/{chunk-624OTQ55.js → chunk-VMEBHBYY.js} +34 -2
  28. package/dist/chunk-VMEBHBYY.js.map +1 -0
  29. package/dist/{chunk-N3EHA3AX.cjs → chunk-W2IAEG4W.cjs} +11 -7
  30. package/dist/chunk-W2IAEG4W.cjs.map +1 -0
  31. package/dist/{chunk-O446Q45G.cjs → chunk-W4CE7XME.cjs} +34 -2
  32. package/dist/chunk-W4CE7XME.cjs.map +1 -0
  33. package/dist/{chunk-RRKXFGIO.js → chunk-X7ZAEI5S.js} +3 -4
  34. package/dist/chunk-X7ZAEI5S.js.map +1 -0
  35. package/dist/{chunk-ZMSYKV62.cjs → chunk-XR6XACXJ.cjs} +5 -5
  36. package/dist/{chunk-ZMSYKV62.cjs.map → chunk-XR6XACXJ.cjs.map} +1 -1
  37. package/dist/index.cjs +145 -145
  38. package/dist/index.js +14 -14
  39. package/dist/middleware.cjs +24 -24
  40. package/dist/middleware.js +3 -3
  41. package/dist/migrations-43GTELB5.js +4 -0
  42. package/dist/{migrations-ALSBVBV5.js.map → migrations-43GTELB5.js.map} +1 -1
  43. package/dist/migrations-ZAYXZXON.cjs +13 -0
  44. package/dist/{migrations-RMI7TLPG.cjs.map → migrations-ZAYXZXON.cjs.map} +1 -1
  45. package/dist/routes.cjs +28 -28
  46. package/dist/routes.js +8 -8
  47. package/dist/services.cjs +29 -29
  48. package/dist/services.d.cts +3 -4
  49. package/dist/services.d.ts +3 -4
  50. package/dist/services.js +4 -4
  51. package/dist/{telemetry-BFBIjBxK.d.cts → telemetry-UiD1i9GS.d.cts} +0 -1
  52. package/dist/{telemetry-BFBIjBxK.d.ts → telemetry-UiD1i9GS.d.ts} +0 -1
  53. package/dist/templates.cjs +17 -17
  54. package/dist/templates.js +2 -2
  55. package/dist/types.d.cts +1 -1
  56. package/dist/types.d.ts +1 -1
  57. package/dist/utils.cjs +20 -20
  58. package/dist/utils.d.cts +1 -1
  59. package/dist/utils.d.ts +1 -1
  60. package/dist/utils.js +2 -2
  61. package/migrations/025_add_easymde_plugin.sql +25 -0
  62. package/package.json +9 -5
  63. package/dist/chunk-5RKQB2JG.js.map +0 -1
  64. package/dist/chunk-624OTQ55.js.map +0 -1
  65. package/dist/chunk-7CXL5K7N.js.map +0 -1
  66. package/dist/chunk-7KCDFDRI.cjs.map +0 -1
  67. package/dist/chunk-ES3BRZQJ.cjs.map +0 -1
  68. package/dist/chunk-HNHKS2XF.js.map +0 -1
  69. package/dist/chunk-I3M6I2FY.js.map +0 -1
  70. package/dist/chunk-N3EHA3AX.cjs.map +0 -1
  71. package/dist/chunk-NAYD76QF.cjs.map +0 -1
  72. package/dist/chunk-O446Q45G.cjs.map +0 -1
  73. package/dist/chunk-Q52ZQFMB.js.map +0 -1
  74. package/dist/chunk-RRKXFGIO.js.map +0 -1
  75. package/dist/chunk-T7HDJE2H.cjs.map +0 -1
  76. package/dist/chunk-YU6QFFI4.cjs.map +0 -1
  77. package/dist/migrations-ALSBVBV5.js +0 -4
  78. package/dist/migrations-RMI7TLPG.cjs +0 -13
@@ -1,70 +1,70 @@
1
1
  'use strict';
2
2
 
3
- var chunkZMSYKV62_cjs = require('./chunk-ZMSYKV62.cjs');
4
- var chunkYU6QFFI4_cjs = require('./chunk-YU6QFFI4.cjs');
3
+ var chunkXR6XACXJ_cjs = require('./chunk-XR6XACXJ.cjs');
4
+ var chunkMF7DWI5P_cjs = require('./chunk-MF7DWI5P.cjs');
5
5
  require('./chunk-IGJUBJBW.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "renderFilterBar", {
10
10
  enumerable: true,
11
- get: function () { return chunkZMSYKV62_cjs.renderFilterBar; }
11
+ get: function () { return chunkXR6XACXJ_cjs.renderFilterBar; }
12
12
  });
13
13
  Object.defineProperty(exports, "getConfirmationDialogScript", {
14
14
  enumerable: true,
15
- get: function () { return chunkYU6QFFI4_cjs.getConfirmationDialogScript; }
15
+ get: function () { return chunkMF7DWI5P_cjs.getConfirmationDialogScript; }
16
16
  });
17
17
  Object.defineProperty(exports, "renderAdminLayout", {
18
18
  enumerable: true,
19
- get: function () { return chunkYU6QFFI4_cjs.renderAdminLayout; }
19
+ get: function () { return chunkMF7DWI5P_cjs.renderAdminLayout; }
20
20
  });
21
21
  Object.defineProperty(exports, "renderAdminLayoutCatalyst", {
22
22
  enumerable: true,
23
- get: function () { return chunkYU6QFFI4_cjs.renderAdminLayoutCatalyst; }
23
+ get: function () { return chunkMF7DWI5P_cjs.renderAdminLayoutCatalyst; }
24
24
  });
25
25
  Object.defineProperty(exports, "renderAlert", {
26
26
  enumerable: true,
27
- get: function () { return chunkYU6QFFI4_cjs.renderAlert; }
27
+ get: function () { return chunkMF7DWI5P_cjs.renderAlert; }
28
28
  });
29
29
  Object.defineProperty(exports, "renderCheckboxPage", {
30
30
  enumerable: true,
31
- get: function () { return chunkYU6QFFI4_cjs.renderCheckboxPage; }
31
+ get: function () { return chunkMF7DWI5P_cjs.renderCheckboxPage; }
32
32
  });
33
33
  Object.defineProperty(exports, "renderCodeExamplesList", {
34
34
  enumerable: true,
35
- get: function () { return chunkYU6QFFI4_cjs.renderCodeExamplesList; }
35
+ get: function () { return chunkMF7DWI5P_cjs.renderCodeExamplesList; }
36
36
  });
37
37
  Object.defineProperty(exports, "renderConfirmationDialog", {
38
38
  enumerable: true,
39
- get: function () { return chunkYU6QFFI4_cjs.renderConfirmationDialog; }
39
+ get: function () { return chunkMF7DWI5P_cjs.renderConfirmationDialog; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderDesignPage", {
42
42
  enumerable: true,
43
- get: function () { return chunkYU6QFFI4_cjs.renderDesignPage; }
43
+ get: function () { return chunkMF7DWI5P_cjs.renderDesignPage; }
44
44
  });
45
45
  Object.defineProperty(exports, "renderForm", {
46
46
  enumerable: true,
47
- get: function () { return chunkYU6QFFI4_cjs.renderForm; }
47
+ get: function () { return chunkMF7DWI5P_cjs.renderForm; }
48
48
  });
49
49
  Object.defineProperty(exports, "renderFormField", {
50
50
  enumerable: true,
51
- get: function () { return chunkYU6QFFI4_cjs.renderFormField; }
51
+ get: function () { return chunkMF7DWI5P_cjs.renderFormField; }
52
52
  });
53
53
  Object.defineProperty(exports, "renderLogo", {
54
54
  enumerable: true,
55
- get: function () { return chunkYU6QFFI4_cjs.renderLogo; }
55
+ get: function () { return chunkMF7DWI5P_cjs.renderLogo; }
56
56
  });
57
57
  Object.defineProperty(exports, "renderPagination", {
58
58
  enumerable: true,
59
- get: function () { return chunkYU6QFFI4_cjs.renderPagination; }
59
+ get: function () { return chunkMF7DWI5P_cjs.renderPagination; }
60
60
  });
61
61
  Object.defineProperty(exports, "renderTable", {
62
62
  enumerable: true,
63
- get: function () { return chunkYU6QFFI4_cjs.renderTable; }
63
+ get: function () { return chunkMF7DWI5P_cjs.renderTable; }
64
64
  });
65
65
  Object.defineProperty(exports, "renderTestimonialsList", {
66
66
  enumerable: true,
67
- get: function () { return chunkYU6QFFI4_cjs.renderTestimonialsList; }
67
+ get: function () { return chunkMF7DWI5P_cjs.renderTestimonialsList; }
68
68
  });
69
69
  //# sourceMappingURL=templates.cjs.map
70
70
  //# sourceMappingURL=templates.cjs.map
package/dist/templates.js CHANGED
@@ -1,5 +1,5 @@
1
- export { renderFilterBar } from './chunk-QNWYQZ55.js';
2
- export { getConfirmationDialogScript, renderAdminLayout, renderAdminLayoutCatalyst, renderAlert, renderCheckboxPage, renderCodeExamplesList, renderConfirmationDialog, renderDesignPage, renderForm, renderFormField, renderLogo, renderPagination, renderTable, renderTestimonialsList } from './chunk-5RKQB2JG.js';
1
+ export { renderFilterBar } from './chunk-F56JKQTA.js';
2
+ export { getConfirmationDialogScript, renderAdminLayout, renderAdminLayoutCatalyst, renderAlert, renderCheckboxPage, renderCodeExamplesList, renderConfirmationDialog, renderDesignPage, renderForm, renderFormField, renderLogo, renderPagination, renderTable, renderTestimonialsList } from './chunk-DN45O5XV.js';
3
3
  import './chunk-V4OQ3NZ2.js';
4
4
  //# sourceMappingURL=templates.js.map
5
5
  //# sourceMappingURL=templates.js.map
package/dist/types.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { b as CollectionConfig, c as CollectionConfigModule, C as CollectionSchema, d as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-FLlGtsh9.cjs';
2
2
  export { A as AuthService, C as ContentService, v as HOOKS, k as HookContext, H as HookHandler, u as HookName, l as HookSystem, p as MediaService, M as ModelRelationship, P as Plugin, g as PluginAdminPage, r as PluginBuilderOptions, h as PluginComponent, b as PluginConfig, a as PluginContext, j as PluginHook, q as PluginLogger, n as PluginManager, i as PluginMenuItem, d as PluginMiddleware, e as PluginModel, m as PluginRegistry, c as PluginRoutes, f as PluginService, o as PluginStatus, t as PluginValidationResult, s as PluginValidator, S as ScopedHookSystem } from './plugin-zvZpaiP5.cjs';
3
3
  export { P as PluginManifest } from './plugin-manifest-BCMx9CAq.cjs';
4
- export { b as TelemetryConfig, T as TelemetryEvent, c as TelemetryIdentity, a as TelemetryProperties } from './telemetry-BFBIjBxK.cjs';
4
+ export { b as TelemetryConfig, T as TelemetryEvent, c as TelemetryIdentity, a as TelemetryProperties } from './telemetry-UiD1i9GS.cjs';
5
5
  import 'hono';
6
6
  import 'zod';
7
7
  import '@cloudflare/workers-types';
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { b as CollectionConfig, c as CollectionConfigModule, C as CollectionSchema, d as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-FLlGtsh9.js';
2
2
  export { A as AuthService, C as ContentService, v as HOOKS, k as HookContext, H as HookHandler, u as HookName, l as HookSystem, p as MediaService, M as ModelRelationship, P as Plugin, g as PluginAdminPage, r as PluginBuilderOptions, h as PluginComponent, b as PluginConfig, a as PluginContext, j as PluginHook, q as PluginLogger, n as PluginManager, i as PluginMenuItem, d as PluginMiddleware, e as PluginModel, m as PluginRegistry, c as PluginRoutes, f as PluginService, o as PluginStatus, t as PluginValidationResult, s as PluginValidator, S as ScopedHookSystem } from './plugin-zvZpaiP5.js';
3
3
  export { P as PluginManifest } from './plugin-manifest-BCMx9CAq.js';
4
- export { b as TelemetryConfig, T as TelemetryEvent, c as TelemetryIdentity, a as TelemetryProperties } from './telemetry-BFBIjBxK.js';
4
+ export { b as TelemetryConfig, T as TelemetryEvent, c as TelemetryIdentity, a as TelemetryProperties } from './telemetry-UiD1i9GS.js';
5
5
  import 'hono';
6
6
  import 'zod';
7
7
  import '@cloudflare/workers-types';
package/dist/utils.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkN3EHA3AX_cjs = require('./chunk-N3EHA3AX.cjs');
4
- var chunk7KCDFDRI_cjs = require('./chunk-7KCDFDRI.cjs');
3
+ var chunkW2IAEG4W_cjs = require('./chunk-W2IAEG4W.cjs');
4
+ var chunkP3XDZL6Q_cjs = require('./chunk-P3XDZL6Q.cjs');
5
5
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
6
6
  require('./chunk-IGJUBJBW.cjs');
7
7
 
@@ -9,75 +9,75 @@ require('./chunk-IGJUBJBW.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "QueryFilterBuilder", {
11
11
  enumerable: true,
12
- get: function () { return chunkN3EHA3AX_cjs.QueryFilterBuilder; }
12
+ get: function () { return chunkW2IAEG4W_cjs.QueryFilterBuilder; }
13
13
  });
14
14
  Object.defineProperty(exports, "SONICJS_VERSION", {
15
15
  enumerable: true,
16
- get: function () { return chunkN3EHA3AX_cjs.SONICJS_VERSION; }
16
+ get: function () { return chunkW2IAEG4W_cjs.SONICJS_VERSION; }
17
17
  });
18
18
  Object.defineProperty(exports, "TemplateRenderer", {
19
19
  enumerable: true,
20
- get: function () { return chunkN3EHA3AX_cjs.TemplateRenderer; }
20
+ get: function () { return chunkW2IAEG4W_cjs.TemplateRenderer; }
21
21
  });
22
22
  Object.defineProperty(exports, "buildQuery", {
23
23
  enumerable: true,
24
- get: function () { return chunkN3EHA3AX_cjs.buildQuery; }
24
+ get: function () { return chunkW2IAEG4W_cjs.buildQuery; }
25
25
  });
26
26
  Object.defineProperty(exports, "escapeHtml", {
27
27
  enumerable: true,
28
- get: function () { return chunkN3EHA3AX_cjs.escapeHtml; }
28
+ get: function () { return chunkW2IAEG4W_cjs.escapeHtml; }
29
29
  });
30
30
  Object.defineProperty(exports, "getCoreVersion", {
31
31
  enumerable: true,
32
- get: function () { return chunkN3EHA3AX_cjs.getCoreVersion; }
32
+ get: function () { return chunkW2IAEG4W_cjs.getCoreVersion; }
33
33
  });
34
34
  Object.defineProperty(exports, "renderTemplate", {
35
35
  enumerable: true,
36
- get: function () { return chunkN3EHA3AX_cjs.renderTemplate; }
36
+ get: function () { return chunkW2IAEG4W_cjs.renderTemplate; }
37
37
  });
38
38
  Object.defineProperty(exports, "sanitizeInput", {
39
39
  enumerable: true,
40
- get: function () { return chunkN3EHA3AX_cjs.sanitizeInput; }
40
+ get: function () { return chunkW2IAEG4W_cjs.sanitizeInput; }
41
41
  });
42
42
  Object.defineProperty(exports, "sanitizeObject", {
43
43
  enumerable: true,
44
- get: function () { return chunkN3EHA3AX_cjs.sanitizeObject; }
44
+ get: function () { return chunkW2IAEG4W_cjs.sanitizeObject; }
45
45
  });
46
46
  Object.defineProperty(exports, "templateRenderer", {
47
47
  enumerable: true,
48
- get: function () { return chunkN3EHA3AX_cjs.templateRenderer; }
48
+ get: function () { return chunkW2IAEG4W_cjs.templateRenderer; }
49
49
  });
50
50
  Object.defineProperty(exports, "generateInstallationId", {
51
51
  enumerable: true,
52
- get: function () { return chunk7KCDFDRI_cjs.generateInstallationId; }
52
+ get: function () { return chunkP3XDZL6Q_cjs.generateInstallationId; }
53
53
  });
54
54
  Object.defineProperty(exports, "generateProjectId", {
55
55
  enumerable: true,
56
- get: function () { return chunk7KCDFDRI_cjs.generateProjectId; }
56
+ get: function () { return chunkP3XDZL6Q_cjs.generateProjectId; }
57
57
  });
58
58
  Object.defineProperty(exports, "getDefaultTelemetryConfig", {
59
59
  enumerable: true,
60
- get: function () { return chunk7KCDFDRI_cjs.getDefaultTelemetryConfig; }
60
+ get: function () { return chunkP3XDZL6Q_cjs.getDefaultTelemetryConfig; }
61
61
  });
62
62
  Object.defineProperty(exports, "getTelemetryConfig", {
63
63
  enumerable: true,
64
- get: function () { return chunk7KCDFDRI_cjs.getTelemetryConfig; }
64
+ get: function () { return chunkP3XDZL6Q_cjs.getTelemetryConfig; }
65
65
  });
66
66
  Object.defineProperty(exports, "isTelemetryEnabled", {
67
67
  enumerable: true,
68
- get: function () { return chunk7KCDFDRI_cjs.isTelemetryEnabled; }
68
+ get: function () { return chunkP3XDZL6Q_cjs.isTelemetryEnabled; }
69
69
  });
70
70
  Object.defineProperty(exports, "sanitizeErrorMessage", {
71
71
  enumerable: true,
72
- get: function () { return chunk7KCDFDRI_cjs.sanitizeErrorMessage; }
72
+ get: function () { return chunkP3XDZL6Q_cjs.sanitizeErrorMessage; }
73
73
  });
74
74
  Object.defineProperty(exports, "sanitizeRoute", {
75
75
  enumerable: true,
76
- get: function () { return chunk7KCDFDRI_cjs.sanitizeRoute; }
76
+ get: function () { return chunkP3XDZL6Q_cjs.sanitizeRoute; }
77
77
  });
78
78
  Object.defineProperty(exports, "shouldSkipEvent", {
79
79
  enumerable: true,
80
- get: function () { return chunk7KCDFDRI_cjs.shouldSkipEvent; }
80
+ get: function () { return chunkP3XDZL6Q_cjs.shouldSkipEvent; }
81
81
  });
82
82
  Object.defineProperty(exports, "metricsTracker", {
83
83
  enumerable: true,
package/dist/utils.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { c as FilterCondition, d as FilterGroup, F as FilterOperator, f as QueryFilter, Q as QueryFilterBuilder, h as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, b as buildQuery, e as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, a as sanitizeObject, t as templateRenderer } from './version-vktVAxhe.cjs';
2
- import { b as TelemetryConfig } from './telemetry-BFBIjBxK.cjs';
2
+ import { b as TelemetryConfig } from './telemetry-UiD1i9GS.cjs';
3
3
 
4
4
  /**
5
5
  * Telemetry ID Utilities
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { c as FilterCondition, d as FilterGroup, F as FilterOperator, f as QueryFilter, Q as QueryFilterBuilder, h as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, b as buildQuery, e as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, a as sanitizeObject, t as templateRenderer } from './version-vktVAxhe.js';
2
- import { b as TelemetryConfig } from './telemetry-BFBIjBxK.js';
2
+ import { b as TelemetryConfig } from './telemetry-UiD1i9GS.js';
3
3
 
4
4
  /**
5
5
  * Telemetry ID Utilities
package/dist/utils.js CHANGED
@@ -1,5 +1,5 @@
1
- export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, escapeHtml, getCoreVersion, renderTemplate, sanitizeInput, sanitizeObject, templateRenderer } from './chunk-HNHKS2XF.js';
2
- export { generateInstallationId, generateProjectId, getDefaultTelemetryConfig, getTelemetryConfig, isTelemetryEnabled, sanitizeErrorMessage, sanitizeRoute, shouldSkipEvent } from './chunk-RRKXFGIO.js';
1
+ export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, escapeHtml, getCoreVersion, renderTemplate, sanitizeInput, sanitizeObject, templateRenderer } from './chunk-FHCN7KR2.js';
2
+ export { generateInstallationId, generateProjectId, getDefaultTelemetryConfig, getTelemetryConfig, isTelemetryEnabled, sanitizeErrorMessage, sanitizeRoute, shouldSkipEvent } from './chunk-X7ZAEI5S.js';
3
3
  export { metricsTracker } from './chunk-FICTAGD4.js';
4
4
  import './chunk-V4OQ3NZ2.js';
5
5
  //# sourceMappingURL=utils.js.map
@@ -0,0 +1,25 @@
1
+ -- Add EasyMDE Rich Text Editor Plugin
2
+ -- Migration: 025_add_easymde_plugin
3
+ -- Description: Add EasyMDE plugin for markdown-based rich text editing
4
+
5
+ -- Register the plugin (inactive by default, replacing MDXEditor)
6
+ INSERT OR IGNORE INTO plugins (
7
+ id, name, display_name, description, version, author, category, icon,
8
+ status, is_core, permissions, dependencies, settings, installed_at, last_updated
9
+ ) VALUES (
10
+ 'easymde-editor',
11
+ 'easymde-editor',
12
+ 'EasyMDE Editor',
13
+ 'Lightweight markdown editor for content creation. Simple, elegant WYSIWYG markdown editor with live preview, toolbar, and dark mode support for richtext fields.',
14
+ '1.0.0',
15
+ 'SonicJS Team',
16
+ 'editor',
17
+ '✍️',
18
+ 'inactive',
19
+ TRUE,
20
+ '[]',
21
+ '[]',
22
+ '{"theme":"dark","defaultHeight":300,"toolbar":"full","spellChecker":false,"placeholder":"Start writing your content..."}',
23
+ unixepoch(),
24
+ unixepoch()
25
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonicjs-cms/core",
3
- "version": "2.3.9",
3
+ "version": "2.3.13",
4
4
  "description": "Core framework for SonicJS headless CMS - Edge-first, TypeScript-native CMS built for Cloudflare Workers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -65,6 +65,8 @@
65
65
  "build": "tsup",
66
66
  "dev": "tsup --watch",
67
67
  "type-check": "tsc --noEmit",
68
+ "lint": "eslint src/",
69
+ "lint:fix": "eslint src/ --fix",
68
70
  "test": "vitest --run",
69
71
  "test:watch": "vitest",
70
72
  "prepublishOnly": "npm run build"
@@ -94,21 +96,23 @@
94
96
  "homepage": "https://sonicjs.com",
95
97
  "peerDependencies": {
96
98
  "@cloudflare/workers-types": "^4.0.0",
97
- "hono": "^4.0.0",
98
99
  "drizzle-orm": "^0.44.0",
100
+ "hono": "^4.0.0",
99
101
  "zod": "^3.0.0 || ^4.0.0"
100
102
  },
101
103
  "dependencies": {
102
104
  "drizzle-zod": "^0.8.3",
103
- "marked": "^16.4.1",
104
105
  "highlight.js": "^11.11.1",
105
- "semver": "^7.7.3",
106
- "posthog-node": "^4.0.0"
106
+ "marked": "^16.4.1",
107
+ "semver": "^7.7.3"
107
108
  },
108
109
  "devDependencies": {
109
110
  "@cloudflare/workers-types": "^4.20251014.0",
110
111
  "@types/node": "^24.9.2",
112
+ "@typescript-eslint/eslint-plugin": "^8.50.0",
113
+ "@typescript-eslint/parser": "^8.50.0",
111
114
  "drizzle-orm": "^0.44.7",
115
+ "eslint": "^9.39.2",
112
116
  "hono": "^4.10.4",
113
117
  "tsup": "^8.5.0",
114
118
  "typescript": "^5.9.3",