chore: upgrade sveltekit

This commit is contained in:
Arman
2023-01-11 16:31:37 +01:00
parent aea8c5f2bb
commit d5e246feeb
8 changed files with 2765 additions and 7766 deletions
+2752 -7747
View File
File diff suppressed because it is too large Load Diff
+7 -7
View File
@@ -35,9 +35,9 @@
},
"devDependencies": {
"@playwright/test": "^1.27.1",
"@sveltejs/adapter-static": "1.0.0-next.46",
"@sveltejs/kit": "1.0.0-next.525",
"@sveltejs/vite-plugin-svelte": "^1.1.0",
"@sveltejs/adapter-static": "1.0.1",
"@sveltejs/kit": "1.0.11",
"@sveltejs/vite-plugin-svelte": "^2.0.2",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.2",
@@ -53,13 +53,13 @@
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.8.0",
"sass": "^1.55.0",
"svelte": "^3.52.0",
"svelte-check": "^2.9.2",
"svelte": "^3.55.1",
"svelte-check": "^3.0.2",
"svelte-jester": "^2.3.2",
"svelte-preprocess": "^4.10.7",
"svelte-preprocess": "^5.0.0",
"tslib": "^2.4.0",
"typescript": "^4.8.4",
"vite": "^3.2.1",
"vite": "^4.0.4",
"vitest": "^0.24.3"
},
"type": "module",
+1 -1
View File
@@ -18,7 +18,7 @@ export function trackEvent(name: string, data: object = null): void {
if (!isTrackingAllowed()) {
return;
}
const path = get(page).routeId;
const path = get(page).route.id;
analytics.track(name, { ...data, path });
sendEventToGrowth(name, path, data);
}
+1 -1
View File
@@ -46,7 +46,7 @@
url.search = value;
goto(url, { keepfocus: true });
goto(url, { keepFocus: true });
}, debounce);
};
</script>
+1 -7
View File
@@ -2,12 +2,6 @@
import { clickOnEnter } from '$lib/helpers/a11y';
</script>
<!-- svelte-ignore a11y-unknown-role -->
<tr
class="table-row"
role="row button"
tabindex="0"
on:keyup={clickOnEnter}
on:click|preventDefault>
<tr class="table-row" tabindex="0" on:keyup={clickOnEnter} on:click|preventDefault>
<slot />
</tr>
+1 -1
View File
@@ -37,7 +37,7 @@ export function createPersistentPagination(limit: number) {
}
goto(target, {
noscroll: true
noScroll: true
});
};
+1 -2
View File
@@ -53,7 +53,6 @@
!$page.url.pathname.startsWith('/console') &&
!$page.url.pathname.startsWith('/invite')
) {
console.log('test');
await goto(`${base}/console`, {
replaceState: true
});
@@ -73,7 +72,7 @@
});
afterNavigate((navigation) => {
trackPageView(navigation.to.routeId);
trackPageView(navigation.to.route.id);
});
$: {
+1
View File
@@ -13,6 +13,7 @@ const config = {
adapter: adapter({
fallback: 'index.html'
}),
prerender: { entries: [] },
paths: {
base: ''
}