question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SIP-14] remove dependency on "Yarn" package in favor of `npm`

See original GitHub issue

Motivation

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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
mistercrunchcommented, Oct 29, 2018

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.

1reaction
mistercrunchcommented, Dec 16, 2018

Personally I’m fine with the npm alternative here, plus we do not currently use resolutions in yarn. Sending a PR

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found