From 3a0b60668b0251ca5fa091381c3a8a7379aff25b Mon Sep 17 00:00:00 2001 From: Pinta365 Date: Wed, 6 Mar 2024 19:22:21 +0100 Subject: [PATCH] move jsr conf into deno.jsonc --- .github/workflows/publish.yml | 2 +- deno.jsonc | 7 ++++++- jsr.jsonc | 5 ----- 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 jsr.jsonc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 311b6b9..569bf3d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,4 +19,4 @@ jobs: - uses: actions/checkout@v4 - name: Publish package - run: npx jsr publish --config jsr.jsonc \ No newline at end of file + run: npx jsr publish \ No newline at end of file diff --git a/deno.jsonc b/deno.jsonc index ec26155..248e481 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,7 +1,12 @@ { + "name": "@cross/env", + "version": "0.2.1", + "exports": "./mod.ts", + "tasks": { "test": "deno test --allow-env ./tests/deno.ts", - "publish": "deno publish --config jsr.jsonc" + "publish": "deno publish --config jsr.jsonc", + "publish-dry": "deno publish --dry-run --config jsr.jsonc" }, "lock": false, "fmt": { diff --git a/jsr.jsonc b/jsr.jsonc deleted file mode 100644 index 1ab45fd..0000000 --- a/jsr.jsonc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "@cross/env", - "version": "0.2.0", - "exports": "./mod.ts" -}