Update README.md

This commit is contained in:
Benjamin Toby 2026-04-05 18:13:52 +01:00
parent d441f9982e
commit 57957b89a4
2 changed files with 13 additions and 7 deletions

View File

@ -61,8 +61,8 @@ The goal is a framework that is:
- [Bun](https://bun.sh) v1.0 or later - [Bun](https://bun.sh) v1.0 or later
- TypeScript 5.0+ - TypeScript 5.0+
- react 18.0+
> **React is managed by Bunext.** You do not need to install `react` or `react-dom` — Bunext enforces its own pinned React version and removes any user-installed copies at startup to prevent version conflicts. Installing this package is all you need. - react-dom 18.0+
--- ---
@ -103,6 +103,12 @@ bun add -g @moduletrace/bunext
bun add github:moduletrace/bunext bun add github:moduletrace/bunext
``` ```
### Install react and react-dom
```bash
bun add react react-dom
```
--- ---
## Quick Start ## Quick Start
@ -151,7 +157,7 @@ bun run dev
## CLI Commands ## CLI Commands
| Command | Description | | Command | Description |
| -------------- | ---------------------------------------------------------------------- | | -------------- | ------------------------------------------------------------------------------ |
| `bunext dev` | Start the development server with HMR and file watching. | | `bunext dev` | Start the development server with HMR and file watching. |
| `bunext build` | Bundle all pages for production. Outputs artifacts to `.bunext/public/pages/`. | | `bunext build` | Bundle all pages for production. Outputs artifacts to `.bunext/public/pages/`. |
| `bunext start` | Start the production server using pre-built artifacts. | | `bunext start` | Start the production server using pre-built artifacts. |

View File

@ -2,7 +2,7 @@
"name": "@moduletrace/bunext", "name": "@moduletrace/bunext",
"module": "index.ts", "module": "index.ts",
"type": "module", "type": "module",
"version": "1.0.53", "version": "1.0.54",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"exports": { "exports": {