Update README.md
This commit is contained in:
parent
d441f9982e
commit
57957b89a4
18
README.md
18
README.md
@ -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
|
||||||
@ -150,11 +156,11 @@ 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. |
|
||||||
|
|
||||||
### Running the CLI
|
### Running the CLI
|
||||||
|
|
||||||
|
|||||||
@ -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": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user