Deno upgrade and attempt to fix upgrade issues

pull/951/head
Zef Hemel 2024-07-14 12:12:21 +02:00
parent e4da0b7849
commit d54c400b76
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM denoland/deno:debian-1.44.4 FROM denoland/deno:debian-1.45.2
# The volume that will keep the space data # The volume that will keep the space data
# Either create a volume: # Either create a volume:

View File

@ -4,7 +4,7 @@ export async function upgradeCommand() {
console.log("Now going to attempt an upgrade..."); console.log("Now going to attempt an upgrade...");
const command = new Deno.Command("deno", { const command = new Deno.Command("deno", {
args: ["cache", "--reload", Deno.mainModule], args: ["cache", "--no-lock", "--reload", Deno.mainModule],
stdout: "inherit", stdout: "inherit",
stderr: "inherit", stderr: "inherit",
}); });
@ -17,7 +17,7 @@ export async function upgradeCommand() {
"So, that's done. Now let's see if this actually did anything...", "So, that's done. Now let's see if this actually did anything...",
); );
const vp = new Deno.Command("deno", { const vp = new Deno.Command("deno", {
args: ["run", "-A", Deno.mainModule, "version"], args: ["run", "--no-lock", "-A", Deno.mainModule, "version"],
}); });
const versionStatus = await vp.output(); const versionStatus = await vp.output();
if (!versionStatus.success) { if (!versionStatus.success) {

View File

@ -496,7 +496,7 @@ cargo install deno --locked
- Now we proceed to install SilverBullet - Now we proceed to install SilverBullet
```shell ```shell
deno install -f --name silverbullet -A https://get.silverbullet.md deno install -f -g --name silverbullet --no-lock -A https://get.silverbullet.md
``` ```
### How to run SilverBullet at boot with systemd ### How to run SilverBullet at boot with systemd