Skip to content

Commit da37cf5

Browse files
committed
Switch to use bun over npm and node
1 parent 16ec1fa commit da37cf5

4 files changed

Lines changed: 10 additions & 8743 deletions

File tree

‎.husky/pre-commit‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npm run precommit
1+
bun run precommit

‎AGENTS.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Build/Lint/Test Commands
44

5-
- **Dev server**: `npm run dev` (starts Next.js dev server on port 3000)
6-
- **Build**: `npm run build` (creates production build)
7-
- **Lint**: `npm run lint` (runs ESLint with Next.js rules)
8-
- **Format**: `npm run format` (auto-formats with Prettier)
9-
- **Type check**: `npx tsc --noEmit` (no test framework configured)
5+
- **Dev server**: `bun run dev` (starts Next.js dev server on port 3000)
6+
- **Build**: `bun run build` (creates production build)
7+
- **Lint**: `bun run lint` (runs ESLint with Next.js rules)
8+
- **Format**: `bun run format` (auto-formats with Prettier)
9+
- **Type check**: `bunx tsc --noEmit` (no test framework configured)
1010

1111
## Code Style Guidelines
1212

‎README.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Follow these instructions to set up the development environment and run the proj
1010

1111
Make sure you have the following installed on your machine:
1212

13-
- [Node.js](https://nodejs.org/) (v14 or later)
14-
- [npm](https://www.npmjs.com/)
13+
- [Bun](https://bun.sh/) (latest version recommended)
1514

1615
### Installation
1716

@@ -25,13 +24,13 @@ cd san-diego-devx
2524
2. **Install dependencies**:
2625

2726
```sh
28-
npm install
27+
bun install
2928
```
3029

3130
3. **Start the development server with the following command:**:
3231

3332
```sh
34-
npm run dev
33+
bun run dev
3534
```
3635

3736
The site will be running at http://localhost:3000.
@@ -51,7 +50,7 @@ use [the ESLint extension](https://github.com/Microsoft/vscode-eslint).
5150

5251
Pre-commit hooks are in place to ensure that the code is properly formatted
5352
before a commit is added to the repo. The pre-commit hook runs the precommit
54-
script (`npm run precommit`).
53+
script (`bun run precommit`).
5554

5655
For detailed code style and organization guidelines:
5756

0 commit comments

Comments
 (0)