Fix React 19 peer deps and update import map
This commit is contained in:
parent
db2cc93fab
commit
23273d3b63
4 changed files with 1790 additions and 7 deletions
6
CHANGELOG.md
Normal file
6
CHANGELOG.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Changelog
|
||||
|
||||
## 2025-11-21
|
||||
- Upgraded `lucide-react` to `^0.554.0` to satisfy React 19 peer requirements and allow clean installs.
|
||||
- Updated the import map in `index.html` to pull React 19.2.0 and the matching `lucide-react` CDN build so dev server uses the same versions.
|
||||
- Regenerated `package-lock.json` from a fresh `npm install`; verified `npm run build` succeeds.
|
||||
12
index.html
12
index.html
|
|
@ -38,12 +38,12 @@
|
|||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"react": "https://esm.sh/react@18.2.0",
|
||||
"react-dom": "https://esm.sh/react-dom@18.2.0",
|
||||
"react-dom/client": "https://esm.sh/react-dom@18.2.0/client",
|
||||
"lucide-react": "https://esm.sh/lucide-react@0.263.1",
|
||||
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
|
||||
"react/": "https://aistudiocdn.com/react@^19.2.0/"
|
||||
"react": "https://esm.sh/react@19.2.0",
|
||||
"react-dom": "https://esm.sh/react-dom@19.2.0",
|
||||
"react-dom/client": "https://esm.sh/react-dom@19.2.0/client",
|
||||
"lucide-react": "https://esm.sh/lucide-react@0.554.0",
|
||||
"react-dom/": "https://aistudiocdn.com/react-dom@19.2.0/",
|
||||
"react/": "https://aistudiocdn.com/react@19.2.0/"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
1777
package-lock.json
generated
Normal file
1777
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -11,7 +11,7 @@
|
|||
"dependencies": {
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"lucide-react": "0.263.1"
|
||||
"lucide-react": "^0.554.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.14.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue