vitrify 0.25.1 → 0.25.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/index.js +7 -1
- package/dist/types/vitrify-config.d.ts +1 -1
- package/package.json +19 -19
- package/src/node/index.ts +7 -1
- package/src/node/vitrify-config.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -612,7 +612,13 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
612
612
|
},
|
|
613
613
|
plugins,
|
|
614
614
|
optimizeDeps: {
|
|
615
|
-
exclude: [
|
|
615
|
+
exclude: [
|
|
616
|
+
'vue',
|
|
617
|
+
'vue-router',
|
|
618
|
+
'virtual:pwa-register/vue',
|
|
619
|
+
...serverModules,
|
|
620
|
+
...builtinModules
|
|
621
|
+
]
|
|
616
622
|
},
|
|
617
623
|
resolve: {
|
|
618
624
|
dedupe: ['vue', 'vue-router'],
|
|
@@ -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.2",
|
|
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
|
@@ -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'],
|
|
@@ -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
|