vuetify-nuxt-module 0.7.0 → 0.7.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.
@@ -1,3 +1,3 @@
1
- import type { ExternalVuetifyOptions } from './dist/module'
1
+ import type { ExternalVuetifyOptions } from './dist/module.js'
2
2
  declare function defineVuetifyConfiguration(vuetifyOptions: ExternalVuetifyOptions): ExternalVuetifyOptions;
3
3
  export { defineVuetifyConfiguration };
package/dist/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.6.5",
6
6
  "bridge": false
7
7
  },
8
- "version": "0.7.0"
8
+ "version": "0.7.2"
9
9
  }
package/dist/module.mjs CHANGED
@@ -15,7 +15,7 @@ import { parseQuery, parseURL } from 'ufo';
15
15
  import destr from 'destr';
16
16
  import { transformAssetUrls } from 'vite-plugin-vuetify';
17
17
 
18
- const version = "0.7.0";
18
+ const version = "0.7.2";
19
19
 
20
20
  const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
21
21
  const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
@@ -1297,8 +1297,7 @@ function configureNuxt(configKey, nuxt, ctx) {
1297
1297
  references.push({ types: "vuetify" });
1298
1298
  references.push({ types: "vuetify-nuxt-module/custom-configuration" });
1299
1299
  references.push({ types: "vuetify-nuxt-module/configuration" });
1300
- const types = ctx.resolver.resolve(runtimeDir, "plugins/types");
1301
- references.push({ path: ctx.resolver.resolve(nuxt.options.buildDir, types) });
1300
+ references.push({ path: ctx.resolver.resolve(runtimeDir, "plugins/types") });
1302
1301
  });
1303
1302
  if (importComposables) {
1304
1303
  const composables = ["useDate", "useLocale", "useDefaults", "useDisplay", "useLayout", "useRtl", "useTheme"];
package/dist/types.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import type { ModuleOptions, ModuleHooks, RuntimeModuleHooks } from './module'
2
+ import type { ModuleOptions, ModuleHooks, RuntimeModuleHooks } from './module.js'
3
3
 
4
4
  declare module '#app' {
5
5
  interface RuntimeNuxtHooks extends RuntimeModuleHooks {}
@@ -18,4 +18,4 @@ declare module 'nuxt/schema' {
18
18
  }
19
19
 
20
20
 
21
- export type { ComponentName, Components, DateAdapter, DateOptions, DirectiveName, Directives, ExternalVuetifyOptions, FontAwesomeSvgIconSet, FontIconSet, IconFontName, IconSetName, IconsOptions, InlineModuleOptions, JSSVGIconSet, LabComponentName, LabComponents, MOptions, ModuleHooks, ModuleOptions, RuntimeModuleHooks, SSRClientHints, SSRClientHintsConfiguration, UnoCCSMdiIconSet, VOptions, VuetifyLocale, VuetifyModuleOptions, default } from './module'
21
+ export type { ComponentName, Components, DateAdapter, DateOptions, DirectiveName, Directives, ExternalVuetifyOptions, FontAwesomeSvgIconSet, FontIconSet, IconFontName, IconSetName, IconsOptions, InlineModuleOptions, JSSVGIconSet, LabComponentName, LabComponents, MOptions, ModuleHooks, ModuleOptions, RuntimeModuleHooks, SSRClientHints, SSRClientHintsConfiguration, UnoCCSMdiIconSet, VOptions, VuetifyLocale, VuetifyModuleOptions, default } from './module.js'
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "vuetify-nuxt-module",
3
3
  "type": "module",
4
- "version": "0.7.0",
5
- "packageManager": "pnpm@8.10.5",
4
+ "version": "0.7.2",
5
+ "packageManager": "pnpm@8.11.0",
6
6
  "description": "Zero-Config Nuxt Module for Vuetify",
7
7
  "author": "userquin <userquin@gmail.com>",
8
8
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "./*": "./*"
35
35
  },
36
- "main": "./dist/module.cjs",
36
+ "main": "./dist/module.mjs",
37
37
  "types": "./dist/types.d.ts",
38
38
  "files": [
39
39
  "dist",
@@ -42,11 +42,11 @@
42
42
  "*.mjs"
43
43
  ],
44
44
  "scripts": {
45
- "prepack": "nuxt-module-build prepare && nuxt-module-build build",
45
+ "prepack": "nuxt-module-build prepare && nuxt-module-build build && jiti scripts/postbuild.ts",
46
46
  "dev": "nuxi dev playground",
47
47
  "dev:multiple-json": "MULTIPLE_LANG_FILES=true nuxi dev playground",
48
- "dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground",
49
- "dev:prepare:multiple-json": "nuxt-module-build --stub && nuxt-module-build prepare && MULTIPLE_LANG_FILES=true nuxi prepare playground",
48
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
49
+ "dev:prepare:multiple-json": "nuxt-module-build build --stub && nuxt-module-build prepare && MULTIPLE_LANG_FILES=true nuxi prepare playground",
50
50
  "dev:build": "nuxi build playground",
51
51
  "dev:generate": "nuxi generate playground",
52
52
  "dev:build:multiple-json": "MULTIPLE_LANG_FILES=true nuxi build playground",
@@ -133,6 +133,6 @@
133
133
  },
134
134
  "stackblitz": {
135
135
  "installDependencies": false,
136
- "startCommand": "node .stackblitz.js && pnpm install && pnpm dev:prepare && pnpm run dev"
136
+ "startCommand": "node .stackblitz.js && pnpm install && nr prepack && nr dev:prepare && nr dev"
137
137
  }
138
138
  }