chore: update fresh
This commit is contained in:
parent
b4d4e07b85
commit
ed3aed85ad
18
deno.json
18
deno.json
@ -2,7 +2,9 @@
|
|||||||
"lock": false,
|
"lock": false,
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"start": "deno run -A --watch=static/,routes/ dev.ts",
|
"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": {
|
"lint": {
|
||||||
"rules": {
|
"rules": {
|
||||||
@ -10,7 +12,10 @@
|
|||||||
"fresh",
|
"fresh",
|
||||||
"recommended"
|
"recommended"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"exclude": [
|
||||||
|
"_fresh"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
"typesense": "https://raw.githubusercontent.com/bradenmacdonald/typesense-deno/main/mod.ts",
|
"typesense": "https://raw.githubusercontent.com/bradenmacdonald/typesense-deno/main/mod.ts",
|
||||||
@ -22,10 +27,10 @@
|
|||||||
"@islands": "./islands",
|
"@islands": "./islands",
|
||||||
"@islands/": "./islands/",
|
"@islands/": "./islands/",
|
||||||
"zod": "https://deno.land/x/zod@v3.21.4/mod.ts",
|
"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/": "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": "https://esm.sh/*@preact/signals@1.1.3",
|
||||||
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
|
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
|
||||||
"twind": "https://esm.sh/twind@0.16.19",
|
"twind": "https://esm.sh/twind@0.16.19",
|
||||||
@ -35,5 +40,10 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"jsxImportSource": "preact"
|
"jsxImportSource": "preact"
|
||||||
|
},
|
||||||
|
"fmt": {
|
||||||
|
"exclude": [
|
||||||
|
"_fresh"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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 SHOULD be checked into source version control.
|
||||||
// This file is automatically updated during development when running `dev.ts`.
|
// This file is automatically updated during development when running `dev.ts`.
|
||||||
|
|
||||||
|
@ -21,4 +21,5 @@ export const TYPESENSE_URL = Deno.env.get("TYPESENSE_URL") ||
|
|||||||
"http://localhost:8108";
|
"http://localhost:8108";
|
||||||
export const TYPESENSE_API_KEY = Deno.env.get("TYPESENSE_API_KEY");
|
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";
|
||||||
|
@ -31,6 +31,8 @@ export default function App({ Component }: AppProps) {
|
|||||||
<meta name="theme-color" content="#141218" />
|
<meta name="theme-color" content="#141218" />
|
||||||
<script src="/thumbnails.js" type="module"></script>
|
<script src="/thumbnails.js" type="module"></script>
|
||||||
|
|
||||||
|
<script src="/htmx.min.js" type="module"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
{`
|
{`
|
||||||
:root {
|
:root {
|
||||||
|
1
static/htmx.min.js
vendored
Normal file
1
static/htmx.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user