Skip to content

Commit ecde294

Browse files
chore: change to a usable package manager (#10)
* chore: release main * Update Cargo.lock * chore(client): reversion * Update CHANGELOG.md * chore: move to a usage package manager --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 80e57fb commit ecde294

14 files changed

Lines changed: 80 additions & 47 deletions

File tree

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Validations
66

7-
- [ ] I have run `bun run fix` and `bun run check`.
7+
- [ ] I have run `pnpm run fix` and `pnpm run check`.
88
- [ ] If I used AI to create this PR beyond simple autocomplete, I have checked this box for responsible disclosure. <!-- If you have a plan file for this PR consider including it so I can see your thought process -->
99
- [ ] If this PR requires a package release, I have titled it using Conventional Commits.
1010
<!--

.github/workflows/publish-npm.yml

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -62,29 +62,23 @@ jobs:
6262
steps:
6363
- uses: actions/checkout@v4
6464

65-
- name: Setup Bun
66-
uses: oven-sh/setup-bun@v2
67-
with:
68-
bun-version: 1.2.13
69-
70-
- name: Setup Node
65+
- name: Setup pnpm
66+
uses: pnpm/action-setup@v4
67+
- name: Setup Node for OIDC token exchange
7168
uses: actions/setup-node@v4
7269
with:
7370
node-version: lts/*
7471
registry-url: https://registry.npmjs.org
7572

76-
- name: Upgrade npm CLI
77-
run: npm install -g npm@latest
78-
7973
- name: Install dependencies
80-
run: bun install --frozen-lockfile
74+
run: pnpm install --frozen-lockfile
8175

8276
- name: Build client package
83-
run: bun --cwd packages/client-js build
77+
run: pnpm --filter @getbizi/client build
8478

85-
- name: Publish client with provenance
79+
- name: Publish client
8680
working-directory: packages/client-js
87-
run: npm publish --access public --provenance
81+
run: pnpm publish --access public --provenance
8882

8983
publish-tui:
9084
needs: [resolve-release-set]
@@ -96,37 +90,37 @@ jobs:
9690
steps:
9791
- uses: actions/checkout@v4
9892

99-
- name: Setup Bun
93+
- name: Setup pnpm
94+
uses: pnpm/action-setup@v4
95+
96+
- name: Setup Bun (for TUI compilation)
10097
uses: oven-sh/setup-bun@v2
10198
with:
10299
bun-version: 1.2.13
103100

104-
- name: Setup Node
101+
- name: Setup Node for OIDC token exchange
105102
uses: actions/setup-node@v4
106103
with:
107104
node-version: lts/*
108105
registry-url: https://registry.npmjs.org
109106

110-
- name: Upgrade npm CLI
111-
run: npm install -g npm@latest
112-
113107
- name: Install dependencies
114-
run: bun install --frozen-lockfile
108+
run: pnpm install --frozen-lockfile
115109

116110
- name: Build client package
117-
run: bun --cwd packages/client-js build
111+
run: pnpm --filter @getbizi/client build
118112

119113
- name: Build TUI artifacts for npm packages
120114
run: |
121-
bun --cwd apps/tui compile:all
122-
bun --cwd apps/tui build:bundle
115+
pnpm --filter bizi compile:all
116+
pnpm --filter bizi build:bundle
123117
124118
- name: Publish TUI platform packages first
125119
run: |
126-
npm publish ./apps/tui/packages/bizi-darwin-arm64 --access public --provenance
127-
npm publish ./apps/tui/packages/bizi-darwin-x64 --access public --provenance
128-
npm publish ./apps/tui/packages/bizi-win32-x64 --access public --provenance
129-
npm publish ./apps/tui/packages/bizi-win32-arm64 --access public --provenance
120+
pnpm publish ./apps/tui/packages/bizi-darwin-arm64 --access public --provenance
121+
pnpm publish ./apps/tui/packages/bizi-darwin-x64 --access public --provenance
122+
pnpm publish ./apps/tui/packages/bizi-win32-x64 --access public --provenance
123+
pnpm publish ./apps/tui/packages/bizi-win32-arm64 --access public --provenance
130124
131125
- name: Publish main TUI package
132-
run: npm publish ./apps/tui --access public --provenance
126+
run: pnpm publish ./apps/tui --access public --provenance

apps/tui/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## [0.1.0](https://github.com/ieedan/bizi/compare/tui-v0.0.3...tui-v0.1.0) (2026-02-16)
4+
5+
6+
### Features
7+
8+
* add cli commands to tui ([#4](https://github.com/ieedan/bizi/issues/4)) ([700f92d](https://github.com/ieedan/bizi/commit/700f92dac39404e64a9bbf373791d81e1f30b910))
9+
* show dialog to cancel running tasks before exiting ([#3](https://github.com/ieedan/bizi/issues/3)) ([0e63df4](https://github.com/ieedan/bizi/commit/0e63df45454cac5e01affac24e0e72de4dc369fa))
10+
* trigger release for all packages ([cbe8c25](https://github.com/ieedan/bizi/commit/cbe8c2590a5984c9672e14d134abd723cb07696d))
11+
* tui ([#1](https://github.com/ieedan/bizi/issues/1)) ([8ccd8f6](https://github.com/ieedan/bizi/commit/8ccd8f6f0b8c8f174f357537a47554381e1dad72))
12+
13+
14+
### Bug Fixes
15+
16+
* **client:** rename createTaskRunnerApi -&gt; createBiziApi ([2c35f91](https://github.com/ieedan/bizi/commit/2c35f9169f9e4b7ec345da286c291bd0c122d58c))
17+
* **tui:** improve / run handling ([4d733df](https://github.com/ieedan/bizi/commit/4d733df34f184b4554a33e2b0829459b4a58a0bf))
18+
319
## [0.2.0](https://github.com/ieedan/bizi/compare/tui-v0.1.0...tui-v0.2.0) (2026-02-16)
420

521

apps/tui/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"compile:darwin-x64": "bun run scripts/build.ts compile darwin-x64",
2222
"compile:win32-x64": "bun run scripts/build.ts compile windows-x64",
2323
"compile:win32-arm64": "bun run scripts/build.ts compile windows-arm64",
24-
"compile:all": "bun run scripts/build.ts compile-all",
25-
"pack": "bun run compile:all && bun run build:bundle && bun run compile:all && bun pm pack"
24+
"compile:all": "bun run scripts/build.ts compile-all"
2625
},
2726
"optionalDependencies": {
2827
"@getbizi/bizi-darwin-arm64": "workspace:*",
@@ -50,4 +49,3 @@
5049
"zod": "^4.3.6"
5150
}
5251
}
53-

apps/tui/packages/bizi-darwin-arm64/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.1.0](https://github.com/ieedan/bizi/compare/tui-darwin-arm64-v0.0.3...tui-darwin-arm64-v0.1.0) (2026-02-16)
4+
5+
6+
### Features
7+
8+
* trigger release for all packages ([cbe8c25](https://github.com/ieedan/bizi/commit/cbe8c2590a5984c9672e14d134abd723cb07696d))
9+
310
## [0.2.0](https://github.com/ieedan/bizi/compare/tui-darwin-arm64-v0.1.0...tui-darwin-arm64-v0.2.0) (2026-02-16)
411

512

apps/tui/packages/bizi-darwin-x64/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.1.0](https://github.com/ieedan/bizi/compare/tui-darwin-x64-v0.0.3...tui-darwin-x64-v0.1.0) (2026-02-16)
4+
5+
6+
### Features
7+
8+
* trigger release for all packages ([cbe8c25](https://github.com/ieedan/bizi/commit/cbe8c2590a5984c9672e14d134abd723cb07696d))
9+
310
## [0.2.0](https://github.com/ieedan/bizi/compare/tui-darwin-x64-v0.1.0...tui-darwin-x64-v0.2.0) (2026-02-16)
411

512

apps/tui/packages/bizi-win32-arm64/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.1.0](https://github.com/ieedan/bizi/compare/tui-win32-arm64-v0.0.3...tui-win32-arm64-v0.1.0) (2026-02-16)
4+
5+
6+
### Features
7+
8+
* trigger release for all packages ([cbe8c25](https://github.com/ieedan/bizi/commit/cbe8c2590a5984c9672e14d134abd723cb07696d))
9+
310
## [0.2.0](https://github.com/ieedan/bizi/compare/tui-win32-arm64-v0.1.0...tui-win32-arm64-v0.2.0) (2026-02-16)
411

512

apps/tui/packages/bizi-win32-x64/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.1.0](https://github.com/ieedan/bizi/compare/tui-win32-x64-v0.0.3...tui-win32-x64-v0.1.0) (2026-02-16)
4+
5+
6+
### Features
7+
8+
* trigger release for all packages ([cbe8c25](https://github.com/ieedan/bizi/commit/cbe8c2590a5984c9672e14d134abd723cb07696d))
9+
310
## [0.2.0](https://github.com/ieedan/bizi/compare/tui-win32-x64-v0.1.0...tui-win32-x64-v0.2.0) (2026-02-16)
411

512

apps/tui/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ function App() {
399399
clearTaskSearch();
400400
return true;
401401
}
402-
if (key.name === "enter" || key.name === "return") {
402+
if (key.name === 'enter' || key.name === "return") {
403403
handleTaskSearchSubmit();
404404
return true;
405405
}

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44
"homepage": "https://getbizi.dev",
55
"private": true,
66
"type": "module",
7-
"packageManager": "bun@1.2.13",
8-
"workspaces": [
9-
"apps/**",
10-
"packages/**"
11-
],
7+
"packageManager": "pnpm@10.28.2",
128
"scripts": {
13-
"generate:clients": "bun run --filter './packages/client-*' generate",
9+
"generate:clients": "pnpm --filter './packages/client-*' generate",
1410
"check": "ultracite check",
1511
"fix": "ultracite fix"
1612
},

0 commit comments

Comments
 (0)