Skip to content

Commit

Permalink
feat: update sveltekit
Browse files Browse the repository at this point in the history
BREAKING CHANGE: requires update to sveltekit as of sveltejs/kit#6334
  • Loading branch information
Jakeii committed Oct 28, 2022
1 parent 25231fa commit f379258
Show file tree
Hide file tree
Showing 6 changed files with 287 additions and 710 deletions.
15 changes: 8 additions & 7 deletions package.json
Expand Up @@ -8,8 +8,7 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"package": "svelte-kit package",
"prepare": "svelte-kit sync",
"package": "svelte-package",
"preview": "vite preview",
"test": "playwright test",
"check": "svelte-check --tsconfig ./tsconfig.json",
Expand All @@ -20,9 +19,8 @@
"devDependencies": {
"@playwright/test": "^1.22.2",
"@semantic-release/changelog": "^6.0.1",
"@sveltejs/adapter-auto": "next",
"@sveltejs/adapter-static": "^1.0.0-next.39",
"@sveltejs/kit": "1.0.0-next.394",
"@sveltejs/adapter-static": "^1.0.0-next.46",
"@sveltejs/kit": "1.0.0-next.528",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"eslint": "^8.16.0",
Expand All @@ -38,8 +36,8 @@
"svelte-preprocess": "^4.10.6",
"svelte2tsx": "^0.5.10",
"tslib": "^2.3.1",
"typescript": "^4.7.4",
"vite": "^3.0.0"
"typescript": "^4.8.4",
"vite": "^3.2.1"
},
"type": "module",
"main": "./index.js",
Expand All @@ -59,5 +57,8 @@
],
"@semantic-release/github"
]
},
"dependencies": {
"@sveltejs/package": "^1.0.0-next.5"
}
}
2 changes: 1 addition & 1 deletion src/lib/Popdown.svelte
Expand Up @@ -2,7 +2,7 @@
import { createContentTransformStyleStore, type CalcPosition } from './stores/popdown';
import { portal } from 'svelte-portal';
import { type Writable, writable } from 'svelte/store';
import { browser } from '$app/env';
import { browser } from '$app/environment';
export let contentClass = '';
export let position = 'outer-bottom inner-left';
Expand Down
1 change: 1 addition & 0 deletions src/routes/+layout.ts
@@ -0,0 +1 @@
export const prerender = true;
File renamed without changes.
3 changes: 0 additions & 3 deletions svelte.config.js
Expand Up @@ -11,9 +11,6 @@ const config = {
paths: {
base: '/svelte-popdown',
},
prerender: {
default: true,
},
adapter: adapter(),
},
};
Expand Down

0 comments on commit f379258

Please sign in to comment.