diff --git a/.dvmrc b/.dvmrc index 6f7c8cd..d724e43 100644 --- a/.dvmrc +++ b/.dvmrc @@ -1 +1 @@ -1.42.4 +1.44.1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87af47a..6f8583b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: - deno-version: v1.42.4 + deno-version: v1.44.1 - run: | make test make build diff --git a/Dockerfile b/Dockerfile index 6ffedb5..9a5a668 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:ubuntu-1.42.4 +FROM denoland/deno:ubuntu-1.44.1 EXPOSE 8000 diff --git a/deno.json b/deno.json index 580f9f5..fba530f 100644 --- a/deno.json +++ b/deno.json @@ -14,11 +14,27 @@ "lint": { "rules": { "tags": ["fresh", "recommended"], - "exclude": ["no-explicit-any", "no-empty-interface", "ban-types", "no-window"] + "exclude": ["no-explicit-any", "no-empty-interface", "ban-types", "no-window", "no-unused-vars"] } }, "exclude": ["./_fresh/*", "./node_modules/*", "**/_fresh/*"], "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, "nodeModulesDir": true, - "importMap": "./import_map.json" + "imports": { + "/": "./", + "./": "./", + "xml": "https://deno.land/x/xml@2.1.3/mod.ts", + "mrmime": "https://deno.land/x/mrmime@v2.0.0/mod.ts", + "fresh/": "https://deno.land/x/fresh@1.6.8/", + "$fresh/": "https://deno.land/x/fresh@1.6.8/", + "preact": "https://esm.sh/preact@10.19.6", + "preact/": "https://esm.sh/preact@10.19.6/", + "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", + "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1", + "tailwindcss": "npm:tailwindcss@3.4.4", + "tailwindcss/": "npm:/tailwindcss@3.4.4/", + "tailwindcss/plugin": "npm:/tailwindcss@3.4.4/plugin.js", + "std/": "https://deno.land/std@0.224.0/", + "$std/": "https://deno.land/std@0.224.0/" + } } diff --git a/import_map.json b/import_map.json deleted file mode 100644 index 8881ba2..0000000 --- a/import_map.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "imports": { - "/": "./", - "./": "./", - "xml": "https://deno.land/x/xml@2.1.3/mod.ts", - "mrmime": "https://deno.land/x/mrmime@v2.0.0/mod.ts", - - "fresh/": "https://deno.land/x/fresh@1.6.8/", - "$fresh/": "https://deno.land/x/fresh@1.6.8/", - "preact": "https://esm.sh/preact@10.20.2", - "preact/": "https://esm.sh/preact@10.20.2/", - "@preact/signals": "https://esm.sh/*@preact/signals@1.2.3", - "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.6.0", - "tailwindcss": "npm:tailwindcss@3.4.3", - "tailwindcss/": "npm:/tailwindcss@3.4.3/", - "tailwindcss/plugin": "npm:/tailwindcss@3.4.3/plugin.js", - "std/": "https://deno.land/std@0.223.0/", - "$std/": "https://deno.land/std@0.223.0/" - } -}