@blokkli/editor 2.0.0-alpha.33 → 2.0.0-alpha.34
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.d.mts +5 -4
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -3
- package/dist/types.d.mts +2 -2
- package/package.json +1 -1
package/dist/module.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
1
|
+
import { NuxtModule } from 'nuxt/schema';
|
|
2
|
+
import { M as ModuleOptions } from './shared/editor.Iax3GCvt.mjs';
|
|
3
|
+
export { a as ModuleHooks } from './shared/editor.Iax3GCvt.mjs';
|
|
3
4
|
import 'consola';
|
|
4
5
|
import '../dist/global/types/definitions.js';
|
|
5
6
|
import '../dist/global/types/theme.js';
|
|
6
7
|
import '@nuxt/kit';
|
|
7
8
|
import '../dist/global/types/features.js';
|
|
8
9
|
|
|
9
|
-
declare const _default:
|
|
10
|
+
declare const _default: NuxtModule<ModuleOptions>;
|
|
10
11
|
|
|
11
|
-
export { _default as default };
|
|
12
|
+
export { ModuleOptions, _default as default };
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import { createRequire } from 'node:module';
|
|
|
17
17
|
import { defu, createDefu } from 'defu';
|
|
18
18
|
|
|
19
19
|
const name = "@blokkli/editor";
|
|
20
|
-
const version = "2.0.0-alpha.
|
|
20
|
+
const version = "2.0.0-alpha.34";
|
|
21
21
|
|
|
22
22
|
function sortObjectKeys(obj) {
|
|
23
23
|
if (Array.isArray(obj)) {
|
|
@@ -3807,8 +3807,6 @@ const module$1 = defineNuxtModule({
|
|
|
3807
3807
|
featureCollector,
|
|
3808
3808
|
blockCollector
|
|
3809
3809
|
];
|
|
3810
|
-
await Promise.all(collectors.map((v) => v.init()));
|
|
3811
|
-
await Promise.all(collectors.map((v) => v.runHooks()));
|
|
3812
3810
|
const hasErrors = [...collectors, helper].flatMap((v) => v.validate(iconCollector)).some((v) => v);
|
|
3813
3811
|
if (!helper.isDev && !helper.isPrepare && hasErrors) {
|
|
3814
3812
|
throw new Error("Failed to build bl\xF6kkli due to validation errors.");
|
|
@@ -3830,6 +3828,8 @@ const module$1 = defineNuxtModule({
|
|
|
3830
3828
|
app.context.collectors.forEach((collector) => {
|
|
3831
3829
|
collectors.push(collector);
|
|
3832
3830
|
});
|
|
3831
|
+
await Promise.all(collectors.map((v) => v.init()));
|
|
3832
|
+
await Promise.all(collectors.map((v) => v.runHooks()));
|
|
3833
3833
|
TEMPLATES.forEach((v) => {
|
|
3834
3834
|
if (typeof v === "function") {
|
|
3835
3835
|
const result = v(helper);
|
package/dist/types.d.mts
CHANGED
|
@@ -4,6 +4,6 @@ declare module '@nuxt/schema' {
|
|
|
4
4
|
interface NuxtHooks extends ModuleHooks {}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export { type ModuleHooks
|
|
7
|
+
export { type ModuleHooks } from './shared/editor.Iax3GCvt.mjs'
|
|
8
8
|
|
|
9
|
-
export { default } from './module.mjs'
|
|
9
|
+
export { type ModuleOptions, default } from './module.mjs'
|