mapomodule 2.0.0-beta.7 → 2.0.0-beta.9
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 +3 -0
- package/dist/module.d.ts +3 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +7 -1
- package/package.json +8 -7
package/dist/module.d.mts
CHANGED
|
@@ -2,12 +2,15 @@ import { NuxtModule } from '@nuxt/schema';
|
|
|
2
2
|
import { MapoOptions } from '@mapomodule/core';
|
|
3
3
|
import { MapoUikitOptions } from '@mapomodule/uikit';
|
|
4
4
|
import { MapoFormOptions } from '@mapomodule/form';
|
|
5
|
+
import { MapoI18nOptions } from '@mapomodule/i18n';
|
|
5
6
|
|
|
6
7
|
interface MapoModuleOptions extends MapoOptions {
|
|
7
8
|
/** Options forwarded to @mapomodule/uikit (CSS override, Nuxt UI defaults). */
|
|
8
9
|
uikit?: MapoUikitOptions;
|
|
9
10
|
/** Options forwarded to @mapomodule/form (field registry, groups, debounce). */
|
|
10
11
|
form?: MapoFormOptions;
|
|
12
|
+
/** Options forwarded to @mapomodule/i18n (default locale, extra locales). */
|
|
13
|
+
i18n?: MapoI18nOptions;
|
|
11
14
|
}
|
|
12
15
|
declare const _default: NuxtModule<MapoModuleOptions, MapoModuleOptions, false>;
|
|
13
16
|
|
package/dist/module.d.ts
CHANGED
|
@@ -2,12 +2,15 @@ import { NuxtModule } from '@nuxt/schema';
|
|
|
2
2
|
import { MapoOptions } from '@mapomodule/core';
|
|
3
3
|
import { MapoUikitOptions } from '@mapomodule/uikit';
|
|
4
4
|
import { MapoFormOptions } from '@mapomodule/form';
|
|
5
|
+
import { MapoI18nOptions } from '@mapomodule/i18n';
|
|
5
6
|
|
|
6
7
|
interface MapoModuleOptions extends MapoOptions {
|
|
7
8
|
/** Options forwarded to @mapomodule/uikit (CSS override, Nuxt UI defaults). */
|
|
8
9
|
uikit?: MapoUikitOptions;
|
|
9
10
|
/** Options forwarded to @mapomodule/form (field registry, groups, debounce). */
|
|
10
11
|
form?: MapoFormOptions;
|
|
12
|
+
/** Options forwarded to @mapomodule/i18n (default locale, extra locales). */
|
|
13
|
+
i18n?: MapoI18nOptions;
|
|
11
14
|
}
|
|
12
15
|
declare const _default: NuxtModule<MapoModuleOptions, MapoModuleOptions, false>;
|
|
13
16
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -10,7 +10,13 @@ const module$1 = defineNuxtModule({
|
|
|
10
10
|
if (!hasNuxtModule("@mapomodule/store")) {
|
|
11
11
|
await installModule(await resolver.resolvePath("@mapomodule/store"));
|
|
12
12
|
}
|
|
13
|
-
const { uikit, form, ...coreOptions } = options;
|
|
13
|
+
const { uikit, form, i18n, ...coreOptions } = options;
|
|
14
|
+
if (!hasNuxtModule("@mapomodule/i18n")) {
|
|
15
|
+
await installModule(
|
|
16
|
+
await resolver.resolvePath("@mapomodule/i18n"),
|
|
17
|
+
i18n ?? {}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
14
20
|
if (!hasNuxtModule("@mapomodule/core")) {
|
|
15
21
|
await installModule(
|
|
16
22
|
await resolver.resolvePath("@mapomodule/core"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mapomodule",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.9",
|
|
4
4
|
"description": "Mapo meta-package: registers and re-exports all @mapomodule/* modules",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,18 +44,19 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@iconify-json/lucide": "^1.2.0",
|
|
47
|
-
"@mapomodule/core": "2.0.0-beta.
|
|
48
|
-
"@mapomodule/form": "2.0.0-beta.
|
|
47
|
+
"@mapomodule/core": "2.0.0-beta.6",
|
|
48
|
+
"@mapomodule/form": "2.0.0-beta.6",
|
|
49
|
+
"@mapomodule/i18n": "workspace:*",
|
|
49
50
|
"@mapomodule/store": "2.0.0-beta.4",
|
|
50
|
-
"@mapomodule/uikit": "2.0.0-beta.
|
|
51
|
-
"@mapomodule/utils": "2.0.0-beta.
|
|
51
|
+
"@mapomodule/uikit": "2.0.0-beta.8",
|
|
52
|
+
"@mapomodule/utils": "2.0.0-beta.3",
|
|
52
53
|
"@nuxt/ui": "^4.7.0"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@nuxt/kit": "4.4.2",
|
|
56
57
|
"@nuxt/module-builder": "^1.0.2",
|
|
57
58
|
"@nuxt/schema": "4.4.2",
|
|
58
|
-
"nuxt": "^4.
|
|
59
|
-
"vue": "^3.5.
|
|
59
|
+
"nuxt": "^4.5.1",
|
|
60
|
+
"vue": "^3.5.40"
|
|
60
61
|
}
|
|
61
62
|
}
|