diff --git a/.changeset/config.json b/.changeset/config.json index 2fa550f..a4932ff 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,11 +1,19 @@ { "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", - "changelog": "@changesets/cli/changelog", + "changelog": [ + "@changesets/changelog-github", + { "repo": "I-Want-ToBelieve/yakite" } + ], "commit": false, - "fixed": [["yakite-*", "krohnkite-core"]], - "linked": [], "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [] + "privatePackages": { "version": true, "tag": true }, + "ignore": [], + "snapshot": { + "useCalculatedVersion": true, + "prereleaseTemplate": "{tag}-{commit}-{datetime}" + }, + "linked": [], + "fixed": [["yakite-*", "krohnkite-core"]] } diff --git a/.github/workflows/release-bin.yml b/.github/workflows/release-bin.yml index e543341..cc94440 100644 --- a/.github/workflows/release-bin.yml +++ b/.github/workflows/release-bin.yml @@ -5,6 +5,17 @@ on: types: [created] jobs: + check_tag: + runs-on: ubuntu-latest + steps: + - name: Check if tag matches yakite-toast@ + run: | + if [[ "${{ github.event.release.tag_name }}" =~ ^yakite-toast@ ]]; then + echo "Tag matches yakite-toast@, proceeding with the workflow." + else + echo "Tag does not match yakite-toast@, stopping the workflow." + exit 1 + fi upload: runs-on: macos-latest steps: diff --git a/.github/workflows/release-crates.yml b/.github/workflows/release-crates.yml index 0e3a804..781facc 100644 --- a/.github/workflows/release-crates.yml +++ b/.github/workflows/release-crates.yml @@ -3,7 +3,7 @@ name: Publish to Crates.io on: push: tags: - - '*' + - 'yakite@*' # only yakite@x.x.x jobs: publish: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c1fd6c..f8ad575 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,6 @@ jobs: # this expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm run release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # https://stackoverflow.com/questions/75348291/how-to-trigger-github-actions-workflow-whenever-a-new-tag-was-pushed NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/apps/krohnkite-core/CHANGELOG.md b/apps/krohnkite-core/CHANGELOG.md index 3e7e444..1939549 100644 --- a/apps/krohnkite-core/CHANGELOG.md +++ b/apps/krohnkite-core/CHANGELOG.md @@ -1,5 +1,11 @@ # krohnkite-core +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + ## 0.1.2 ### Patch Changes diff --git a/apps/krohnkite-core/package.json b/apps/krohnkite-core/package.json index 330ff93..589467e 100644 --- a/apps/krohnkite-core/package.json +++ b/apps/krohnkite-core/package.json @@ -1,6 +1,6 @@ { "name": "krohnkite-core", - "version": "0.1.2", + "version": "0.1.3", "description": "", "type": "module", "main": "./dist/index.js", diff --git a/apps/yakite-bridge/CHANGELOG.md b/apps/yakite-bridge/CHANGELOG.md index 2a0ff65..c734ff8 100644 --- a/apps/yakite-bridge/CHANGELOG.md +++ b/apps/yakite-bridge/CHANGELOG.md @@ -1,5 +1,17 @@ # yakite-bridge +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + +- Updated dependencies [[`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b)]: + - krohnkite-core@0.1.3 + - yakite-config@0.1.3 + - yakite-message@0.1.3 + - yakite-yabai@0.1.3 + ## 0.1.2 ### Patch Changes diff --git a/apps/yakite-bridge/package.json b/apps/yakite-bridge/package.json index 49f742c..4f31c72 100644 --- a/apps/yakite-bridge/package.json +++ b/apps/yakite-bridge/package.json @@ -1,6 +1,6 @@ { "name": "yakite-bridge", - "version": "0.1.2", + "version": "0.1.3", "description": "A dynamic tiled window management that bridges the gap between yabai and krohnkite", "type": "module", "main": "./dist/index.js", diff --git a/apps/yakite-config/CHANGELOG.md b/apps/yakite-config/CHANGELOG.md index 9808554..dfffea1 100644 --- a/apps/yakite-config/CHANGELOG.md +++ b/apps/yakite-config/CHANGELOG.md @@ -1,5 +1,14 @@ # yakite-config +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + +- Updated dependencies [[`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b)]: + - krohnkite-core@0.1.3 + ## 0.1.2 ### Patch Changes diff --git a/apps/yakite-config/package.json b/apps/yakite-config/package.json index 9ab36e9..f3f5f20 100644 --- a/apps/yakite-config/package.json +++ b/apps/yakite-config/package.json @@ -1,6 +1,6 @@ { "name": "yakite-config", - "version": "0.1.2", + "version": "0.1.3", "description": "A dynamic tiled window management that bridges the gap between yabai and krohnkite", "type": "module", "main": "./dist/index.js", diff --git a/apps/yakite-daemon/CHANGELOG.md b/apps/yakite-daemon/CHANGELOG.md index 4c5c22e..b90b6b5 100644 --- a/apps/yakite-daemon/CHANGELOG.md +++ b/apps/yakite-daemon/CHANGELOG.md @@ -1,5 +1,18 @@ # yakite-daemon +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + +- Updated dependencies [[`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b)]: + - krohnkite-core@0.1.3 + - yakite-bridge@0.1.3 + - yakite-config@0.1.3 + - yakite-message@0.1.3 + - yakite-yabai@0.1.3 + ## 0.1.2 ### Patch Changes diff --git a/apps/yakite-daemon/package.json b/apps/yakite-daemon/package.json index 7fae969..f4dc495 100644 --- a/apps/yakite-daemon/package.json +++ b/apps/yakite-daemon/package.json @@ -1,6 +1,6 @@ { "name": "yakite-daemon", - "version": "0.1.2", + "version": "0.1.3", "description": "A dynamic tiled window management that bridges the gap between yabai and krohnkite", "type": "module", "main": "./dist/index.js", diff --git a/apps/yakite-message/CHANGELOG.md b/apps/yakite-message/CHANGELOG.md index a32a536..da8e128 100644 --- a/apps/yakite-message/CHANGELOG.md +++ b/apps/yakite-message/CHANGELOG.md @@ -1,5 +1,11 @@ # yakite-message +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + ## 0.1.2 ### Patch Changes diff --git a/apps/yakite-message/package.json b/apps/yakite-message/package.json index 43a8231..cffecfc 100644 --- a/apps/yakite-message/package.json +++ b/apps/yakite-message/package.json @@ -1,6 +1,6 @@ { "name": "yakite-message", - "version": "0.1.2", + "version": "0.1.3", "description": "A dynamic tiled window management that bridges the gap between yabai and krohnkite", "type": "module", "main": "./dist/index.js", diff --git a/apps/yakite-toast/CHANGELOG.md b/apps/yakite-toast/CHANGELOG.md index 53d2d8c..632db6d 100644 --- a/apps/yakite-toast/CHANGELOG.md +++ b/apps/yakite-toast/CHANGELOG.md @@ -1,5 +1,11 @@ # yakite-toast +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + ## 0.1.2 ### Patch Changes diff --git a/apps/yakite-toast/package.json b/apps/yakite-toast/package.json index 3b54c6d..f498d07 100644 --- a/apps/yakite-toast/package.json +++ b/apps/yakite-toast/package.json @@ -1,11 +1,11 @@ { "name": "yakite-toast", "private": true, - "version": "0.1.2", + "version": "0.1.3", "changesetsExtra": { "language": "objective-c", "sources": ["src/yakite-toast.m"], "versionUpdatePolicy": "source-code-replacement", - "prevVersion": "0.1.2" + "prevVersion": "0.1.3" } } diff --git a/apps/yakite-toast/src/yakite-toast.m b/apps/yakite-toast/src/yakite-toast.m index 5350076..2c7ec0e 100644 --- a/apps/yakite-toast/src/yakite-toast.m +++ b/apps/yakite-toast/src/yakite-toast.m @@ -52,7 +52,7 @@ int main(int argc, const char * argv[]) { BOOL help = [arguments containsObject:@"--help"]; if (version) { - printf("Version: 0.1.2\n"); + printf("Version: 0.1.3\n"); return 0; } diff --git a/apps/yakite-yabai/CHANGELOG.md b/apps/yakite-yabai/CHANGELOG.md index 9d0537c..9437ee3 100644 --- a/apps/yakite-yabai/CHANGELOG.md +++ b/apps/yakite-yabai/CHANGELOG.md @@ -1,5 +1,11 @@ # yakite-yabai +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + ## 0.1.2 ### Patch Changes diff --git a/apps/yakite-yabai/package.json b/apps/yakite-yabai/package.json index a437e5e..528c19d 100644 --- a/apps/yakite-yabai/package.json +++ b/apps/yakite-yabai/package.json @@ -1,6 +1,6 @@ { "name": "yakite-yabai", - "version": "0.1.2", + "version": "0.1.3", "description": "A dynamic tiled window management that bridges the gap between yabai and krohnkite", "type": "module", "main": "./dist/index.js", diff --git a/apps/yakite/CHANGELOG.md b/apps/yakite/CHANGELOG.md index bb7584e..52332ff 100644 --- a/apps/yakite/CHANGELOG.md +++ b/apps/yakite/CHANGELOG.md @@ -1,5 +1,11 @@ # yakite +## 0.1.3 + +### Patch Changes + +- [`2098cc9`](https://github.com/I-Want-ToBelieve/yakite/commit/2098cc9f46d150498a8327d344dd7811748d5a8b) Thanks [@I-Want-ToBelieve](https://github.com/I-Want-ToBelieve)! - chore: release crates and use @changesets/changelog-github + ## 0.1.2 ### Patch Changes diff --git a/apps/yakite/Cargo.toml b/apps/yakite/Cargo.toml index 11745de..59d62af 100644 --- a/apps/yakite/Cargo.toml +++ b/apps/yakite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yakite" -version = "0.1.2" +version = "0.1.3" edition = "2021" description = "A dynamic tiled window management that bridges the gap between yabai and krohnkite" diff --git a/apps/yakite/package.json b/apps/yakite/package.json index 97421c9..44594de 100644 --- a/apps/yakite/package.json +++ b/apps/yakite/package.json @@ -1,7 +1,7 @@ { "name": "yakite", "private": true, - "version": "0.1.2", + "version": "0.1.3", "changesetsExtra": { "language": "rust", "sources": [], diff --git a/package.json b/package.json index d573bf0..53757a1 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "homepage": "https://github.com/I-Want-ToBelieve/yakite", "bugs": "https://github.com/I-Want-ToBelieve/yakite/issues", "dependencies": { + "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.2", "@iarna/toml": "^2.2.5", "@manypkg/cli": "^0.21.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5ac8d01..c40de0b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + '@changesets/changelog-github': + specifier: ^0.4.8 + version: 0.4.8 '@changesets/cli': specifier: ^2.26.2 version: 2.26.2 @@ -237,6 +240,16 @@ packages: '@changesets/types': 5.2.1 dev: false + /@changesets/changelog-github@0.4.8: + resolution: {integrity: sha512-jR1DHibkMAb5v/8ym77E4AMNWZKB5NPzw5a5Wtqm1JepAuIF+hrKp2u04NKM14oBZhHglkCfrla9uq8ORnK/dw==} + dependencies: + '@changesets/get-github-info': 0.5.2 + '@changesets/types': 5.2.1 + dotenv: 8.6.0 + transitivePeerDependencies: + - encoding + dev: false + /@changesets/cli@2.26.2: resolution: {integrity: sha512-dnWrJTmRR8bCHikJHl9b9HW3gXACCehz4OasrXpMp7sx97ECuBGGNjJhjPhdZNCvMy9mn4BWdplI323IbqsRig==} hasBin: true @@ -304,6 +317,15 @@ packages: semver: 7.5.4 dev: false + /@changesets/get-github-info@0.5.2: + resolution: {integrity: sha512-JppheLu7S114aEs157fOZDjFqUDpm7eHdq5E8SSR0gUBTEK0cNSHsrSR5a66xs0z3RWuo46QvA3vawp8BxDHvg==} + dependencies: + dataloader: 1.4.0 + node-fetch: 2.7.0 + transitivePeerDependencies: + - encoding + dev: false + /@changesets/get-release-plan@3.0.17: resolution: {integrity: sha512-6IwKTubNEgoOZwDontYc2x2cWXfr6IKxP3IhKeK+WjyD6y3M4Gl/jdQvBw+m/5zWILSOCAaGLu2ZF6Q+WiPniw==} dependencies: @@ -2227,6 +2249,10 @@ packages: stream-transform: 2.1.3 dev: false + /dataloader@1.4.0: + resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} + dev: false + /debounce-fn@5.1.2: resolution: {integrity: sha512-Sr4SdOZ4vw6eQDvPYNxHogvrxmCIld/VenC5JbNrFwMiwd7lY/Z18ZFfo+EWNG4DD9nFlAujWAo/wGuOPHmy5A==} engines: {node: '>=12'} @@ -2352,6 +2378,11 @@ packages: type-fest: 3.13.1 dev: false + /dotenv@8.6.0: + resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==} + engines: {node: '>=10'} + dev: false + /duplexer3@0.1.5: resolution: {integrity: sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==} dev: false @@ -4259,6 +4290,18 @@ packages: resolution: {integrity: sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==} dev: false + /node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + dependencies: + whatwg-url: 5.0.0 + dev: false + /normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: @@ -5401,6 +5444,10 @@ packages: is-number: 7.0.0 dev: false + /tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + dev: false + /tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} dependencies: @@ -5791,10 +5838,21 @@ packages: defaults: 1.0.4 dev: false + /webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + dev: false + /webidl-conversions@4.0.2: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} dev: false + /whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + dev: false + /whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} dependencies: