fixing dev env bugs by improving configs
This commit is contained in:
parent
eb0386884e
commit
233372cb88
|
@ -5,9 +5,7 @@
|
|||
"[svelte]": {
|
||||
"editor.defaultFormatter": "svelte.svelte-vscode" // enable Prettier formatter for JavaScript files
|
||||
},
|
||||
"[ts]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode" // enable Prettier formatter for JavaScript files
|
||||
},
|
||||
|
||||
"editor.fontFamily": "Fira Code",
|
||||
"editor.fontLigatures": true,
|
||||
"prettier.documentSelectors": [
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"devDependencies": {
|
||||
"@skeletonlabs/skeleton": "2.0.0",
|
||||
"@skeletonlabs/tw-plugin": "0.1.0",
|
||||
"@sveltejs/adapter-auto": "^2.0.0",
|
||||
"@sveltejs/adapter-cloudflare": "^2.3.3",
|
||||
"@sveltejs/kit": "^1.20.4",
|
||||
"@tailwindcss/forms": "0.5.6",
|
||||
"@tailwindcss/typography": "0.5.9",
|
||||
|
@ -34,6 +34,7 @@
|
|||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||
"@typescript-eslint/parser": "^5.45.0",
|
||||
"autoprefixer": "10.4.15",
|
||||
"emoji-regex": "^10.3.0",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-svelte": "^2.30.0",
|
||||
|
@ -51,7 +52,6 @@
|
|||
"vite-plugin-tailwind-purgecss": "0.1.3",
|
||||
"vitest": "^0.34.0"
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@floating-ui/dom": "1.5.1",
|
||||
"@threlte/core": "^6.0.10",
|
||||
|
@ -71,5 +71,6 @@
|
|||
"rss": "^1.2.2",
|
||||
"svelte-preprocess": "^5.0.4",
|
||||
"unist-util-visit": "^5.0.0"
|
||||
}
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
|
|
@ -67,9 +67,9 @@ devDependencies:
|
|||
'@skeletonlabs/tw-plugin':
|
||||
specifier: 0.1.0
|
||||
version: 0.1.0(tailwindcss@3.3.3)
|
||||
'@sveltejs/adapter-auto':
|
||||
specifier: ^2.0.0
|
||||
version: 2.1.0(@sveltejs/kit@1.25.0)
|
||||
'@sveltejs/adapter-cloudflare':
|
||||
specifier: ^2.3.3
|
||||
version: 2.3.3(@sveltejs/kit@1.25.0)
|
||||
'@sveltejs/kit':
|
||||
specifier: ^1.20.4
|
||||
version: 1.25.0(svelte@4.2.1)(vite@4.4.9)
|
||||
|
@ -94,6 +94,9 @@ devDependencies:
|
|||
autoprefixer:
|
||||
specifier: 10.4.15
|
||||
version: 10.4.15(postcss@8.4.29)
|
||||
emoji-regex:
|
||||
specifier: ^10.3.0
|
||||
version: 10.3.0
|
||||
eslint:
|
||||
specifier: ^8.28.0
|
||||
version: 8.50.0
|
||||
|
@ -162,6 +165,10 @@ packages:
|
|||
'@jridgewell/gen-mapping': 0.3.3
|
||||
'@jridgewell/trace-mapping': 0.3.19
|
||||
|
||||
/@cloudflare/workers-types@4.20231025.0:
|
||||
resolution: {integrity: sha512-TkcZkntUTOcvJ4vgmwpNfLTclpMbmbClZCe62B25/VTukmyv91joRa4eKzSjzCZUXTbFHNmVdOpmGaaJU2U3+A==}
|
||||
dev: true
|
||||
|
||||
/@esbuild/android-arm64@0.18.20:
|
||||
resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==}
|
||||
engines: {node: '>=12'}
|
||||
|
@ -512,13 +519,15 @@ packages:
|
|||
tailwindcss: 3.3.3
|
||||
dev: true
|
||||
|
||||
/@sveltejs/adapter-auto@2.1.0(@sveltejs/kit@1.25.0):
|
||||
resolution: {integrity: sha512-o2pZCfATFtA/Gw/BB0Xm7k4EYaekXxaPGER3xGSY3FvzFJGTlJlZjBseaXwYSM94lZ0HniOjTokN3cWaLX6fow==}
|
||||
/@sveltejs/adapter-cloudflare@2.3.3(@sveltejs/kit@1.25.0):
|
||||
resolution: {integrity: sha512-bbcm6kq4dEluFtFJZed3KSRG4f5GUElYkVfOmnPruTqZ29nTElPJTomAu5QCp7GLkwA26O3h1Dk7+d9yLTQEXg==}
|
||||
peerDependencies:
|
||||
'@sveltejs/kit': ^1.0.0
|
||||
dependencies:
|
||||
'@cloudflare/workers-types': 4.20231025.0
|
||||
'@sveltejs/kit': 1.25.0(svelte@4.2.1)(vite@4.4.9)
|
||||
import-meta-resolve: 3.0.0
|
||||
esbuild: 0.18.20
|
||||
worktop: 0.8.0-next.15
|
||||
dev: true
|
||||
|
||||
/@sveltejs/kit@1.25.0(svelte@4.2.1)(vite@4.4.9):
|
||||
|
@ -1296,6 +1305,10 @@ packages:
|
|||
resolution: {integrity: sha512-UdREXMXzLkREF4jA8t89FQjA8WHI6ssP38PMY4/4KhXFQbtImnghh4GkCgrtiZwLKUKVD2iTVXvDVQjfomEQuA==}
|
||||
dev: true
|
||||
|
||||
/emoji-regex@10.3.0:
|
||||
resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==}
|
||||
dev: true
|
||||
|
||||
/entities@4.5.0:
|
||||
resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
|
||||
engines: {node: '>=0.12'}
|
||||
|
@ -1782,10 +1795,6 @@ packages:
|
|||
resolve-from: 4.0.0
|
||||
dev: true
|
||||
|
||||
/import-meta-resolve@3.0.0:
|
||||
resolution: {integrity: sha512-4IwhLhNNA8yy445rPjD/lWh++7hMDOml2eHtd58eG7h+qK3EryMuuRbsHGPikCoAgIkkDnckKfWSk2iDla/ejg==}
|
||||
dev: true
|
||||
|
||||
/imurmurhash@0.1.4:
|
||||
resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
|
||||
engines: {node: '>=0.8.19'}
|
||||
|
@ -2489,6 +2498,11 @@ packages:
|
|||
dependencies:
|
||||
picomatch: 2.3.1
|
||||
|
||||
/regexparam@2.0.1:
|
||||
resolution: {integrity: sha512-zRgSaYemnNYxUv+/5SeoHI0eJIgTL/A2pUtXUPLHQxUldagouJ9p+K6IbIZ/JiQuCEv2E2B1O11SjVQy3aMCkw==}
|
||||
engines: {node: '>=8'}
|
||||
dev: true
|
||||
|
||||
/rehype-img-size@1.0.1:
|
||||
resolution: {integrity: sha512-+rLkxF2H3mQULAg3iA2Z2spJQlBcCpApG8sHC47bc0p33ol+ddz+O3gyUcTgk5xX5jGaj1oQOBs/cBy8nIIhoQ==}
|
||||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
|
@ -3349,6 +3363,14 @@ packages:
|
|||
stackback: 0.0.2
|
||||
dev: true
|
||||
|
||||
/worktop@0.8.0-next.15:
|
||||
resolution: {integrity: sha512-0ycNO52P6nVwsjr1y20zuf0nqJatAb8L7MODBfQIxbxndHV5O4s50oZZMHWhJG1RLpHwbK0Epq8aaQK4E2GlgQ==}
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
mrmime: 1.0.1
|
||||
regexparam: 2.0.1
|
||||
dev: true
|
||||
|
||||
/wrappy@1.0.2:
|
||||
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 18 16'><text x='0' y='14'>🚀</text></svg>" />
|
||||
<link rel="preload" href="/fonts/MagilioRegular.ttf" as="font" type="font/ttf" crossorigin />
|
||||
<link rel="preload" href="/fonts/satoshi/Satoshi-Variable.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/fonts/satoshi/Satoshi-VariableItalic.woff2" as="font" type="font/woff2" crossorigin>
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover" data-theme="wintry">
|
||||
|
|
|
@ -2,15 +2,22 @@
|
|||
"extends": "./.svelte-kit/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"outDir": ".svelte-kit",
|
||||
"checkJs": true,
|
||||
"noEmit": true,
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
// custom compiler options
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true
|
||||
}
|
||||
"sourceMap": true
|
||||
},
|
||||
"include": ["./scripts/**/*", "./test/*.js", "./*.js"],
|
||||
"exclude": ["node_modules/*", ".svelte-kit/*"]
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||
//
|
||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||
|
|
Loading…
Reference in New Issue