From 0c338d0df30de04d1ae62fa89537a4c04ca4cdd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=90=91=E5=A4=9C?= <46275354+fu050409@users.noreply.github.com> Date: Tue, 23 Jul 2024 05:30:31 -0400 Subject: [PATCH 1/2] ci: use changeset publish instead (#56) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 529fb2b..ec181b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: title: 'chore(release): version packages' commit: 'chore(release): version packages' version: yarn bump - publish: npm publish --access public + publish: npx changeset publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From a43f55a4ffd52e38b7c82d61360bb495876b9475 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:30:57 +0800 Subject: [PATCH 2/2] chore(release): version packages (#55) Co-authored-by: github-actions[bot] --- .changeset/cuddly-kiwis-greet.md | 5 ----- .changeset/cyan-goats-pretend.md | 5 ----- .changeset/eleven-deers-explain.md | 5 ----- .changeset/eleven-points-carry.md | 5 ----- .changeset/three-hounds-live.md | 5 ----- .changeset/two-items-dream.md | 5 ----- .changeset/witty-islands-compete.md | 5 ----- CHANGELOG.md | 15 +++++++++++++++ npm/android-arm-eabi/package.json | 2 +- npm/android-arm64/package.json | 2 +- npm/darwin-arm64/package.json | 2 +- npm/darwin-x64/package.json | 2 +- npm/freebsd-x64/package.json | 2 +- npm/linux-arm-gnueabihf/package.json | 2 +- npm/linux-arm64-gnu/package.json | 2 +- npm/linux-arm64-musl/package.json | 2 +- npm/linux-x64-gnu/package.json | 2 +- npm/linux-x64-musl/package.json | 2 +- npm/win32-arm64-msvc/package.json | 2 +- npm/win32-ia32-msvc/package.json | 2 +- npm/win32-x64-msvc/package.json | 2 +- package.json | 2 +- 22 files changed, 29 insertions(+), 49 deletions(-) delete mode 100644 .changeset/cuddly-kiwis-greet.md delete mode 100644 .changeset/cyan-goats-pretend.md delete mode 100644 .changeset/eleven-deers-explain.md delete mode 100644 .changeset/eleven-points-carry.md delete mode 100644 .changeset/three-hounds-live.md delete mode 100644 .changeset/two-items-dream.md delete mode 100644 .changeset/witty-islands-compete.md diff --git a/.changeset/cuddly-kiwis-greet.md b/.changeset/cuddly-kiwis-greet.md deleted file mode 100644 index 5997779..0000000 --- a/.changeset/cuddly-kiwis-greet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'archons': patch ---- - -Fix context args annotations to `Record` diff --git a/.changeset/cyan-goats-pretend.md b/.changeset/cyan-goats-pretend.md deleted file mode 100644 index c2f96b0..0000000 --- a/.changeset/cyan-goats-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'archons': minor ---- - -Refactor arguments parsing policy and support global options diff --git a/.changeset/eleven-deers-explain.md b/.changeset/eleven-deers-explain.md deleted file mode 100644 index 23e054e..0000000 --- a/.changeset/eleven-deers-explain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'archons': patch ---- - -Refactor merge arguments matches policy diff --git a/.changeset/eleven-points-carry.md b/.changeset/eleven-points-carry.md deleted file mode 100644 index 14c2e5e..0000000 --- a/.changeset/eleven-points-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'archons': patch ---- - -Remove `{ length: 1}` annotation diff --git a/.changeset/three-hounds-live.md b/.changeset/three-hounds-live.md deleted file mode 100644 index ba299e8..0000000 --- a/.changeset/three-hounds-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'archons': patch ---- - -Refactor `Vec` to `Vec<&str>` diff --git a/.changeset/two-items-dream.md b/.changeset/two-items-dream.md deleted file mode 100644 index c7b0882..0000000 --- a/.changeset/two-items-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'archons': patch ---- - -Fix args resolver in musl systems diff --git a/.changeset/witty-islands-compete.md b/.changeset/witty-islands-compete.md deleted file mode 100644 index 8511b04..0000000 --- a/.changeset/witty-islands-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'archons': patch ---- - -Improve parser resolver and determine default parser by action diff --git a/CHANGELOG.md b/CHANGELOG.md index 5417312..72de349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # archons +## 0.2.0 + +### Minor Changes + +- bbfb42c: Refactor arguments parsing policy and support global options + +### Patch Changes + +- bbfb42c: Fix context args annotations to `Record` +- bbfb42c: Refactor merge arguments matches policy +- bbfb42c: Remove `{ length: 1}` annotation +- bbfb42c: Refactor `Vec` to `Vec<&str>` +- 1b5d6b7: Fix args resolver in musl systems +- bbfb42c: Improve parser resolver and determine default parser by action + ## 0.1.7 ### Patch Changes diff --git a/npm/android-arm-eabi/package.json b/npm/android-arm-eabi/package.json index 487549d..4988c05 100644 --- a/npm/android-arm-eabi/package.json +++ b/npm/android-arm-eabi/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-android-arm-eabi", - "version": "0.1.7", + "version": "0.2.0", "os": [ "android" ], diff --git a/npm/android-arm64/package.json b/npm/android-arm64/package.json index e693c20..2947050 100644 --- a/npm/android-arm64/package.json +++ b/npm/android-arm64/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-android-arm64", - "version": "0.1.7", + "version": "0.2.0", "os": [ "android" ], diff --git a/npm/darwin-arm64/package.json b/npm/darwin-arm64/package.json index 9160b57..d8a2601 100644 --- a/npm/darwin-arm64/package.json +++ b/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-darwin-arm64", - "version": "0.1.7", + "version": "0.2.0", "os": [ "darwin" ], diff --git a/npm/darwin-x64/package.json b/npm/darwin-x64/package.json index f0c262c..67eada5 100644 --- a/npm/darwin-x64/package.json +++ b/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-darwin-x64", - "version": "0.1.7", + "version": "0.2.0", "os": [ "darwin" ], diff --git a/npm/freebsd-x64/package.json b/npm/freebsd-x64/package.json index cbe5167..46f1290 100644 --- a/npm/freebsd-x64/package.json +++ b/npm/freebsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-freebsd-x64", - "version": "0.1.7", + "version": "0.2.0", "os": [ "freebsd" ], diff --git a/npm/linux-arm-gnueabihf/package.json b/npm/linux-arm-gnueabihf/package.json index 4f90c79..8c50857 100644 --- a/npm/linux-arm-gnueabihf/package.json +++ b/npm/linux-arm-gnueabihf/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-linux-arm-gnueabihf", - "version": "0.1.7", + "version": "0.2.0", "os": [ "linux" ], diff --git a/npm/linux-arm64-gnu/package.json b/npm/linux-arm64-gnu/package.json index 2fd5177..3229aa8 100644 --- a/npm/linux-arm64-gnu/package.json +++ b/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-linux-arm64-gnu", - "version": "0.1.7", + "version": "0.2.0", "os": [ "linux" ], diff --git a/npm/linux-arm64-musl/package.json b/npm/linux-arm64-musl/package.json index 4f30644..288e018 100644 --- a/npm/linux-arm64-musl/package.json +++ b/npm/linux-arm64-musl/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-linux-arm64-musl", - "version": "0.1.7", + "version": "0.2.0", "os": [ "linux" ], diff --git a/npm/linux-x64-gnu/package.json b/npm/linux-x64-gnu/package.json index 26c373d..2666859 100644 --- a/npm/linux-x64-gnu/package.json +++ b/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-linux-x64-gnu", - "version": "0.1.7", + "version": "0.2.0", "os": [ "linux" ], diff --git a/npm/linux-x64-musl/package.json b/npm/linux-x64-musl/package.json index 6420e0c..99d2cb0 100644 --- a/npm/linux-x64-musl/package.json +++ b/npm/linux-x64-musl/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-linux-x64-musl", - "version": "0.1.7", + "version": "0.2.0", "os": [ "linux" ], diff --git a/npm/win32-arm64-msvc/package.json b/npm/win32-arm64-msvc/package.json index 0ac6f66..3bf1a5c 100644 --- a/npm/win32-arm64-msvc/package.json +++ b/npm/win32-arm64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-win32-arm64-msvc", - "version": "0.1.7", + "version": "0.2.0", "os": [ "win32" ], diff --git a/npm/win32-ia32-msvc/package.json b/npm/win32-ia32-msvc/package.json index c792546..b8a064d 100644 --- a/npm/win32-ia32-msvc/package.json +++ b/npm/win32-ia32-msvc/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-win32-ia32-msvc", - "version": "0.1.7", + "version": "0.2.0", "os": [ "win32" ], diff --git a/npm/win32-x64-msvc/package.json b/npm/win32-x64-msvc/package.json index b41406f..9846ad0 100644 --- a/npm/win32-x64-msvc/package.json +++ b/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "archons-napi-win32-x64-msvc", - "version": "0.1.7", + "version": "0.2.0", "os": [ "win32" ], diff --git a/package.json b/package.json index b19c2ae..d8613f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "archons", - "version": "0.1.7", + "version": "0.2.0", "description": "Fast, powerful and elegant CLI build tool based on clap-rs", "author": { "name": "苏向夜",