Update Lume to v2.2.2

This commit is contained in:
Foster Hangdaan 2024-06-30 18:53:24 -04:00
parent 01955dab2e
commit 5781317dba
Signed by: foster
GPG key ID: E48D7F49A852F112
3 changed files with 2 additions and 5 deletions

View file

@ -13,9 +13,6 @@ import lang_bash from "npm:highlight.js/lib/languages/bash";
const site = lume({ const site = lume({
location: new URL("https://www.fosterhangdaan.com/"), location: new URL("https://www.fosterhangdaan.com/"),
server: {
port: 8080,
},
}); });
site.ignore("README.md", "README.org", "LICENSE.txt", "LICENSE.md"); site.ignore("README.md", "README.org", "LICENSE.txt", "LICENSE.md");

View file

@ -8,7 +8,7 @@
] ]
}, },
"tasks": { "tasks": {
"lume": "echo \"import 'lume/cli.ts'\" | deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:8080' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' -", "lume": "echo \"import 'lume/cli.ts'\" | deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' -",
"build": "deno task lume", "build": "deno task lume",
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", "check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"serve": "deno task lume -s", "serve": "deno task lume -s",
@ -16,7 +16,7 @@
}, },
"imports": { "imports": {
"react/jsx-runtime": "https://esm.sh/react@18.2.0/jsx-runtime", "react/jsx-runtime": "https://esm.sh/react@18.2.0/jsx-runtime",
"lume/": "https://deno.land/x/lume@v2.1.4/" "lume/": "https://deno.land/x/lume@v2.2.2/"
}, },
"fmt": { "fmt": {
"exclude": [ "exclude": [

BIN
deno.lock

Binary file not shown.