@nuxtify/core 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.d.mts CHANGED
@@ -54,6 +54,10 @@ interface PoliciesOptions {
54
54
  termsUrl: string;
55
55
  }
56
56
  interface ModuleOptions {
57
+ /**
58
+ * Verbose logging
59
+ */
60
+ verboseLogs?: boolean;
57
61
  /**
58
62
  * Brand options
59
63
  */
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxtify/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "configKey": "nuxtifyCore",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.16.0",
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addComponentsDir, addI
2
2
  import { defu } from 'defu';
3
3
 
4
4
  const name = "@nuxtify/core";
5
- const version = "0.1.1";
5
+ const version = "0.1.2";
6
6
 
7
7
  const module = defineNuxtModule({
8
8
  meta: {
@@ -15,6 +15,8 @@ const module = defineNuxtModule({
15
15
  }
16
16
  },
17
17
  defaults: {
18
+ // Logs
19
+ verboseLogs: false,
18
20
  // Brand
19
21
  brand: {
20
22
  name: "@nuxtify/core",
@@ -57,6 +59,7 @@ const module = defineNuxtModule({
57
59
  },
58
60
  async setup(_options, _nuxt) {
59
61
  const resolver = createResolver(import.meta.url);
62
+ if (_options.verboseLogs) console.log("[nuxtify-core] Verbose logging enabled.");
60
63
  await installModule("vuetify-nuxt-module", {
61
64
  vuetifyOptions: {
62
65
  icons: {
@@ -1 +1,2 @@
1
- export declare const useNuxtifyConfig: () => unknown;
1
+ import type { ModuleOptions } from '../../types.js';
2
+ export declare const useNuxtifyConfig: () => ModuleOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxtify/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Nuxtify core module powered by Nuxt and Vuetify.",
5
5
  "homepage": "https://nuxtify.dev",
6
6
  "author": "Nuxtify.dev <hello@nuxtify.dev>",