Remove lume task

This is to limit usage to only predefined tasks since `lume` is a CLI
and can be used a variety of ways. This also means that upgrades must be
performed manually.

The task is still available in the form of a script as `lume.ts` but
must now be invoked separately by the developer.
This commit is contained in:
Foster Hangdaan 2024-09-07 06:56:36 -04:00
parent 825d18e6a3
commit 0ca7e350bb
Signed by: foster
GPG key ID: E48D7F49A852F112
2 changed files with 3 additions and 3 deletions

View file

@ -8,10 +8,9 @@
]
},
"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:3000,jsr.io,lumeland.github.io' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' -",
"build": "deno task lume",
"build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' lume.ts",
"check": "deno fmt --check && deno lint && deno check .",
"serve": "deno task lume -s",
"serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' lume.ts -s",
"deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/fosterhangdaan.com/"
},
"imports": {

1
lume.ts Normal file
View file

@ -0,0 +1 @@
import "lume/cli.ts";