create-vike 0.0.325 → 0.0.326

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.
@@ -21,7 +21,7 @@
21
21
  "react": "^18.2.0",
22
22
  "react-dom": "^18.2.0",
23
23
  "sirv": "^2.0.3",
24
- "vike": "^0.4.160",
24
+ "vike": "^0.4.161",
25
25
  "vite": "^5.0.10"
26
26
  },
27
27
  "type": "module"
@@ -14,7 +14,7 @@ function onRenderHtml(pageContext) {
14
14
  // onRenderHtml() to support SPA
15
15
  if (!Page) throw new Error('My onRenderHtml() hook expects pageContext.Page to be defined')
16
16
 
17
- // Alternativly, we can use an HTML stream, see https://vike.dev/stream
17
+ // Alternativly, we can use an HTML stream, see https://vike.dev/streaming
18
18
  const pageHtml = ReactDOMServer.renderToString(
19
19
  <PageShell pageContext={pageContext}>
20
20
  <Page />
@@ -66,7 +66,7 @@ async function startServer() {
66
66
  if (res.writeEarlyHints) res.writeEarlyHints({ link: earlyHints.map((e) => e.earlyHintLink) })
67
67
  headers.forEach(([name, value]) => res.setHeader(name, value))
68
68
  res.status(statusCode)
69
- // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/stream
69
+ // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/streaming
70
70
  res.send(body)
71
71
  }
72
72
  })
@@ -30,7 +30,7 @@
30
30
  "sirv": "^2.0.3",
31
31
  "ts-node": "^10.9.1",
32
32
  "typescript": "^5.3.3",
33
- "vike": "^0.4.160",
33
+ "vike": "^0.4.161",
34
34
  "vite": "^5.0.10"
35
35
  },
36
36
  "type": "module"
@@ -15,7 +15,7 @@ const onRenderHtml: OnRenderHtmlAsync = async (pageContext): ReturnType<OnRender
15
15
  // onRenderHtml() to support SPA
16
16
  if (!Page) throw new Error('My onRenderHtml() hook expects pageContext.Page to be defined')
17
17
 
18
- // Alternativly, we can use an HTML stream, see https://vike.dev/stream
18
+ // Alternativly, we can use an HTML stream, see https://vike.dev/streaming
19
19
  const pageHtml = ReactDOMServer.renderToString(
20
20
  <PageShell pageContext={pageContext}>
21
21
  <Page />
@@ -66,7 +66,7 @@ async function startServer() {
66
66
  if (res.writeEarlyHints) res.writeEarlyHints({ link: earlyHints.map((e) => e.earlyHintLink) })
67
67
  headers.forEach(([name, value]) => res.setHeader(name, value))
68
68
  res.status(statusCode)
69
- // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/stream
69
+ // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/streaming
70
70
  res.send(body)
71
71
  }
72
72
  })
@@ -15,7 +15,7 @@
15
15
  "express": "^4.18.2",
16
16
  "node-fetch": "^3.3.2",
17
17
  "sirv": "^2.0.3",
18
- "vike": "^0.4.160",
18
+ "vike": "^0.4.161",
19
19
  "vite": "^5.0.10",
20
20
  "vue": "^3.3.10"
21
21
  },
@@ -66,7 +66,7 @@ async function startServer() {
66
66
  if (res.writeEarlyHints) res.writeEarlyHints({ link: earlyHints.map((e) => e.earlyHintLink) })
67
67
  headers.forEach(([name, value]) => res.setHeader(name, value))
68
68
  res.status(statusCode)
69
- // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/stream
69
+ // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/streaming
70
70
  res.send(body)
71
71
  }
72
72
  })
@@ -21,7 +21,7 @@
21
21
  "sirv": "^2.0.3",
22
22
  "ts-node": "^10.9.1",
23
23
  "typescript": "^5.3.3",
24
- "vike": "^0.4.160",
24
+ "vike": "^0.4.161",
25
25
  "vite": "^5.0.10",
26
26
  "vue": "^3.3.10"
27
27
  },
@@ -66,7 +66,7 @@ async function startServer() {
66
66
  if (res.writeEarlyHints) res.writeEarlyHints({ link: earlyHints.map((e) => e.earlyHintLink) })
67
67
  headers.forEach(([name, value]) => res.setHeader(name, value))
68
68
  res.status(statusCode)
69
- // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/stream
69
+ // For HTTP streams use httpResponse.pipe() instead, see https://vike.dev/streaming
70
70
  res.send(body)
71
71
  }
72
72
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vike",
3
- "version": "0.0.325",
3
+ "version": "0.0.326",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "create-vike": "index.js"