Skip to content

Commit 1322f30

Browse files
authored
🏗️ yarn -> bun (#21)
1 parent 2225699 commit 1322f30

File tree

7 files changed

+526
-1635
lines changed

7 files changed

+526
-1635
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Check out code
17-
uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
17+
- uses: oven-sh/setup-bun@v2
1818
with:
19-
fetch-depth: 2
20-
21-
- name: Setup Node.js environment
22-
uses: actions/setup-node@v3
23-
with:
24-
node-version: 20
19+
bun-version: 1.2.2
2520

2621
- name: Install dependencies
27-
run: yarn
22+
run: bun i
2823

2924
- name: Build
30-
run: yarn build
25+
run: bun run build
3126

3227
- name: Lint & Format
33-
run: yarn run check
28+
run: bun check

.gitignore

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,9 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
node_modules
5-
.pnp
6-
.pnp.js
7-
8-
# testing
9-
coverage
10-
11-
# next.js
12-
.next/
13-
out/
14-
build
15-
dist
16-
17-
# misc
181
.DS_Store
19-
*.pem
20-
21-
# debug
22-
npm-debug.log*
23-
yarn-debug.log*
24-
yarn-error.log*
25-
.pnpm-debug.log*
26-
27-
# local env files
28-
.env.local
292
.env.development.local
30-
.env.test.local
3+
.env.local
314
.env.production.local
32-
33-
# turbo
5+
.env.test.local
346
.turbo
7+
coverage
8+
dist
9+
node_modules

bun.lock

Lines changed: 511 additions & 0 deletions
Large diffs are not rendered by default.

bunfig.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install]
2+
exact = true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
"engines": {
1919
"node": ">=20.0.0"
2020
},
21-
"packageManager": "yarn@1.22.22"
21+
"packageManager": "bun@1.2.2"
2222
}

packages/truffle-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"types": "./dist/index.d.ts",
66
"license": "MIT",
77
"scripts": {
8-
"dev": "yarn build -- --watch",
8+
"dev": "bun run build -- --watch",
99
"build": "tsup src/index.ts --format cjs --dts"
1010
},
1111
"files": ["dist/index.js", "dist/index.d.ts"],

0 commit comments

Comments
 (0)