@@ -8,7 +8,7 @@ Please read and follow our [Code of Conduct](./CODE_OF_CONDUCT.md).
88
99## Monorepo Structure
1010
11- This project is a monorepo managed with [ Turborepo] ( https://turbo.build/ ) and [ Bun ] ( https://bun.sh / ) .
11+ This project is a monorepo managed with [ Turborepo] ( https://turbo.build/ ) and [ pnpm ] ( https://pnpm.io / ) .
1212
1313```
1414create-markdown/
@@ -23,7 +23,7 @@ create-markdown/
2323
2424## Prerequisites
2525
26- - [ Bun ] ( https://bun.sh / ) v1.0.0 +
26+ - [ pnpm ] ( https://pnpm.io / ) v10 +
2727- [ Node.js] ( https://nodejs.org/ ) 20+
2828
2929## Getting Started
@@ -38,25 +38,25 @@ create-markdown/
38382 . ** Install dependencies**
3939
4040 ``` bash
41- bun install
41+ pnpm install
4242 ```
4343
44443 . ** Build all packages**
4545
4646 ``` bash
47- bun run build
47+ pnpm run build
4848 ```
4949
50504 . ** Run tests**
5151
5252 ``` bash
53- bun run test
53+ pnpm run test
5454 ```
5555
56565 . ** Run the playground**
5757
5858 ``` bash
59- bun run playground
59+ pnpm run playground
6060 ```
6161
6262## Development Workflow
@@ -68,32 +68,32 @@ Each package can be developed independently:
6868``` bash
6969# Build a specific package
7070cd packages/core
71- bun run build
71+ pnpm run build
7272
7373# Watch mode
74- bun run dev
74+ pnpm run dev
7575
7676# Run package tests
77- bun run test
77+ pnpm run test
7878```
7979
8080### Available Scripts
8181
8282| Script | Description |
8383| --------| -------------|
84- | ` bun run build` | Build all packages |
85- | ` bun run test` | Run all tests |
86- | ` bun run typecheck` | Type check all packages |
87- | ` bun run lint` | Lint all packages |
88- | ` bun run clean` | Clean all build artifacts |
89- | ` bun run playground` | Run the demo playground |
84+ | ` pnpm run build` | Build all packages |
85+ | ` pnpm run test` | Run all tests |
86+ | ` pnpm run typecheck` | Type check all packages |
87+ | ` pnpm run lint` | Lint all packages |
88+ | ` pnpm run clean` | Clean all build artifacts |
89+ | ` pnpm run playground` | Run the demo playground |
9090
9191### Adding a Changeset
9292
9393When making changes that should be released, add a changeset:
9494
9595``` bash
96- bun changeset
96+ pnpm changeset
9797```
9898
9999This will prompt you to:
@@ -180,15 +180,15 @@ docs(react): add useBlockEditor examples
1801803 . ** Run checks locally**
181181
182182 ``` bash
183- bun run build
184- bun run typecheck
185- bun run test
183+ pnpm run build
184+ pnpm run typecheck
185+ pnpm run test
186186 ```
187187
1881884 . ** Add a changeset** (if applicable)
189189
190190 ``` bash
191- bun changeset
191+ pnpm changeset
192192 ```
193193
1941945 . ** Push and create a PR**
@@ -236,7 +236,7 @@ export function parse(
236236
237237- 2-space indentation
238238- Single quotes for strings
239- - No semicolons (Bun style)
239+ - No semicolons
240240- Max line length: 100 characters
241241
242242### File Organization
@@ -275,17 +275,17 @@ We use [Vitest](https://vitest.dev/) for testing.
275275
276276``` bash
277277# Run all tests
278- bun run test
278+ pnpm run test
279279
280280# Run tests for a specific package
281281cd packages/core
282- bun run test
282+ pnpm run test
283283
284284# Watch mode
285- bun run test:watch
285+ pnpm run test:watch
286286
287287# With coverage
288- bun run test -- --coverage
288+ pnpm run test -- --coverage
289289```
290290
291291### Writing Tests
0 commit comments