From 08ad8ca8b81866bad7944701ae0b95fc0f66914e Mon Sep 17 00:00:00 2001 From: zyc9012 Date: Thu, 24 Jul 2025 09:48:41 +0800 Subject: [PATCH 1/3] Bump 2.2.0 --- .github/workflows/release.yml | 2 ++ version.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e97caa4..c03d63e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout repo uses: actions/checkout@v4 diff --git a/version.ts b/version.ts index c640f4c..cf2f82f 100644 --- a/version.ts +++ b/version.ts @@ -4,4 +4,4 @@ * * Changing this value creates a new release. */ -export const version = "2.1.0"; +export const version = "2.2.0"; From c6297026629aefa2ea2c57decd6f5d55ecbd1836 Mon Sep 17 00:00:00 2001 From: zyc9012 Date: Sat, 26 Jul 2025 07:25:35 +0800 Subject: [PATCH 2/3] Fix wrong .npmignore file --- scripts/build_npm.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/build_npm.ts b/scripts/build_npm.ts index a88a0de..8e817cd 100644 --- a/scripts/build_npm.ts +++ b/scripts/build_npm.ts @@ -75,3 +75,13 @@ await build({ Deno.copyFileSync("LICENSE", "npm/LICENSE"); Deno.copyFileSync("README.md", "npm/README.md"); + +// Fix wrong .npmignore file +Deno.writeFileSync( + "npm/.npmignore", + new TextEncoder().encode( + new TextDecoder() + .decode(Deno.readFileSync("npm/.npmignore")) + .replace("src/", "/src/"), + ), +); From 80b51f99c028a34badd5169c6b02ec686544201a Mon Sep 17 00:00:00 2001 From: zyc9012 Date: Sat, 26 Jul 2025 07:28:34 +0800 Subject: [PATCH 3/3] Bump 2.2.1 --- version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.ts b/version.ts index cf2f82f..508b8ad 100644 --- a/version.ts +++ b/version.ts @@ -4,4 +4,4 @@ * * Changing this value creates a new release. */ -export const version = "2.2.0"; +export const version = "2.2.1";