Skip to content

Commit

Permalink
pnpm to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Aug 6, 2024
1 parent 3bb0eb7 commit 8e9d19f
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 2,952 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.lockb binary diff=lockb
24 changes: 9 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
name: ci
name: CI

on:
push:
pull_request:

env:
NODE_VERSION: lts/*


jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v2
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run check
run: pnpm typecheck
- name: Run lint
run: pnpm lint
bun-version: latest
- run: bun i --frozen-lockfile
- run: bun run prepare
- run: bun run lint
- run: bun run typecheck
- run: bun run test
Binary file added bun.lockb
Binary file not shown.
23 changes: 19 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,39 @@
"name": "pkg-to-jsr",
"type": "module",
"version": "0.0.0",
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
"description": "",
"author": "ryoppippi",
"license": "MIT",
"keywords": [],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
}
},
"bin": {
"pkg-to-jsr": "dist/index.mjs"
},
"scripts": {
"build": "mkdist -d",
"build": "bun build src/index.ts",
"typecheck": "tsc --noEmit",
"release": "nr typecheck && nr test run && nr build && nlx bumpp && npm publish",
"lint": "eslint --cache .",
"format": "nr lint --fix",
"test": "vitest"
"test": "bun test",
"prepare": "ts-patch install && typia patch && nlx bunpare"
},
"devDependencies": {
"@antfu/ni": "^0.22.0",
"@ryoppippi/eslint-config": "npm:@jsr/ryoppippi__eslint-config@^0.0.21",
"@ryoppippi/unplugin-typia": "npm:@jsr/ryoppippi__unplugin-typia@^0.6.16",
"@types/bun": "^1.1.6",
"eslint": "^9.8.0",
"eslint-plugin-format": "^0.1.2",
"typescript": "^5.5.4"
"pathe": "^1.1.2",
"pkg-types": "^1.1.3",
"ts-patch": "^3.2.1",
"typescript": "^5.5.4",
"typia": "^6.7.2"
}
}
Loading

0 comments on commit 8e9d19f

Please sign in to comment.