Skip to content

Commit 2ca92fc

Browse files
Merge pull request #7 from gracefullight/chore/migrate-pnpm-to-bun-773986877751336960
2 parents 2d45802 + c0a7c3a commit 2ca92fc

File tree

10 files changed

+4303
-17164
lines changed

10 files changed

+4303
-17164
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: [22.x]
17+
node-version: [24.x]
1818
env:
1919
GIT_USER: github-actions[bot]
2020
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
@@ -23,18 +23,17 @@ jobs:
2323
- uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
26-
- uses: pnpm/action-setup@v4
26+
- uses: oven-sh/setup-bun@v2
2727
- name: SETUP_NODE_${{ matrix.node-version }}
2828
uses: actions/setup-node@v5
2929
with:
3030
node-version: ${{ matrix.node-version }}
31-
cache: pnpm
3231
- name: BEFORE_SCRIPT
3332
run: |
3433
# Configure git identity globally so commits in temp gh-pages clone succeed
3534
git config --global user.name "github-actions[bot]"
3635
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3736
- name: INSTALL_PACKAGES
38-
run: pnpm install --frozen-lockfile
37+
run: bun install --frozen-lockfile
3938
- name: DEPLOY
40-
run: pnpm --filter "@gracefullight/docusaurus-plugin-docs" run deploy
39+
run: bun run --filter "@gracefullight/docusaurus-plugin-docs" deploy

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm commitlint --edit $1
1+
bun run commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm lint-staged --config lint-staged.config.mjs
1+
bun run lint-staged --config lint-staged.config.mjs

.husky/prepare-commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm devmoji -e
1+
bun run devmoji -e

AGENTS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
- .changeset: Versioning and release metadata.
99

1010
## Build, Test, and Development Commands
11-
- `pnpm build`: Build all packages via Turbo (`dist/**`).
12-
- `pnpm dev`: Watch builds across packages.
13-
- `pnpm --filter <pkg> build`: Build a single package (e.g., `@gracefullight/docusaurus-plugin-sentry`).
14-
- `pnpm format`: Format code with Biome.
15-
- `pnpm lint`: Lint and auto-fix with Biome.
16-
- `pnpm publish-packages`: Build + version + publish with Changesets.
17-
- Requirements: Node `22`, pnpm `10`.
11+
- `bun run build`: Build all packages via Turbo (`dist/**`).
12+
- `bun run dev`: Watch builds across packages.
13+
- `bun run --filter <pkg> build`: Build a single package (e.g., `@gracefullight/docusaurus-plugin-sentry`).
14+
- `bun run format`: Format code with Biome.
15+
- `bun run lint`: Lint and auto-fix with Biome.
16+
- `bun run publish-packages`: Build + version + publish with Changesets.
17+
- Requirements: Node `24`, bun `1`.
1818

1919
## Coding Style & Naming Conventions
2020
- Indentation: 2 spaces; line width 80; LF endings; JS quotes: double (Biome enforced).

bun.lock

Lines changed: 4278 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
node = "24"
3+
bun = "1"

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@
1919
"turbo": "^2.5.8"
2020
},
2121
"engines": {
22-
"node": "22",
23-
"pnpm": "10"
22+
"node": "24",
23+
"bun": "1"
2424
},
2525
"name": "@gracefullight/docusaurus-plugins",
26-
"packageManager": "pnpm@10.19.0",
26+
"packageManager": "bun@1.2.14",
27+
"workspaces": [
28+
"packages/*",
29+
"apps/**",
30+
"!**/test/**"
31+
],
2732
"private": true,
2833
"repository": "https://github.com/gracefullight/docusaurus-plugins",
2934
"scripts": {

0 commit comments

Comments
 (0)