Skip to content

Commit

Permalink
Bump Bright version, remove note from README
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwcomeau committed Dec 27, 2024
1 parent 0dc4014 commit 2a42da5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@

This repo is for an exercise in my React course, [The Joy of React](https://joyofreact.com/).

**NOTE:** When installing dependencies for this one, you’ll need to use the `--legacy-peer-deps` flag. This is because the `bright` NPM package has not updated its peer dependencies to be compatible with the newly-released React 19. There isn’t _actually_ an issue — Bright still works with React 19 — but NPM is very strict by default when it comes to peer dependencies.

See instructions here:

## Running a development server

First, install the dependencies:

```bash
$ npm install --legacy-peer-deps
$ npm install
```

Then, start a local development server:
Expand Down
41 changes: 31 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"bright": "^0.8.2",
"bright": "^1.0.0",
"next": "^15.0.4",
"react": "^19.0.0",
"react-dom": "^19.0.0"
Expand Down

0 comments on commit 2a42da5

Please sign in to comment.