Skip to content

Commit

Permalink
fix: explicit import map for Deno 2 (#6)
Browse files Browse the repository at this point in the history
* fix: explicit import map for Deno 2

* fix: removed --unstable flag

* use current deno.jsonc imports

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
  • Loading branch information
GauBen and jhheider authored Nov 22, 2024
1 parent f30c2e6 commit 3bfd4b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/bump.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S pkgx deno run --allow-net --allow-run --allow-read --allow-write --allow-env --unstable
#!/usr/bin/env -S pkgx deno run --allow-net --allow-run --allow-read --allow-write --allow-env

import { backticks, run, panic } from "utils"
import { basename } from "deno/path/mod.ts"
Expand Down
15 changes: 14 additions & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
{
"importMap": "https://raw.githubusercontent.com/pkgxdev/pkgx/v0.21/import-map.json"
"imports": {
"@cliffy/ansi": "jsr:@cliffy/ansi@^1.0.0-rc.7",
"@std/assert": "jsr:@std/assert@^1.0.6",
"@std/fmt": "jsr:@std/fmt@^1.0.2",
"@std/io": "jsr:@std/io@^0.225.0",
"@std/jsonc": "jsr:@std/jsonc@^1.0.1",
"@std/path": "jsr:@std/path@^1.0.6",
"@std/testing": "jsr:@std/testing@^1.0.3",
"@std/yaml": "jsr:@std/yaml@^1.0.5",
"is-what": "https://deno.land/x/is_what@v4.1.15/src/index.ts",
"outdent": "jsr:@cspotcode/outdent@^0.8",
"pkgx": "https://deno.land/x/libpkgx@v0.20.0/mod.ts",
"pkgx/": "https://deno.land/x/libpkgx@v0.20.0/src/"
}
}

0 comments on commit 3bfd4b1

Please sign in to comment.