Skip to content

Commit 6e9f246

Browse files
committed
init commit - replace pnpm with bun
1 parent cb1efdb commit 6e9f246

File tree

206 files changed

+888
-82853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+888
-82853
lines changed

.devcontainer/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM $BASE_IMAGE
44

55
ENV DEBIAN_FRONTEND=noninteractive
66

7-
# Install pnpm globally and install necessary build tools
7+
# Install bun globally and install necessary build tools
88
RUN apt-get update \
99
&& apt-get install -y \
1010
git \
@@ -17,7 +17,7 @@ RUN apt-get update \
1717
&& rm -rf /var/lib/apt/lists/*
1818

1919
ARG PNPM_VER=9.15.2
20-
RUN npm install -g pnpm@${PNPM_VER}
20+
RUN npm install -g bun@${PNPM_VER}
2121

2222
# Set Python 3 as the default python
2323
RUN ln -s /usr/bin/python3 /usr/bin/python

.github/workflows/ci.yaml

+5-8
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,15 @@ jobs:
1414
TURBO_REMOTE_ONLY: true
1515
steps:
1616
- uses: actions/checkout@v4
17-
18-
- uses: pnpm/action-setup@v3
19-
with:
20-
version: 9.4.0
17+
- uses: oven-sh/setup-bun@v2
2118

2219
- uses: actions/setup-node@v4
2320
with:
2421
node-version: "23"
25-
cache: "pnpm"
22+
cache: "bun"
2623

2724
- name: Install dependencies
28-
run: pnpm install -r --no-frozen-lockfile
25+
run: bun install
2926

3027
- name: Setup Biome CLI
3128
uses: biomejs/setup-biome@v2
@@ -41,10 +38,10 @@ jobs:
4138
echo "NODE_ENV=test" >> packages/core/.env.test
4239
4340
- name: Run tests
44-
run: cd packages/core && pnpm test:coverage
41+
run: cd packages/core && bun test:coverage
4542

4643
- name: Build packages
47-
run: pnpm run build
44+
run: bun run build
4845

4946
- name: Upload coverage reports to Codecov
5047
uses: codecov/codecov-action@v5

.github/workflows/integrationTests.yaml

+6-8
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,18 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- uses: pnpm/action-setup@v3
22-
with:
23-
version: 9.4.0
21+
- uses: oven-sh/setup-bun@v2
2422

2523
- uses: actions/setup-node@v4
2624
with:
27-
node-version: "23.3"
28-
cache: "pnpm"
25+
node-version: "23"
26+
cache: "bun"
2927

3028
- name: Install dependencies
31-
run: pnpm install --no-frozen-lockfile
29+
run: bun install
3230

3331
- name: Build packages
34-
run: pnpm build
32+
run: bun run build
3533

3634
- name: Check for API key
3735
run: |
@@ -41,4 +39,4 @@ jobs:
4139
fi
4240
4341
- name: Run integration tests
44-
run: pnpm run integrationTests
42+
run: bun run integrationTests

.github/workflows/jsdoc-automation.yml

+10-13
Original file line numberDiff line numberDiff line change
@@ -55,39 +55,36 @@ jobs:
5555
- name: Setup Node.js
5656
uses: actions/setup-node@v4
5757
with:
58-
node-version: "20"
58+
node-version: "23"
5959

60-
- name: Install pnpm
61-
uses: pnpm/action-setup@v2
62-
with:
63-
version: 8
64-
run_install: false
60+
- name: Install bun
61+
- uses: oven-sh/setup-bun@v2
6562

6663
- name: Update lockfile
6764
working-directory: scripts/jsdoc-automation
6865
run: |
6966
echo "Updating lockfile..."
70-
pnpm install --no-frozen-lockfile
67+
bun install
7168
git config --global user.email "github-actions[bot]@users.noreply.github.com"
7269
git config --global user.name "github-actions[bot]"
73-
git add pnpm-lock.yaml
74-
git commit -m "chore: update pnpm lockfile" || echo "No changes to commit"
70+
git add bun.lockb
71+
git commit -m "chore: update bun lockfile" || echo "No changes to commit"
7572
git push || echo "No changes to push"
7673
7774
- name: Install root dependencies
78-
run: pnpm install --no-frozen-lockfile
75+
run: bun install
7976

8077
- name: Install package dependencies
8178
working-directory: scripts/jsdoc-automation
82-
run: pnpm install --no-frozen-lockfile
79+
run: bun install
8380

8481
- name: Build TypeScript
8582
working-directory: scripts/jsdoc-automation
86-
run: pnpm build
83+
run: bun run build
8784

8885
- name: Run documentation generator
8986
working-directory: scripts/jsdoc-automation
90-
run: pnpm start
87+
run: bun start
9188
env:
9289
INPUT_ROOT_DIRECTORY: ${{ inputs.root_directory }}
9390
INPUT_PULL_NUMBER: ${{ inputs.pull_number }}

.github/workflows/pnpm-lockfile-check.yml

-41
This file was deleted.

.github/workflows/pre-release.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 22
21+
node-version: "23"
2222

23-
- uses: pnpm/action-setup@v3
24-
with:
25-
version: 8
23+
- uses: oven-sh/setup-bun@v2
2624

2725
- name: Configure Git
2826
run: |
@@ -38,10 +36,10 @@ jobs:
3836
run: sudo apt-get install -y protobuf-compiler
3937

4038
- name: Install dependencies
41-
run: pnpm install
39+
run: bun install
4240

4341
- name: Build packages
44-
run: pnpm run build
42+
run: bun run build
4543

4644
- name: Tag and Publish Packages
4745
id: tag_publish
@@ -67,7 +65,7 @@ jobs:
6765
uses: actions/create-release@v1
6866
env:
6967
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
70-
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
68+
PNPM_HOME: /home/runner/setup-bun/node_modules/.bin
7169
with:
7270
tag_name: ${{ steps.get_tag.outputs.TAG }}
7371
release_name: Release

.github/workflows/release.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ jobs:
1515

1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 23.3.0
18+
node-version: "23"
1919

20-
- uses: pnpm/action-setup@v3
21-
with:
22-
version: 9.15.0
20+
- uses: oven-sh/setup-bun@v2
2321

2422
- name: Configure Git
2523
run: |
@@ -35,10 +33,10 @@ jobs:
3533
run: sudo apt-get install -y protobuf-compiler
3634

3735
- name: Install dependencies
38-
run: pnpm install -r --no-frozen-lockfile
36+
run: bun install
3937

4038
- name: Build packages
41-
run: pnpm run build
39+
run: bun run build
4240

4341
- name: Publish Packages
4442
id: publish

.github/workflows/smoke-tests.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21-
- uses: pnpm/action-setup@v3
22-
with:
23-
version: 9.4.0
21+
- uses: oven-sh/setup-bun@v2
2422

2523
- uses: actions/setup-node@v4
2624
with:
27-
node-version: "23.3"
28-
cache: "pnpm"
25+
node-version: "23"
26+
cache: "bun"
2927

3028
- name: Run smoke tests
31-
run: pnpm run smokeTests
29+
run: bun run smokeTests

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ tsup.config.bundled_*.mjs
5959

6060
.turbo
6161
.cursorrules
62-
.pnpm-store
6362
instructions.md
6463
wallet_data.txt
6564

.gitpod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ tasks:
44
nvm install v23.3.0
55
git fetch --tags
66
git checkout $(git describe --tags --abbrev=0)
7-
command: pnpm install && pnpm run build
7+
command: bun install && bun run build

0 commit comments

Comments
 (0)