[chore] Update packages and config

This commit is contained in:
2023-01-14 12:35:45 +01:00
parent 6888f9afc5
commit 1143651549
6 changed files with 78 additions and 60 deletions

View File

@@ -27,10 +27,10 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^1.0.0",
"@sveltejs/adapter-cloudflare": "^1.0.0",
"@sveltejs/adapter-node": "^1.1.0",
"@sveltejs/adapter-vercel": "^1.0.1",
"@sveltejs/kit": "^1.0.11",
"@sveltejs/adapter-cloudflare": "^1.0.2",
"@sveltejs/adapter-node": "^1.1.1",
"@sveltejs/adapter-vercel": "^1.0.2",
"@sveltejs/kit": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"base-64": "^1.0.0",

View File

@@ -1,11 +1,13 @@
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
// and what to do when importing types
declare namespace App {
// interface Locals {}
// interface PageData {}
// interface Error {}
// interface Platform {}
declare global {
namespace App {
// interface Locals {}
// interface PageData {}
// interface Error {}
// interface Platform {}
}
}

View File

@@ -3,5 +3,13 @@
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"lib": ["WebWorker"],
},
}
// "allowJs": true,
// "checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
// "strict": true
}
}

View File

@@ -1,8 +1,8 @@
import type { UserConfig } from 'vite'
import { sveltekit } from '@sveltejs/kit/vite'
import { scssImports } from './svelte.config'
/** @type {import('vite').UserConfig} */
const config = {
const config: UserConfig = {
plugins: [
sveltekit()
],