@mevbg/nuxt-kit 0.1.1 → 0.1.2

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": "@mevbg/nuxt-kit",
3
3
  "configKey": "mevKit",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
package/dist/module.mjs CHANGED
@@ -14,16 +14,13 @@ const module = defineNuxtModule({
14
14
  systemScheme: true
15
15
  }
16
16
  },
17
- async setup(options, nuxt) {
18
- nuxt.options.runtimeConfig.public.mevKit = {
19
- colorScheme: {
20
- default: options.colorScheme?.default ?? DEFAULT_COLOR_SCHEME,
21
- systemScheme: options.colorScheme?.systemScheme ?? true
22
- }
23
- };
17
+ async setup(options) {
24
18
  const resolver = createResolver(import.meta.url);
25
19
  addPlugin(resolver.resolve("./runtime/plugins/wm.plugin"));
26
- await installModule("@mevbg/nuxt-color-scheme");
20
+ await installModule("@mevbg/nuxt-color-scheme", {
21
+ default: options.colorScheme?.default ?? DEFAULT_COLOR_SCHEME,
22
+ systemScheme: options.colorScheme?.systemScheme ?? true
23
+ });
27
24
  }
28
25
  });
29
26
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mevbg/nuxt-kit",
3
3
  "title": "Mev’s Nuxt Kit",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "description": "Mev’s personal Nuxt kit module.",
6
6
  "keywords": [
7
7
  "nuxt kit",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@mevbg/design-essentials-vendor": "^2.0.4",
64
- "@mevbg/nuxt-color-scheme": "^1.0.1",
64
+ "@mevbg/nuxt-color-scheme": "^1.0.2",
65
65
  "@nuxt/kit": "^4.0.3"
66
66
  },
67
67
  "devDependencies": {