Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Complete the SvelteKit migration #16

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@sveltejs/adapter-static": "1.0.0-next.41",
"@sveltejs/kit": "1.0.0-next.461",
"@sveltejs/kit": "^1.0.0-next.504",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"eslint": "^8.23.0",
Expand All @@ -20,12 +20,12 @@
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.7.0",
"sass": "^1.54.4",
"svelte": "3.49.0",
"svelte": "^3.50.1",
"svelte-check": "^2.9.0",
"svelte-preprocess": "^4.10.7",
"tslib": "^2.4.0",
"typescript": "4.8.2",
"vite": "3.0.9"
"vite": "^3.1.4"
},
"homepage": "https://bookit.leveluptutorials.com",
"license": "ISC",
Expand All @@ -40,7 +40,6 @@
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
"package": "svelte-kit package",
"package:watch": "watch 'pnpm package' src",
"prepare": "svelte-kit sync",
"preview": "vite preview"
},
"type": "module",
Expand Down
File renamed without changes.
5 changes: 0 additions & 5 deletions src/routes/+layout-root.svelte

This file was deleted.

6 changes: 6 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<script lang="ts">
import '../demo/base.css';
export const prerender = true;
</script>

<slot />
3 changes: 0 additions & 3 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ const config = {
preprocess: preprocess(),

kit: {
prerender: {
default: true
},
adapter: adapter()
}
};
Expand Down