Published version on npm pulls in React 19
- Lingua principale
- TypeScript
- Stelle
- 183
- Fork
- 44
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
We have a React 18 project and adding `@grapesjs/react` pulls in React 19 even though `package.json` correctly has `"react": "^18.0.0 || ^19.0.0"` as a peer dependency.
https://github.com/GrapesJS/react/blob/main/packages/grapesjs-react/package.json#L34
The published package on npm has react@^19.0.0 listed as a regular dependency though
```
$ npm view @grapesjs/react dependencies --json
{
"react": "^19.0.0",
"react-dom": "^19.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0"
}
````
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start with packages/grapesjs-react/package.json at the linked peer-dependency entry, then compare it with the published metadata using `npm view @grapesjs/react dependencies --json`. Done means the published package no longer installs React 19 as regular dependencies and matches the intended React 18/19 peer-dependency range.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 68/100