@blokkli/editor 2.0.0-alpha.50 → 2.0.0-alpha.51

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blokkli/editor",
3
3
  "configKey": "blokkli",
4
- "version": "2.0.0-alpha.50",
4
+ "version": "2.0.0-alpha.51",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.15.0"
7
7
  },
package/dist/module.mjs CHANGED
@@ -18,7 +18,7 @@ import 'typescript';
18
18
  import 'oxc-walker';
19
19
 
20
20
  const name = "@blokkli/editor";
21
- const version = "2.0.0-alpha.50";
21
+ const version = "2.0.0-alpha.51";
22
22
 
23
23
  function validateOption(optionKey, option, icons) {
24
24
  const errors = [];
@@ -3990,10 +3990,6 @@ const module$1 = defineNuxtModule({
3990
3990
  featureCollector,
3991
3991
  blockCollector
3992
3992
  ];
3993
- const hasErrors = [...collectors, helper].flatMap((v) => v.validate(iconCollector)).some((v) => v);
3994
- if (!helper.isDev && !helper.isPrepare && hasErrors) {
3995
- throw new Error("Failed to build bl\xF6kkli due to validation errors.");
3996
- }
3997
3993
  const context = new ModuleContext(
3998
3994
  helper,
3999
3995
  iconCollector,
@@ -4014,6 +4010,10 @@ const module$1 = defineNuxtModule({
4014
4010
  });
4015
4011
  await Promise.all(collectors.map((v) => v.init()));
4016
4012
  await Promise.all(collectors.map((v) => v.runHooks()));
4013
+ const hasErrors = [...collectors, helper].flatMap((v) => v.validate(iconCollector)).some((v) => v);
4014
+ if (!helper.isDev && !helper.isPrepare && hasErrors) {
4015
+ throw new Error("Failed to build bl\xF6kkli due to validation errors.");
4016
+ }
4017
4017
  TEMPLATES.forEach((v) => {
4018
4018
  if (typeof v === "function") {
4019
4019
  const result = v(helper);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blokkli/editor",
3
- "version": "2.0.0-alpha.50",
3
+ "version": "2.0.0-alpha.51",
4
4
  "description": "Interactive page building experience for Nuxt",
5
5
  "keywords": [
6
6
  "cms",