[SIP-14] remove dependency on "Yarn" package in favor of `npm`
See original GitHub issueMotivation
Simplify the build pipeline, and standardize our build process. There was a time where npm was slow, and builds were not deterministic, that is not the case anymore. npm
has long regained trust in the community and using yarn
makes our builds more complex, less standard, and our dependency tree larger.
More information here https://iamturns.com/yarn-vs-npm-2018/, searching for npm vs yarn 2018
will return similar articles making the same points.
Proposed Change
Remove the dependency on the yarn
package, solely rely on npm
and close-to-npm packages in our Javascript build pipeline.
New or Changed Public Interfaces
N/A
New dependencies
Describe any NPM/PyPI packages that are required. Are they actively maintained? What are their licenses? N/A
Rejected Alternatives
yarn
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
yarn remove
When you remove a package, it is removed from all types of dependencies: dependencies , devDependencies , etc. Note: yarn remove will always...
Read more >Adding and Removing Packages Using npm or Yarn
Learn how to add and remove packages globally and as project dependencies using npm and Yarn.
Read more >Uninstalling packages and dependencies - npm Docs
To remove a package from your node_modules directory, on the command line, use the uninstall command. Include the scope if the package is...
Read more >Yarn vs npm: Everything You Need to Know - SitePoint
The Yarn package manager is an alternative to npm, ... package as a development dependency; npm uninstall [package] | yarn remove [package] ...
Read more >What is the equivalent of "npm install <package_name> --save ...
Uninstall a development dependency package npm uninstall --save-dev [package_name] => yarn remove [package_name]. Update the dependencies npm update => yarn ...
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
BTW this does not represent much work, probably just a simple small PR. I just wanted to make sure that we have consensus on this before proceeding.
Personally I’m fine with the npm alternative here, plus we do not currently use resolutions in yarn. Sending a PR