From 6643cf49d9261fd64f99445448f02ab1e59dd0cf Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sat, 26 Aug 2023 15:50:51 +0800 Subject: [PATCH] Bump fresh to 1.4.2 --- .gitignore | 1 + deno.json | 13 ++++++++++--- fresh.gen.ts | 2 +- import_map.json | 4 ++-- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 7465f0a..01bbf5a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ test/ downloads/ utt.lock thumbnails/ +_fresh/ diff --git a/deno.json b/deno.json index 3f30083..d8d99e1 100644 --- a/deno.json +++ b/deno.json @@ -10,11 +10,17 @@ "compile": "deno compile --allow-read=./ --allow-write=./ --allow-run=tasklist.exe --allow-env=DENO_DEPLOYMENT_ID --allow-net --unstable", "compile_full": "deno compile --allow-read --allow-write --allow-run=tasklist.exe --allow-env=DENO_DEPLOYMENT_ID --allow-net --unstable", "fetch": "deno run --allow-read=./ --allow-write=./ --allow-net fetch_static_files.ts", - "gen_meili_server_key": "deno run --allow-net scripts/gen_meili_server_key.ts" + "gen_meili_server_key": "deno run --allow-net scripts/gen_meili_server_key.ts", + "server-build": "deno run -A --unstable server-dev.ts build" }, "fmt": { "indentWidth": 4, - "exclude": ["config.json", "static/sw.js", "static/sw.meta.json"] + "exclude": [ + "config.json", + "static/sw.js", + "static/sw.meta.json", + "_fresh" + ] }, "compilerOptions": { "jsx": "react-jsx", @@ -24,6 +30,7 @@ "lint": { "rules": { "tags": ["fresh", "recommended"] - } + }, + "exclude": ["_fresh"] } } diff --git a/fresh.gen.ts b/fresh.gen.ts index 7a1deda..85a5538 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -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`. diff --git a/import_map.json b/import_map.json index e584903..c31e034 100644 --- a/import_map.json +++ b/import_map.json @@ -4,10 +4,10 @@ "deno_dom/": "https://deno.land/x/deno_dom@v0.1.38/", "sqlite/": "https://deno.land/x/sqlite@v3.7.2/", "zipjs/": "https://deno.land/x/zipjs@v2.7.20/", - "$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",