Skip to content

Commit

Permalink
update vike
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 25, 2024
1 parent f1e8ba6 commit 47a5b80
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 28 deletions.
6 changes: 3 additions & 3 deletions examples/full/.testRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ async function ensureWasClientSideRouted(pageIdFirst: `/pages/${string}`) {
}
function findFirstPageId(html: string) {
expect(html).toContain('<script id="vike_pageContext" type="application/json">')
expect(html).toContain('_pageId')
expect(html.split('_pageId').length).toBe(2)
const match = partRegex`"_pageId":"${/([^"]+)/}"`.exec(html)
expect(html).toContain('"pageId"')
expect(html.split('"pageId"').length).toBe(2)
const match = partRegex`"pageId":"${/([^"]+)/}"`.exec(html)
expect(match).toBeTruthy()
const pageId = match![1]
expect(pageId).toBeTruthy()
Expand Down
2 changes: 1 addition & 1 deletion examples/full/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"node-fetch": "^3.3.2",
"typescript": "^5.5.4",
"unplugin-vue-markdown": "^0.26.2",
"vike": "^0.4.195",
"vike": "^0.4.197",
"vike-vue": "^0.8.5",
"vite": "^5.4.0",
"vite-plugin-cjs-interop": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"dependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"vike": "^0.4.195",
"vike": "^0.4.197",
"vike-vue": "^0.8.5",
"vite": "^5.4.0",
"vue": "^3.4.36"
Expand Down
2 changes: 1 addition & 1 deletion examples/vue-pinia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"pinia": "^2.1.7",
"vike": "^0.4.195",
"vike": "^0.4.197",
"vike-vue-pinia": "^0.1.3",
"vike-vue": "^0.8.5",
"vite": "^5.4.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@tanstack/vue-query": "^5.0.0",
"node-fetch": "^3.3.2",
"typescript": "5.4.5",
"vike": "^0.4.195",
"vike": "^0.4.197",
"vike-vue-query": "^0.1.4",
"vike-vue": "^0.8.5",
"vite": "^5.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-vue-pinia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/node": "^22.1.0",
"pinia": "^2.1.7",
"typescript": "^5.4.5",
"vike": "^0.4.195",
"vike": "^0.4.197",
"vike-vue": "^0.8.5",
"vue": "^3.4.36",
"vue-tsc": "^2.0.13"
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-vue-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@tanstack/vue-query": "^5.29.0",
"@types/node": "^22.1.0",
"typescript": "^5.4.5",
"vike": "^0.4.195",
"vike": "^0.4.197",
"vike-vue": "^0.8.5",
"vue": "^3.4.36",
"vue-tsc": "^2.0.13"
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@types/node": "^22.1.0",
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.5.4",
"vike": "^0.4.195",
"vike": "^0.4.197",
"vite": "^5.4.0",
"vite-plugin-dts": "^3.8.3",
"vue": "^3.4.36",
Expand Down
41 changes: 23 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 47a5b80

Please sign in to comment.