diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..ebf40ee --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,17 @@ +name: Publish + +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: denoland/setup-deno@v1 + - run: deno publish diff --git a/benchmarks/popular_encodings.ts b/benchmarks/popular_encodings.ts index 22d5f9c..e7de2c0 100644 --- a/benchmarks/popular_encodings.ts +++ b/benchmarks/popular_encodings.ts @@ -2,7 +2,7 @@ import { InnerType, Strings, Struct, u32, u8 } from "../mod.ts"; import { decode as msgpackRead, encode as msgpackWrite, -} from "https://deno.land/std@0.208.0/msgpack/mod.ts"; +} from "jsr:@std/msgpack@0.218"; const descriptor = { handIndex: u8, diff --git a/deno.json b/deno.json new file mode 100644 index 0000000..70329d7 --- /dev/null +++ b/deno.json @@ -0,0 +1,5 @@ +{ + "name": "@denosaurs/byte-type", + "version": "0.3.1", + "exports": "./mod.ts" +} diff --git a/test_deps.ts b/test_deps.ts index 1a66e3e..9d52d9f 100644 --- a/test_deps.ts +++ b/test_deps.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.204.0/assert/mod.ts"; +export * from "jsr:@std/assert@0.218";