Skip to content

Commit

Permalink
Migrate to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDeVries committed Nov 28, 2023
1 parent b2883ae commit d20e4d9
Show file tree
Hide file tree
Showing 27 changed files with 10 additions and 4,131 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# dependencies
.yarn
node_modules

# production
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Run install
uses: borales/[email protected]
- name: Install Bun
uses: oven-sh/setup-bun@v1
with:
cmd: install # will run `yarn install` command
bun-version: latest

- name: Build package bundle
uses: borales/[email protected]
with:
cmd: build # will run `yarn build` command
- name: Install dependencies
run: bun install

- name: Build package bundle
run: bun run build

- name: Zip build
id: zip
run: |
Expand Down
11 changes: 0 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

# dependencies
/node_modules
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# production
dist
Expand All @@ -22,7 +15,3 @@ dist
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# dependencies
.yarn
node_modules

# production
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
nodejs 20.6.1
bun 1.0.14
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"recommendations": [
"arcanis.vscode-zipfs",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
Expand Down
10 changes: 0 additions & 10 deletions .vscode/settings.json

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/eslint/bin/eslint.js

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/eslint/lib/api.js

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/eslint/lib/unsupported-api.js

This file was deleted.

14 changes: 0 additions & 14 deletions .yarn/sdks/eslint/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions .yarn/sdks/integrations.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/prettier/bin/prettier.cjs

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/prettier/index.cjs

This file was deleted.

7 changes: 0 additions & 7 deletions .yarn/sdks/prettier/package.json

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/typescript/bin/tsc

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/typescript/bin/tsserver

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/typescript/lib/tsc.js

This file was deleted.

Loading

0 comments on commit d20e4d9

Please sign in to comment.