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 2409267 commit 803fa06
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 32 deletions.
2 changes: 1 addition & 1 deletion examples/apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.3.3",
"vike": "^0.4.191",
"vike": "^0.4.197",
"vike-react": "^0.5.7",
"vike-react-apollo": "^0.1.1",
"@apollo/client": "^3.10.8",
Expand Down
6 changes: 3 additions & 3 deletions examples/full/.testRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,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 @@ -13,7 +13,7 @@
"react-dom": "^18.3.1",
"react-streaming": "^0.3.43",
"typescript": "^5.5.4",
"vike": "^0.4.191",
"vike": "^0.4.197",
"vike-react": "^0.5.7",
"vite": "^5.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@vitejs/plugin-react": "^4.2.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vike": "^0.4.191",
"vike": "^0.4.197",
"vike-react": "^0.5.7",
"vite": "^5.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.3",
"vike": "^0.4.191",
"vike": "^0.4.197",
"vike-react": "^0.5.7",
"vike-react-query": "^0.1.1",
"@tanstack/react-query": "^5.20.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-react-apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"react-streaming": "^0.3.43",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"vike": "^0.4.191",
"vike": "^0.4.197",
"vike-react": "^0.5.7",
"vite": "^5.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-streaming": "^0.3.43",
"rimraf": "^5.0.5",
"typescript": "^5.5.3",
"vike": "^0.4.191",
"vike": "^0.4.197",
"vike-react": "^0.5.7",
"vite": "^5.4.0",
"vitest": "^1.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"react-streaming": "^0.3.43",
"rimraf": "^5.0.5",
"typescript": "^5.5.4",
"vike": "^0.4.191",
"vike": "^0.4.197",
"vite": "^5.4.0"
},
"typesVersions": {
Expand Down
49 changes: 27 additions & 22 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 803fa06

Please sign in to comment.