vuetify-nuxt-module 0.11.0 → 0.12.0
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 +1 -1
- package/dist/module.mjs +8 -5
- package/package.json +9 -9
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import { parseQuery, parseURL } from 'ufo';
|
|
|
14
14
|
import destr from 'destr';
|
|
15
15
|
import { transformAssetUrls } from 'vite-plugin-vuetify';
|
|
16
16
|
|
|
17
|
-
const version = "0.
|
|
17
|
+
const version = "0.12.0";
|
|
18
18
|
|
|
19
19
|
const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
|
|
20
20
|
const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
|
|
@@ -1229,10 +1229,13 @@ function configureNuxt(configKey, nuxt, ctx) {
|
|
|
1229
1229
|
includeTransformAssetsUrls = true
|
|
1230
1230
|
} = ctx.moduleOptions;
|
|
1231
1231
|
const runtimeDir = ctx.resolver.resolve("./runtime");
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
}
|
|
1232
|
+
nuxt.options.build.transpile.push(configKey);
|
|
1233
|
+
nuxt.options.build.transpile.push(runtimeDir);
|
|
1234
|
+
nuxt.options.build.transpile.push(/\/vuetify-nuxt-plugin\.(client|server)\.mjs$/);
|
|
1235
|
+
nuxt.options.imports.transform ??= {};
|
|
1236
|
+
nuxt.options.imports.transform.include ??= [];
|
|
1237
|
+
for (const virtual of RESOLVED_VIRTUAL_MODULES)
|
|
1238
|
+
nuxt.options.imports.transform.include.push(new RegExp(`${virtual}$`));
|
|
1236
1239
|
nuxt.options.css ??= [];
|
|
1237
1240
|
if (typeof styles === "string" && ["sass", "expose"].includes(styles))
|
|
1238
1241
|
nuxt.options.css.unshift("vuetify/styles/main.sass");
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuetify-nuxt-module",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@8.15.
|
|
4
|
+
"version": "0.12.0",
|
|
5
|
+
"packageManager": "pnpm@8.15.4",
|
|
6
6
|
"description": "Zero-Config Nuxt Module for Vuetify",
|
|
7
7
|
"author": "userquin <userquin@gmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -106,6 +106,13 @@
|
|
|
106
106
|
"vitest": "^1.1.3",
|
|
107
107
|
"vue-tsc": "^1.8.27"
|
|
108
108
|
},
|
|
109
|
+
"pnpm": {
|
|
110
|
+
"peerDependencyRules": {
|
|
111
|
+
"ignoreMissing": [
|
|
112
|
+
"@algolia/client-search"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
109
116
|
"resolutions": {
|
|
110
117
|
"@nuxt/kit": "^3.10.2"
|
|
111
118
|
},
|
|
@@ -129,13 +136,6 @@
|
|
|
129
136
|
"vuetify"
|
|
130
137
|
]
|
|
131
138
|
},
|
|
132
|
-
"pnpm": {
|
|
133
|
-
"peerDependencyRules": {
|
|
134
|
-
"ignoreMissing": [
|
|
135
|
-
"@algolia/client-search"
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
139
|
"stackblitz": {
|
|
140
140
|
"installDependencies": false,
|
|
141
141
|
"startCommand": "node .stackblitz.js && pnpm install && nr prepack && nr dev:prepare && nr dev"
|