chore: update fresh

This commit is contained in:
max_richter 2023-08-17 20:59:52 +02:00
parent b4d4e07b85
commit ed3aed85ad
5 changed files with 21 additions and 7 deletions

View File

@ -2,7 +2,9 @@
"lock": false,
"tasks": {
"start": "deno run -A --watch=static/,routes/ dev.ts",
"update": "deno run -A -r https://fresh.deno.dev/update ."
"update": "deno run -A -r https://fresh.deno.dev/update .",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts"
},
"lint": {
"rules": {
@ -10,7 +12,10 @@
"fresh",
"recommended"
]
}
},
"exclude": [
"_fresh"
]
},
"imports": {
"typesense": "https://raw.githubusercontent.com/bradenmacdonald/typesense-deno/main/mod.ts",
@ -22,10 +27,10 @@
"@islands": "./islands",
"@islands/": "./islands/",
"zod": "https://deno.land/x/zod@v3.21.4/mod.ts",
"$fresh/": "https://deno.land/x/fresh@1.3.1/",
"$fresh/": "https://deno.land/x/fresh@1.4.2/",
"preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
"twind": "https://esm.sh/twind@0.16.19",
@ -35,5 +40,10 @@
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"fmt": {
"exclude": [
"_fresh"
]
}
}
}

View File

@ -1,4 +1,4 @@
// DO NOT EDIT. This file is generated by fresh.
// DO NOT EDIT. This file is generated by Fresh.
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.

View File

@ -21,4 +21,5 @@ export const TYPESENSE_URL = Deno.env.get("TYPESENSE_URL") ||
"http://localhost:8108";
export const TYPESENSE_API_KEY = Deno.env.get("TYPESENSE_API_KEY");
export const LOG_LEVEL = Deno.env.get("LOG_LEVEL") || "warn";
export const LOG_LEVEL: string = Deno.env.get("LOG_LEVEL") ||
"warn";

View File

@ -31,6 +31,8 @@ export default function App({ Component }: AppProps) {
<meta name="theme-color" content="#141218" />
<script src="/thumbnails.js" type="module"></script>
<script src="/htmx.min.js" type="module"></script>
<style>
{`
:root {

1
static/htmx.min.js vendored Normal file

File diff suppressed because one or more lines are too long