Skip to content

Commit

Permalink
Switch to Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Sep 10, 2023
1 parent 4d8c4ff commit 3213597
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 2,991 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: mskelton/setup-pnpm@v1
- run: pnpm build
- run: pnpm semantic-release
- uses: mskelton/setup-bun@v1
- run: bun run build
- run: bun semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pnpm-lock.yaml
/outline/
/solid/
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ yarn add @mskelton/icons
pnpm add @mskelton/icons
```

### Bun

```bash
bun add @mskelton/icons
```

## Usage

This package provides rounded
Expand Down
Binary file added bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"access": "public"
},
"author": "Mark Skelton",
"packageManager": "[email protected]",
"repository": "github:mskelton/icons",
"homepage": "https://github.com/mskelton/icons#readme",
"bugs": {
Expand All @@ -19,8 +18,8 @@
"material-symbols"
],
"scripts": {
"build": "node ./scripts/build.js",
"format": "prettier --write ."
"build": "bun ./scripts/build.js",
"fmt": "prettier --write ."
},
"type": "module",
"exports": {
Expand All @@ -45,6 +44,7 @@
"@babel/plugin-transform-react-jsx": "^7.21.0",
"@material-symbols/svg-700": "^0.5.0",
"@svgr/core": "^6.5.1",
"bun-types": "^1.0.1",
"change-case": "^4.1.2",
"prettier": "^2.8.4",
"semantic-release": "^20.1.3"
Expand Down
Loading

0 comments on commit 3213597

Please sign in to comment.