rescripts icon indicating copy to clipboard operation
rescripts copied to clipboard

Allow react-scripts v4 without npm warning

Open nbgraham opened this issue 5 years ago • 0 comments

npm WARN @rescripts/[email protected] requires a peer of react-scripts@2 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN @rescripts/[email protected] requires a peer of react-scripts@2 - 3 but none is installed. You must install peer dependencies yourself.
$ npm ls @rescripts/utilities
+-- @rescripts/[email protected]
| `-- @rescripts/[email protected]
+-- @rescripts/[email protected]
| `-- @rescripts/[email protected]
`-- @rescripts/[email protected]
  `-- @rescripts/[email protected]

I believe the code is already in place, but just not released. The use-babel-config package.json already specifies "@rescripts/utilities": ^0.0.8 but itself is version 0.0.11, which doesn't exist on npm The use-eslint-config package.json already specifies "@rescripts/utilities": ^0.0.8 but itself is version 0.0.12, which doesn't exist on npm

I would have thought this would already work, because of the ^, but apparently ^0.0.7 does not include 0.0.8 image However, ~0.0.7 does include 0.0.8 https://semver.npmjs.com/

Related Issues: #49

Related PRs: #117 #83 #73

nbgraham avatar Feb 02 '21 14:02 nbgraham