Skip to content

Commit

Permalink
fix all versions to working version
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinicke committed Jan 6, 2025
1 parent 41217c4 commit 9ec4e6d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 32 deletions.
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,34 @@
"check": "svelte-check"
},
"devDependencies": {
"@iconify/svelte": "^3.1.4",
"@mapbox/mapbox-gl-geocoder": "^5.0.1",
"@playwright/test": "^1.38.1",
"@rollup/plugin-yaml": "^4.1.1",
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.25.1",
"@sveltejs/vite-plugin-svelte": "^2.4.6",
"@types/events": "^3.0.1",
"@types/mapbox-gl": "^2.7.15",
"@types/mapbox__mapbox-gl-geocoder": "^4.7.5",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.50.0",
"eslint-plugin-svelte": "^2.33.2",
"js-yaml": "^4.1.0",
"mapbox-gl": "^2.15.0",
"marked": "^9.0.3",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3",
"svelte": "^4.2.1",
"svelte-check": "^3.5.2",
"svelte-multiselect": "^10.2.0",
"svelte-preprocess": "^5.0.4",
"svelte-range-slider-pips": "^2.2.3",
"svelte-toc": "^0.5.6",
"svelte-zoo": "^0.4.9",
"svelte2tsx": "^0.6.22",
"typescript": "^5.2.2",
"vite": "^4.4.9"
"@iconify/svelte": "3.1.4",
"@mapbox/mapbox-gl-geocoder": "5.0.1",
"@playwright/test": "1.38.1",
"@rollup/plugin-yaml": "4.1.1",
"@sveltejs/adapter-static": "2.0.3",
"@sveltejs/kit": "1.25.1",
"@sveltejs/vite-plugin-svelte": "2.4.6",
"@types/events": "3.0.1",
"@types/mapbox-gl": "2.7.15",
"@types/mapbox__mapbox-gl-geocoder": "4.7.5",
"@typescript-eslint/eslint-plugin": "6.7.4",
"@typescript-eslint/parser": "6.7.4",
"eslint": "8.50.0",
"eslint-plugin-svelte": "2.33.2",
"js-yaml": "4.1.0",
"mapbox-gl": "2.15.0",
"marked": "9.0.3",
"prettier": "3.0.3",
"prettier-plugin-svelte": "3.0.3",
"svelte": "4.2.1",
"svelte-check": "3.5.2",
"svelte-multiselect": "10.2.0",
"svelte-preprocess": "5.0.4",
"svelte-range-slider-pips": "2.2.3",
"svelte-toc": "0.5.6",
"svelte-zoo": "0.4.9",
"svelte2tsx": "0.6.22",
"typescript": "5.2.2",
"vite": "4.4.9"
}
}
7 changes: 5 additions & 2 deletions src/routes/+page.server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { fetch_chapters, fetch_page } from '$lib/fetch'

export const load = async () => {
const page = await fetch_page(`/`)
const chapters = await fetch_chapters()

return {
page: fetch_page(`/`),
chapters: fetch_chapters(),
page,
chapters,
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// Svelte Preprocess cannot figure out whether you have a value or a type, so tell TypeScript
// to enforce using `import type` instead of `import` for Types.
"verbatimModuleSyntax": true,
"importsNotUsedAsValues": "error",

// To have warnings/errors of the Svelte compiler at the correct position,
// enable source maps by default.
Expand Down

0 comments on commit 9ec4e6d

Please sign in to comment.