diff --git a/.github/workflows/jsr.yml b/.github/workflows/jsr.yml index fddb498..9635df9 100644 --- a/.github/workflows/jsr.yml +++ b/.github/workflows/jsr.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - pkg jobs: @@ -19,5 +20,5 @@ jobs: - uses: actions/checkout@v4 - - run: npx jsr publish + - run: npx jsr publish --dry-run diff --git a/deno.json b/deno.json index b367d4d..01bc256 100644 --- a/deno.json +++ b/deno.json @@ -2,6 +2,9 @@ "$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json", "name": "@key/gen-ssh-ed25519", "version": "0.1.0", + "imports": { + "ed25519-keygen/ssh": "npm:ed25519-keygen@~0.4.11/ssh" + }, "publish": { "include": [ "deno.json", diff --git a/src/mod.ts b/src/mod.ts index e7664ca..7b4690a 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -1,4 +1,4 @@ -import ssh from 'npm:ed25519-keygen@~0.4.11/ssh'; +import ssh from 'ed25519-keygen/ssh'; import { PBKDF2 } from './pbkdf2.ts';