Skip to content

🏗️ yarn -> bun #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
fetch-depth: 2

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 20
bun-version: 1.2.2

- name: Install dependencies
run: yarn
run: bun i

- name: Build
run: yarn build
run: bun run build

- name: Lint & Format
run: yarn run check
run: bun check
35 changes: 5 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,34 +1,9 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
.pnp
.pnp.js

# testing
coverage

# next.js
.next/
out/
build
dist

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.local
.env.production.local

# turbo
.env.test.local
.turbo
coverage
dist
node_modules
511 changes: 511 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[install]
exact = true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"engines": {
"node": ">=20.0.0"
},
"packageManager": "yarn@1.22.22"
"packageManager": "bun@1.2.2"
}
2 changes: 1 addition & 1 deletion packages/truffle-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"types": "./dist/index.d.ts",
"license": "MIT",
"scripts": {
"dev": "yarn build -- --watch",
"dev": "bun run build -- --watch",
"build": "tsup src/index.ts --format cjs --dts"
},
"files": ["dist/index.js", "dist/index.d.ts"],
Expand Down
Loading