vitrify 0.5.5 → 0.5.6
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 +1 -1
- package/package.json +1 -2
- package/src/node/index.ts +1 -1
- package/src/vite/vue/ssr/entry-server.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -132,7 +132,7 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
132
132
|
console.log('No vitrify.config.(ts|js) file found, using defaults');
|
|
133
133
|
vitrifyConfig = {};
|
|
134
134
|
}
|
|
135
|
-
const localPackages = ['vue', 'vue-router'];
|
|
135
|
+
const localPackages = ['vue', 'vue-router', '@vue/server-renderer'];
|
|
136
136
|
const cliPackages = [];
|
|
137
137
|
const packageUrls = vitrifyConfig.vitrify?.urls?.packages || {};
|
|
138
138
|
await (async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitrify",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Stefan van Herwijnen",
|
|
6
6
|
"description": "Pre-configured Vite CLI for your framework",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"@fastify/static": "^6.4.0",
|
|
57
57
|
"@quasar/extras": "^1.14.0",
|
|
58
58
|
"@vitejs/plugin-vue": "^3.0.0-alpha.1",
|
|
59
|
-
"@vue/server-renderer": "^3.2.37",
|
|
60
59
|
"builtin-modules": "^3.3.0",
|
|
61
60
|
"cac": "^6.7.12",
|
|
62
61
|
"chalk": "^5.0.1",
|
package/src/node/index.ts
CHANGED
|
@@ -194,7 +194,7 @@ export const baseConfig = async ({
|
|
|
194
194
|
vitrifyConfig = {}
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
const localPackages = ['vue', 'vue-router']
|
|
197
|
+
const localPackages = ['vue', 'vue-router', '@vue/server-renderer']
|
|
198
198
|
const cliPackages = []
|
|
199
199
|
const packageUrls: Record<string, URL> =
|
|
200
200
|
vitrifyConfig.vitrify?.urls?.packages || {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createApp } from '../main.js'
|
|
2
|
-
import { renderToString } from 'vue/server-renderer'
|
|
2
|
+
import { renderToString } from '@vue/server-renderer'
|
|
3
3
|
import type { FastifyInstance } from 'fastify'
|
|
4
4
|
// import * as ApolloSSR from '@vue/apollo-ssr'
|
|
5
5
|
// import { ApolloClients } from '@vue/apollo-composable'
|