Commit 936bccc
authored
chore: migrate from pnpm to bun (#369)
## Summary
- Switch monorepo package manager from pnpm to Bun
- Remove deprecated `@mheob/eslint-config` and `@mheob/prettier-config` packages
- Add `baseJsConfig` to `@mheob/oxlint-config` for opt-in regexp plugin rules
## Changes
- **Package manager**: Replace pnpm workspaces + `pnpm-lock.yaml` with Bun workspaces + `bun.lock`; add `bunfig.toml`
- **CI/CD**: Switch GitHub Actions from `pnpm/action-setup` + `setup-node` to `oven-sh/setup-bun`
- **Husky hooks**: Replace `pnpm exec` with `bunx`; remove `use-correct-pm` check
- **Dependencies**: Replace pnpm `catalog:` references with explicit versions in all `package.json` files
- **Removed packages**: Delete `packages/eslint-config` and `packages/prettier-config` (superseded by oxlint/oxfmt)
- **Removed cursor rules**: Remove `.cursor/rules/` directory
- **oxlint-config**: Extract regexp plugin rules from `baseConfig` into a new `baseJsConfig` that consumers can opt into
- **Docs**: Update `CLAUDE.md`, `CONTRIBUTING.md`, `README.md` files, and Claude agent/skill configs
## Motivation
Bun is significantly faster than pnpm for installs and script execution, and it natively supports workspaces without a separate workspace YAML file. The `eslint-config` and `prettier-config` packages have been superseded by the Rust-based `oxlint-config` and `oxfmt-config` packages which are already in use.
## Breaking Changes
- `@mheob/eslint-config` and `@mheob/prettier-config` are no longer published from this repository
- `baseConfig` in `@mheob/oxlint-config` no longer includes regexp rules; use the new `baseJsConfig` instead
## Summary by CodeRabbit
* **New Features**
* Added a JavaScript-focused lint config export (baseJsConfig) and a JS-specific config set.
* **Breaking Changes**
* Tooling and CI migrated from pnpm/Node scripts to Bun; repo scripts and workflows now expect Bun/Node ≥24.
* Legacy ESLint/Prettier package surfaces removed—migrate to OXLint/OXFmt configs.
* **Documentation**
* Many READMEs and contribution docs updated with Bun commands, peer-dep instructions, and config usage examples.1 parent 7c013c2 commit 936bccc
111 files changed
Lines changed: 1930 additions & 50810 deletions
File tree
- .changeset
- .claude
- agents
- skills
- create-commit
- create-pr
- .cursor/rules
- .github/workflows
- .husky
- packages
- commitlint-config
- eslint-config
- bin
- scripts
- utils
- src
- cli
- stages
- configs
- utils
- internal
- oxfmt-config
- oxlint-config
- src
- prettier-config
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
57 | | - | |
| 54 | + | |
| 55 | + | |
58 | 56 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments