Online yarn installs created an undesired package install
See original GitHub issueI just installed create-react-app with yarn global add create-react-app
and created a project.
When i was looking through the dependencies i found out this
{
"name": "blue",
"version": "0.1.0",
"private": true,
"dependencies": {
"false": "0.0.4",
"react": "^15.4.2",
"react-dom": "^15.4.2"
},
"devDependencies": {
"react-scripts": "0.9.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
And i was not sure what was “false”:“0.0.4”, while looking at the module i found out that false was just like another leftpad. I find it hard to reason why has been included in cra. If it was intended to be included sorry, i just found odd.
// false module source code :/
module.exports = function () {
return false;
};
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Plug'n'Play | Yarn - Package Manager
An overview of Plug'n'Play, a powerful and innovative installation strategy for Node.
Read more >How to Install Yarn on Ubuntu {With Screenshots} - phoenixNAP
Install Yarn on Ubuntu by following this simple step-by-step tutorial. Also, learn how to add and remove dependencies successfully.
Read more >Yarn installing too many libraries - Stack Overflow
I've decided to reset Yarn by reinstalling it, removing all the dependencies installed locally and saving the package.json file.
Read more >Yarn lock: how it works and what you risk without maintaining ...
A lockfile ( yarn.lock ) is generated (if there isn't any) according to the contents of package.json; Packages are installed according to ...
Read more >A guide through The Wild Wild West of setting up a mono repo ...
Lerna calls yarn/npm install for each package inside the project and then creates symlinks between the packages that refer to each other.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries, thanks for helping!
@gaearon i’ve been looking at it and now that i got more time (had to deliver a mobile app) i will try to come up with a solution, i’m looking into awk to add testing in the script, thank you, and sorry for taking such a long time.