-
Notifications
You must be signed in to change notification settings - Fork 28
deno versions in mash outdated #32
Copy link
Copy link
Open
Description
Needs updating to deno v2, libpkgx v0.21.0. Old versions referred by mash no longer served; error with "deno not found"
Diff for upgrade
--- a/script
+++ b/script
@@ -1,7 +1,7 @@
-#!/usr/bin/env -S pkgx --quiet deno~1.46 run --ext=ts --allow-read --unstable --allow-net --allow-ffi --allow-write --allow-env --allow-run
+#!/usr/bin/env -S pkgx --quiet deno~2 run --ext=ts --allow-read --allow-net --allow-ffi --allow-write --allow-env --allow-run
-import { hooks, Path, plumbing, semver, SemVer } from "https://deno.land/x/libpkgx@v0.18/mod.ts"
-import usePantry from "https://deno.land/x/libpkgx@v0.18/src/hooks/usePantry.ts";
+import { hooks, Path, plumbing, semver, SemVer } from "https://deno.land/x/libpkgx@v0.21.0/mod.ts"
+import usePantry from "https://deno.land/x/libpkgx@v0.21.0/src/hooks/usePantry.ts";
const { useConfig, useInventory } = hooks
const { install, link } = plumbing
Diff for prune
--- a/script
+++ b/script
@@ -1,7 +1,7 @@
-#!/usr/bin/env -S pkgx --quiet deno run --unstable -A --ext=ts
+#!/usr/bin/env -S pkgx --quiet deno run -A --ext=ts
import { hooks, semver, SemVer, utils, plumbing, Installation } from "https://deno.land/x/libpkgx@v0.21.0/mod.ts"
-import { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.3/command/mod.ts"
+import { Command } from "jsr:@cliffy/command@1.0.0"
const { useConfig, useCellar } = hooks
const { link } = plumbing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels