diff --git a/.github/workflows/jsr-publish.yml b/.github/workflows/jsr-publish.yml new file mode 100644 index 0000000..a52f8b4 --- /dev/null +++ b/.github/workflows/jsr-publish.yml @@ -0,0 +1,16 @@ +name: Publish on JSR + +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write # The OIDC ID token is used for authentication with JSR. + steps: + - uses: actions/checkout@v4 + - run: npx jsr publish diff --git a/deno.json b/deno.json index cd0ecad..0ae46f9 100644 --- a/deno.json +++ b/deno.json @@ -1,4 +1,10 @@ { + "name": "@blah/core", + "version": "0.1.0", + "exports": { + "./crypto": "./crypto/mod.ts", + "./identity": "./identity/mod.ts" + }, "imports": { "@deno/dnt": "jsr:@deno/dnt@^0.41.3", "@std/expect": "jsr:@std/expect@^1.0.3", diff --git a/identity/mod.ts b/identity/mod.ts new file mode 100644 index 0000000..face16d --- /dev/null +++ b/identity/mod.ts @@ -0,0 +1,3 @@ +export * from "./actKey.ts"; +export * from "./identityFile.ts"; +export * from "./profile.ts";