mirror of
https://github.com/Blah-IM/typescript-core.git
synced 2025-04-30 16:21:10 +00:00
chore: setting up for publishing on JSR
This commit is contained in:
parent
50553085e7
commit
51f7a3cdd1
3 changed files with 25 additions and 0 deletions
16
.github/workflows/jsr-publish.yml
vendored
Normal file
16
.github/workflows/jsr-publish.yml
vendored
Normal file
|
@ -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
|
|
@ -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",
|
||||
|
|
3
identity/mod.ts
Normal file
3
identity/mod.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export * from "./actKey.ts";
|
||||
export * from "./identityFile.ts";
|
||||
export * from "./profile.ts";
|
Loading…
Add table
Reference in a new issue