Skip to content
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
19 changes: 7 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
- uses: oven-sh/setup-bun@v2
with:
version: 10
bun-version: latest

- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- run: pnpm install --frozen-lockfile
- run: bun install --frozen-lockfile

- run: pnpm test
- run: bun run test

- run: pnpm lint
- run: bun run lint

- run: pnpm format:check
- run: bun run format:check

- run: pnpm typecheck
- run: bun run typecheck
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,18 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4
- uses: oven-sh/setup-bun@v2
with:
version: 10
bun-version: latest

- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
registry-url: https://registry.npmjs.org

- run: pnpm install --frozen-lockfile
- run: bun install --frozen-lockfile

- run: pnpm build
- run: bun build

- name: Configure npm auth
run: |
Expand All @@ -45,7 +44,7 @@ jobs:
- name: Create release PR or publish
uses: changesets/action@v1
with:
publish: pnpm changeset publish
publish: bunx changeset publish
title: 'chore: release packages'
commit: 'chore: release packages'
env:
Expand Down
1,667 changes: 1,667 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

24 changes: 13 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"name": "route-auditor-monorepo",
"private": true,
"scripts": {
"dev": "pnpm --filter web dev",
"build": "pnpm -r build",
"build:cli": "pnpm --filter cli build",
"build:web": "pnpm --filter web build",
"test": "pnpm --filter cli test",
"dev": "bun --filter web dev",
"build": "bun --filter '*' build",
"build:cli": "bun --filter @route-auditor/cli build",
"build:web": "bun --filter web dev",
"test": "bun --filter @route-auditor/cli test",
"lint": "eslint packages/",
"lint:fix": "eslint packages/ --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "pnpm -r typecheck",
"clean": "pnpm -r clean",
"release": "pnpm --filter @route-auditor/cli release",
"typecheck": "bun --filter '*' typecheck",
"clean": "bun --filter '*' clean",
"release": "bun --filter @route-auditor/cli release",
"changeset": "changeset",
"version-packages": "changeset version"
},
Expand All @@ -23,11 +23,13 @@
"eslint": "latest",
"eslint-config-prettier": "latest",
"prettier": "latest",
"typescript": "latest",
"typescript": "~5.9.0",
"typescript-eslint": "latest"
},
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=22.0.0",
"pnpm": ">=9.0.0"
"bun": ">=1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/react": "latest",
"@vitest/coverage-v8": "latest",
"tsup": "latest",
"typescript": "latest",
"typescript": "~5.9.0",
"vitest": "latest"
}
}
Loading
Loading