Skip to content

Commit

Permalink
Fix sherif, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Jul 16, 2024
1 parent c0bc55c commit c8713d6
Show file tree
Hide file tree
Showing 16 changed files with 587 additions and 769 deletions.
6 changes: 3 additions & 3 deletions examples/svelte/auto-refetching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"@tanstack/svelte-query-devtools": "^5.51.1"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"typescript": "5.3.3",
"vite": "^5.3.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/basic/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { QueryClientProvider, QueryClient } from '@tanstack/svelte-query'
import { SvelteQueryDevtools } from '@tanstack/svelte-query-devtools'
const { children } = $props();
const { children } = $props()
const queryClient = new QueryClient({
defaultOptions: {
Expand Down
6 changes: 3 additions & 3 deletions examples/svelte/load-more-infinite-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"@tanstack/svelte-query-devtools": "^5.51.1"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"typescript": "5.3.3",
"vite": "^5.3.3"
}
Expand Down
6 changes: 3 additions & 3 deletions examples/svelte/optimistic-updates-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"@tanstack/svelte-query-devtools": "^5.51.1"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"typescript": "5.3.3",
"vite": "^5.3.3"
}
Expand Down
6 changes: 3 additions & 3 deletions examples/svelte/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"@tanstack/svelte-query-devtools": "^5.51.1"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"typescript": "5.3.3",
"vite": "^5.3.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"@tsconfig/svelte": "^5.0.4",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"typescript": "5.3.3",
"vite": "^5.3.3"
}
Expand Down
18 changes: 9 additions & 9 deletions examples/svelte/simple/src/lib/Simple.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
<h1>Simple</h1>
<div class="my-4">
<div>
{#if $query.isPending}
{#if query.isPending}
Loading...
{/if}
{#if $query.error}
{#if query.error}
An error has occurred:
{$query.error.message}
{query.error.message}
{/if}
{#if $query.isSuccess}
{#if query.isSuccess}
<div>
<h1>{$query.data.name}</h1>
<p>{$query.data.description}</p>
<strong>👀 {$query.data.subscribers_count}</strong>{' '}
<strong>✨ {$query.data.stargazers_count}</strong>{' '}
<strong>🍴 {$query.data.forks_count}</strong>
<h1>{query.data.name}</h1>
<p>{query.data.description}</p>
<strong>👀 {query.data.subscribers_count}</strong>{' '}
<strong>✨ {query.data.stargazers_count}</strong>{' '}
<strong>🍴 {query.data.forks_count}</strong>
</div>
{/if}
</div>
Expand Down
6 changes: 3 additions & 3 deletions examples/svelte/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"@tanstack/svelte-query-devtools": "^5.51.1"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"typescript": "5.3.3",
"vite": "^5.3.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/ssr/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { QueryClientProvider } from '@tanstack/svelte-query'
import { SvelteQueryDevtools } from '@tanstack/svelte-query-devtools'
const { data, children } = $props();
const { data, children } = $props()
</script>

<QueryClientProvider client={data.queryClient}>
Expand Down
6 changes: 3 additions & 3 deletions examples/svelte/star-wars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"@tanstack/svelte-query-devtools": "^5.51.1"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.35",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"tailwindcss": "^3.4.3",
"typescript": "5.3.3",
"vite": "^5.3.3"
Expand Down
8 changes: 4 additions & 4 deletions examples/svelte/svelte-melt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"@tanstack/svelte-query-persist-client": "^5.51.1"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.3",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1",
"svelte-check": "^3.8.4",
"typescript": "5.3.3",
"vite": "^5.2.11"
"vite": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion integrations/svelte-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"@tanstack/svelte-query": "workspace:*",
"@tanstack/svelte-query-devtools": "workspace:*",
"svelte": "5.0.0-next.183",
"vite": "^5.2.11"
"vite": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/svelte-query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@tanstack/svelte-query": "workspace:*",
"eslint-plugin-svelte": "^2.40.0",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1"
"svelte-check": "^3.8.4"
},
"peerDependencies": {
"@tanstack/svelte-query": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-query-persist-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@testing-library/svelte": "^5.2.0",
"eslint-plugin-svelte": "^2.40.0",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1"
"svelte-check": "^3.8.4"
},
"peerDependencies": {
"@tanstack/svelte-query": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@testing-library/svelte": "^5.2.0",
"eslint-plugin-svelte": "^2.40.0",
"svelte": "5.0.0-next.183",
"svelte-check": "^3.7.1"
"svelte-check": "^3.8.4"
},
"peerDependencies": {
"svelte": "^5.0.0-next.105"
Expand Down
Loading

0 comments on commit c8713d6

Please sign in to comment.