Skip to content

Commit

Permalink
Update auth guide (#523)
Browse files Browse the repository at this point in the history
* fix hook filename in docs

* fix houdini client import

* changeset

* bump vite version

* update kit apis

* error is possibly null
  • Loading branch information
AlecAivazis authored Sep 8, 2022
1 parent 19b90d5 commit 2c5174c
Show file tree
Hide file tree
Showing 11 changed files with 438 additions and 237 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-mangos-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'houdini': patch
---

fix import order so HoudiniClient is always available"
4 changes: 2 additions & 2 deletions integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@playwright/test": "1.25.0",
"@replayio/playwright": "0.2.23",
"@sveltejs/adapter-auto": "1.0.0-next.66",
"@sveltejs/kit": "1.0.0-next.445",
"@sveltejs/kit": "1.0.0-next.477",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"concurrently": "7.1.0",
Expand All @@ -37,7 +37,7 @@
"svelte-preprocess": "^4.10.1",
"tslib": "^2.3.1",
"typescript": "~4.6.2",
"vite": "3.0.8"
"vite": "^3.1.0"
},
"dependencies": {
"@graphql-yoga/node": "^2.8.0",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion integration/src/routes/+error.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
import { page } from '$app/stores';
</script>

<h1>{$page.status}: {$page.error.message}</h1>
<h1>{$page.status}: {$page.error?.message}</h1>
24 changes: 0 additions & 24 deletions integration/src/routes/stores/endpoint-mutation/+page.server.ts

This file was deleted.

17 changes: 0 additions & 17 deletions integration/src/routes/stores/endpoint-mutation/+page.svelte

This file was deleted.

20 changes: 0 additions & 20 deletions integration/src/routes/stores/endpoint-mutation/spec.ts

This file was deleted.

6 changes: 3 additions & 3 deletions integration/src/routes/stores/prefetch-[userId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

<h1>Prefetch - [userId: {$page.params.userId}]</h1>

<a sveltekit:prefetch id="previous" href="/stores/prefetch-1">Previous</a>
<a sveltekit:prefetch id="current" href="/stores/prefetch-2">Current (n° 2)</a>
<a sveltekit:prefetch id="next" href="/stores/prefetch-3">Next</a>
<a data-sveltekit-prefetch id="previous" href="/stores/prefetch-1">Previous</a>
<a data-sveltekit-prefetch id="current" href="/stores/prefetch-2">Current (n° 2)</a>
<a data-sveltekit-prefetch id="next" href="/stores/prefetch-3">Next</a>

<div id="result">
<pre>
Expand Down
Loading

1 comment on commit 2c5174c

@vercel
Copy link

@vercel vercel bot commented on 2c5174c Sep 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.