Skip to content

Commit ece3163

Browse files
committed
chore: moved to pnpm
1 parent ebd5833 commit ece3163

6 files changed

Lines changed: 4442 additions & 930 deletions

File tree

.github/workflows/lint.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@v4
1717

18-
- name: Setup Bun
19-
uses: oven-sh/setup-bun@v2
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v4
2020
with:
21-
bun-version: latest
21+
version: latest
2222

2323
- name: Install dependencies
24-
run: bun install --frozen-lockfile
24+
run: pnpm install --frozen-lockfile
2525

2626
- name: Run lint and format checks
27-
run: bun run check
27+
run: pnpm run check
2828

2929
- name: Build check
30-
run: bun run build
30+
run: pnpm run build

AGENTS.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# AGENTS.md - OpenZeppelin Docs Codebase Guide
22

33
## Build/Lint/Test Commands
4-
- `bun run build` - Build the Next.js application
5-
- `bun run dev` - Start development server with turbo
6-
- `bun run start` - Start production server
7-
- `bun run postinstall` - Process MDX files with fumadocs-mdx
8-
- `bun run lint` - Lint code with Biome
9-
- `bun run lint:fix` - Lint and auto-fix issues with Biome
10-
- `bun run format` - Check code formatting with Biome
11-
- `bun run format:fix` - Format code with Biome
12-
- `bun run check` - Run both linting and formatting checks
13-
- `bun run check:fix` - Run both linting and formatting with auto-fix
4+
- `pnpm run build` - Build the Next.js application
5+
- `pnpm run dev` - Start development server with turbo
6+
- `pnpm run start` - Start production server
7+
- `pnpm run postinstall` - Process MDX files with fumadocs-mdx
8+
- `pnpm run lint` - Lint code with Biome
9+
- `pnpm run lint:fix` - Lint and auto-fix issues with Biome
10+
- `pnpm run format` - Check code formatting with Biome
11+
- `pnpm run format:fix` - Format code with Biome
12+
- `pnpm run check` - Run both linting and formatting checks
13+
- `pnpm run check:fix` - Run both linting and formatting with auto-fix
1414
- No test commands configured - this is a documentation site
1515

1616
## Navigation Management

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,24 @@ If you find a bug or have a suggestion for improvement:
3030

3131
### Development Setup
3232

33-
1. Make sure [Bun](https://bun.sh) is installed
33+
1. Make sure [pnpm](https://pnpm.io) is installed
3434

3535
```bash
36-
bun --version
36+
pnpm --version
3737
```
3838

3939
2. Clone the repo and install dependencies
4040

4141
```bash
4242
git clone https://github.com/OpenZeppelin/docs
4343
cd docs
44-
bun install
44+
pnpm install
4545
```
4646

4747
3. Run the `dev` server to see a live preview and have your changes reflected at `http://localhost:3000`
4848

4949
```bash
50-
bun dev
50+
pnpm dev
5151
```
5252

5353
## Code of Conduct

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ This is a Next.js application generated with
99

1010
To start local development follow the steps below
1111

12-
**1. Make sure [Bun](https://bun.sh) is installed**
12+
**1. Make sure [pnpm](https://pnpm.io) is installed**
1313

1414
```bash
15-
bun --version
15+
pnpm --version
1616
```
1717

1818
**2. Clone the repo and install dependencies**
1919

2020
```bash
2121
git clone https://github.com/OpenZeppelin/docs
2222
cd docs
23-
bun install
23+
pnpm install
2424
```
2525

2626
**3. Run the `dev` server to see a live preview and have your changes reflected at `http://localhost:3000`**
2727

2828
```bash
29-
bun dev
29+
pnpm dev
3030
```
3131

3232

0 commit comments

Comments
 (0)