4 ms·
Not sure what npmgraph is doing exactly, but there are more dependencies than that. React is a dependency of every next application, but I don’t see it there.
by dartos 2y ago
Not sure what npmgraph is doing exactly, but there are more dependencies than that.
React is a dependency of every next application, but I don’t see it there.
Maybe next, the singular package, has fewer dependencies than a project made with next.
- throwitaway1123 2y agoReact and react-dom are peer dependencies (npmgraph lists them but doesn't graph them visually). The actual full installation command is: `npm install next@latest react@latest react-dom@latest`[1]. Even if you include react and react-dom, the dependency graph still looks tolerable to me: https://npmgraph.js.org/?q=next%4014.2.13%2C+react%4018.3.1%2C+react-dom%4018.3.1 https://npmgraph.js.org/?q=next%4014.2.13%2C+react%4018.3.1%... [1] https://nextjs.org/docs/getting-started/installation#manual-installation https://nextjs.org/docs/getting-started/installation#manual-...