chore: switch to adapter vercel and trust dependency postinstalls

This commit is contained in:
Youwen Wu 2024-04-04 12:34:38 -07:00
parent adce284d94
commit 9ce86f99a0
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 64 additions and 61 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -1,62 +1,65 @@
{ {
"name": "coredump", "name": "coredump",
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"test": "playwright test", "test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .", "lint": "prettier --check . && eslint .",
"format": "prettier --write ." "format": "prettier --write ."
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.28.1", "@faker-js/faker": "^8.4.1",
"@sveltejs/adapter-auto": "^3.0.0", "@playwright/test": "^1.28.1",
"@sveltejs/kit": "^2.0.0", "@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/eslint": "^8.56.0", "@types/eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0", "@typescript-eslint/parser": "^7.0.0",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1", "eslint-plugin-svelte": "^2.35.1",
"postcss": "^8.4.38", "postcss": "^8.4.38",
"prettier": "^3.1.1", "prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2", "prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.7", "svelte": "^4.2.7",
"svelte-check": "^3.6.0", "svelte-check": "^3.6.0",
"svelte-typewriter": "^3.2.3", "svelte-typewriter": "^3.2.3",
"tailwindcss": "^3.4.3", "tailwindcss": "^3.4.3",
"tslib": "^2.4.1", "tslib": "^2.4.1",
"typescript": "^5.0.0", "typescript": "^5.0.0",
"vite": "^5.0.3", "vite": "^5.0.3"
"@faker-js/faker": "^8.4.1" },
}, "type": "module",
"type": "module", "trustedDependencies": [
"trustedDependencies": [ "svelte-preprocess",
"svelte-preprocess" "@sveltejs/kit",
], "esbuild",
"dependencies": { "@sveltejs/adapter-vercel"
"@fontsource/geist-mono": "^5.0.2", ],
"@fontsource/geist-sans": "^5.0.2", "dependencies": {
"@fontsource/merriweather": "^5.0.12", "@fontsource/geist-mono": "^5.0.2",
"@fontsource/noto-color-emoji": "^5.0.26", "@fontsource/geist-sans": "^5.0.2",
"@fontsource/zilla-slab": "^5.0.12", "@fontsource/merriweather": "^5.0.12",
"bits-ui": "^0.21.2", "@fontsource/noto-color-emoji": "^5.0.26",
"clsx": "^2.1.0", "@fontsource/zilla-slab": "^5.0.12",
"country-flag-icons": "^1.5.10", "@sveltejs/adapter-vercel": "^5.2.0",
"marked": "^12.0.1", "bits-ui": "^0.21.2",
"marked-alert": "^2.0.1", "clsx": "^2.1.0",
"marked-katex-extension": "^5.0.1", "country-flag-icons": "^1.5.10",
"mode-watcher": "^0.3.0", "marked": "^12.0.1",
"svelte-radix": "^1.1.0", "marked-alert": "^2.0.1",
"svelte-sonner": "^0.3.21", "marked-katex-extension": "^5.0.1",
"tailwind-merge": "^2.2.2", "mode-watcher": "^0.3.0",
"tailwind-variants": "^0.2.1", "svelte-radix": "^1.1.0",
"vaul-svelte": "^0.3.0" "svelte-sonner": "^0.3.21",
} "tailwind-merge": "^2.2.2",
"tailwind-variants": "^0.2.1",
"vaul-svelte": "^0.3.0"
}
} }

View file

@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto'; import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */