vitrify 0.25.1 → 0.25.3
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/index.js
CHANGED
|
@@ -513,10 +513,17 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
513
513
|
vuePkgAliases.push({
|
|
514
514
|
find: new RegExp('^vue$'),
|
|
515
515
|
replacement: fileURLToPath(new URL('./dist/vue.runtime.esm-bundler.js', packageUrls['vue']))
|
|
516
|
-
},
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
516
|
+
},
|
|
517
|
+
// {
|
|
518
|
+
// find: new RegExp('^vue-router$'),
|
|
519
|
+
// replacement: fileURLToPath(
|
|
520
|
+
// new URL(
|
|
521
|
+
// './dist/vue-router.esm-bundler.js',
|
|
522
|
+
// packageUrls['vue-router']
|
|
523
|
+
// )
|
|
524
|
+
// )
|
|
525
|
+
// },
|
|
526
|
+
...vuePkgAliases);
|
|
520
527
|
}
|
|
521
528
|
}
|
|
522
529
|
const alias = [
|
|
@@ -612,7 +619,13 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
612
619
|
},
|
|
613
620
|
plugins,
|
|
614
621
|
optimizeDeps: {
|
|
615
|
-
exclude: [
|
|
622
|
+
exclude: [
|
|
623
|
+
'vue',
|
|
624
|
+
'vue-router',
|
|
625
|
+
'virtual:pwa-register/vue',
|
|
626
|
+
...serverModules,
|
|
627
|
+
...builtinModules
|
|
628
|
+
]
|
|
616
629
|
},
|
|
617
630
|
resolve: {
|
|
618
631
|
dedupe: ['vue', 'vue-router'],
|
|
@@ -83,7 +83,10 @@ export const QuasarPlugin = async ({ ssr = false, pwa = false, options }) => {
|
|
|
83
83
|
const { default: iconMapFn } = await import(
|
|
84
84
|
// @ts-expect-error undefined
|
|
85
85
|
'virtual:quasar-iconMapFn');
|
|
86
|
-
|
|
86
|
+
const { installQuasar } = await import(
|
|
87
|
+
// @ts-expect-error undefined
|
|
88
|
+
'virtual:quasar');
|
|
89
|
+
app.use(installQuasar, {
|
|
87
90
|
plugins: quasarPlugins,
|
|
88
91
|
directives,
|
|
89
92
|
lang,
|
|
@@ -114,7 +117,7 @@ export const QuasarPlugin = async ({ ssr = false, pwa = false, options }) => {
|
|
|
114
117
|
urls,
|
|
115
118
|
globalCss,
|
|
116
119
|
staticImports: {
|
|
117
|
-
|
|
120
|
+
// quasar: ['Quasar']
|
|
118
121
|
},
|
|
119
122
|
hooks: {
|
|
120
123
|
onAppCreated: onAppCreatedHooks,
|
|
@@ -209,7 +212,7 @@ export const QuasarPlugin = async ({ ssr = false, pwa = false, options }) => {
|
|
|
209
212
|
export * from 'quasar/src/directives.js';
|
|
210
213
|
export * from 'quasar/src/utils.js';
|
|
211
214
|
export * from 'quasar/src/composables.js';
|
|
212
|
-
export { default as
|
|
215
|
+
export { default as installQuasar } from 'quasar/src/install-quasar.js'`;
|
|
213
216
|
}
|
|
214
217
|
return null;
|
|
215
218
|
}
|
|
@@ -8,7 +8,7 @@ import type { VitrifyPlugin } from './plugins/index.js';
|
|
|
8
8
|
import type { Router } from 'vue-router';
|
|
9
9
|
import type { App } from '@vue/runtime-core';
|
|
10
10
|
import type { Pinia } from 'pinia';
|
|
11
|
-
import type { _UseQueryEntryNodeValueSerialized } from '@pinia/colada
|
|
11
|
+
import type { _UseQueryEntryNodeValueSerialized } from '@pinia/colada';
|
|
12
12
|
export type SSRContext = {
|
|
13
13
|
req: FastifyRequest | {
|
|
14
14
|
headers: Record<string, unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitrify",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Stefan van Herwijnen",
|
|
6
6
|
"description": "Vite as your Full Stack development tool",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=24.0.0"
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
@@ -55,18 +55,18 @@
|
|
|
55
55
|
"@fastify/middie": "^9.0.3",
|
|
56
56
|
"@fastify/one-line-logger": "^2.0.2",
|
|
57
57
|
"@fastify/static": "^8.2.0",
|
|
58
|
-
"@unocss/core": "^66.
|
|
59
|
-
"@unocss/preset-uno": "^66.
|
|
60
|
-
"@unocss/preset-web-fonts": "66.
|
|
61
|
-
"@unocss/preset-wind": "^66.
|
|
62
|
-
"@vitejs/plugin-vue": "^
|
|
58
|
+
"@unocss/core": "^66.3.3",
|
|
59
|
+
"@unocss/preset-uno": "^66.3.3",
|
|
60
|
+
"@unocss/preset-web-fonts": "66.3.3",
|
|
61
|
+
"@unocss/preset-wind": "^66.3.3",
|
|
62
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
63
63
|
"ajv": "^8.17.1",
|
|
64
64
|
"animated-unocss": "^0.0.6",
|
|
65
65
|
"cac": "^6.7.14",
|
|
66
66
|
"chalk": "^5.4.1",
|
|
67
67
|
"cross-env": "^7.0.3",
|
|
68
68
|
"devalue": "^5.1.1",
|
|
69
|
-
"esbuild": "^0.25.
|
|
69
|
+
"esbuild": "^0.25.6",
|
|
70
70
|
"fastify": "^5.4.0",
|
|
71
71
|
"glob": "^11.0.3",
|
|
72
72
|
"happy-dom": "^18.0.1",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"sass": "1.89.2",
|
|
79
79
|
"stringify-object": "^5.0.0",
|
|
80
80
|
"ts-node": "^10.9.2",
|
|
81
|
-
"unocss": "^66.
|
|
82
|
-
"unplugin-vue-components": "^28.
|
|
83
|
-
"vite": "^
|
|
84
|
-
"vite-plugin-pwa": "^1.0.
|
|
85
|
-
"vitefu": "^1.
|
|
81
|
+
"unocss": "^66.3.3",
|
|
82
|
+
"unplugin-vue-components": "^28.8.0",
|
|
83
|
+
"vite": "^7.0.2",
|
|
84
|
+
"vite-plugin-pwa": "^1.0.1",
|
|
85
|
+
"vitefu": "^1.1.1",
|
|
86
86
|
"vitest": "^3.2.4",
|
|
87
87
|
"workbox-window": "^7.3.0"
|
|
88
88
|
},
|
|
@@ -95,19 +95,19 @@
|
|
|
95
95
|
"@types/connect": "^3.4.38",
|
|
96
96
|
"@types/glob": "^8.1.0",
|
|
97
97
|
"@types/merge-deep": "^3.0.3",
|
|
98
|
-
"@types/node": "^24.0.
|
|
98
|
+
"@types/node": "^24.0.10",
|
|
99
99
|
"@types/stringify-object": "^4.0.5",
|
|
100
100
|
"@types/ws": "^8.18.1",
|
|
101
|
-
"@unocss/preset-icons": "^66.
|
|
102
|
-
"@vue/runtime-core": "^3.5.
|
|
101
|
+
"@unocss/preset-icons": "^66.3.3",
|
|
102
|
+
"@vue/runtime-core": "^3.5.17",
|
|
103
103
|
"beasties": "^0.3.4",
|
|
104
104
|
"css": "^3.0.0",
|
|
105
105
|
"css-to-tailwind-translator": "^1.2.8",
|
|
106
106
|
"pinia": "^3.0.3",
|
|
107
107
|
"quasar": "^2.18.1",
|
|
108
|
-
"rollup": "^4.
|
|
108
|
+
"rollup": "^4.44.2",
|
|
109
109
|
"typescript": "^5.8.3",
|
|
110
|
-
"vue": "^3.5.
|
|
110
|
+
"vue": "^3.5.17",
|
|
111
111
|
"vue-router": "^4.5.1"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"fastify": "^5.4.0",
|
|
117
117
|
"pinia": "^3.0.3",
|
|
118
118
|
"quasar": "^2.18.1",
|
|
119
|
-
"vue": "^3.5.
|
|
119
|
+
"vue": "^3.5.17",
|
|
120
120
|
"vue-router": "^4.5.1"
|
|
121
121
|
},
|
|
122
122
|
"publishConfig": {
|
package/src/node/index.ts
CHANGED
|
@@ -642,15 +642,15 @@ export const baseConfig = async ({
|
|
|
642
642
|
new URL('./dist/vue.runtime.esm-bundler.js', packageUrls['vue'])
|
|
643
643
|
)
|
|
644
644
|
},
|
|
645
|
-
{
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
},
|
|
645
|
+
// {
|
|
646
|
+
// find: new RegExp('^vue-router$'),
|
|
647
|
+
// replacement: fileURLToPath(
|
|
648
|
+
// new URL(
|
|
649
|
+
// './dist/vue-router.esm-bundler.js',
|
|
650
|
+
// packageUrls['vue-router']
|
|
651
|
+
// )
|
|
652
|
+
// )
|
|
653
|
+
// },
|
|
654
654
|
...vuePkgAliases
|
|
655
655
|
)
|
|
656
656
|
}
|
|
@@ -752,7 +752,13 @@ export const baseConfig = async ({
|
|
|
752
752
|
},
|
|
753
753
|
plugins,
|
|
754
754
|
optimizeDeps: {
|
|
755
|
-
exclude: [
|
|
755
|
+
exclude: [
|
|
756
|
+
'vue',
|
|
757
|
+
'vue-router',
|
|
758
|
+
'virtual:pwa-register/vue',
|
|
759
|
+
...serverModules,
|
|
760
|
+
...builtinModules
|
|
761
|
+
]
|
|
756
762
|
},
|
|
757
763
|
resolve: {
|
|
758
764
|
dedupe: ['vue', 'vue-router'],
|
|
@@ -162,8 +162,13 @@ export const QuasarPlugin: VitrifyPlugin<QuasarPluginOptions> = async ({
|
|
|
162
162
|
'virtual:quasar-iconMapFn'
|
|
163
163
|
)
|
|
164
164
|
|
|
165
|
+
const { installQuasar } = await import(
|
|
166
|
+
// @ts-expect-error undefined
|
|
167
|
+
'virtual:quasar'
|
|
168
|
+
)
|
|
169
|
+
|
|
165
170
|
app.use(
|
|
166
|
-
|
|
171
|
+
installQuasar,
|
|
167
172
|
{
|
|
168
173
|
plugins: quasarPlugins,
|
|
169
174
|
directives,
|
|
@@ -199,7 +204,7 @@ export const QuasarPlugin: VitrifyPlugin<QuasarPluginOptions> = async ({
|
|
|
199
204
|
urls,
|
|
200
205
|
globalCss,
|
|
201
206
|
staticImports: {
|
|
202
|
-
quasar: ['Quasar']
|
|
207
|
+
// quasar: ['Quasar']
|
|
203
208
|
},
|
|
204
209
|
hooks: {
|
|
205
210
|
onAppCreated: onAppCreatedHooks,
|
|
@@ -301,7 +306,7 @@ export const QuasarPlugin: VitrifyPlugin<QuasarPluginOptions> = async ({
|
|
|
301
306
|
export * from 'quasar/src/directives.js';
|
|
302
307
|
export * from 'quasar/src/utils.js';
|
|
303
308
|
export * from 'quasar/src/composables.js';
|
|
304
|
-
export { default as
|
|
309
|
+
export { default as installQuasar } from 'quasar/src/install-quasar.js'`
|
|
305
310
|
}
|
|
306
311
|
return null
|
|
307
312
|
}
|
|
@@ -13,7 +13,7 @@ import type { VitrifyPlugin } from './plugins/index.js'
|
|
|
13
13
|
import type { Router } from 'vue-router'
|
|
14
14
|
import type { App } from '@vue/runtime-core'
|
|
15
15
|
import type { Pinia } from 'pinia'
|
|
16
|
-
import type { _UseQueryEntryNodeValueSerialized } from '@pinia/colada
|
|
16
|
+
import type { _UseQueryEntryNodeValueSerialized } from '@pinia/colada'
|
|
17
17
|
|
|
18
18
|
export type SSRContext = {
|
|
19
19
|
// Quasar requires req and res on SSRContext instead of request and reply
|