Update Fresh, Deno, and Dependencies

This commit is contained in:
Bruno Bernardino
2024-06-10 17:52:22 +01:00
parent e21207a76a
commit 4506febf03
5 changed files with 21 additions and 25 deletions

2
.dvmrc
View File

@@ -1 +1 @@
1.42.4 1.44.1

View File

@@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: denoland/setup-deno@v1 - uses: denoland/setup-deno@v1
with: with:
deno-version: v1.42.4 deno-version: v1.44.1
- run: | - run: |
make test make test
make build make build

View File

@@ -1,4 +1,4 @@
FROM denoland/deno:ubuntu-1.42.4 FROM denoland/deno:ubuntu-1.44.1
EXPOSE 8000 EXPOSE 8000

View File

@@ -14,11 +14,27 @@
"lint": { "lint": {
"rules": { "rules": {
"tags": ["fresh", "recommended"], "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/*"], "exclude": ["./_fresh/*", "./node_modules/*", "**/_fresh/*"],
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"nodeModulesDir": true, "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/"
}
} }

View File

@@ -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/"
}
}