Learning Package Management with Yarn
1h 13mIntermediate2018-10-03
Authors

Steven Emmerich
Full-Stack, Big Data Analytics, and Mobile App Developer
Course details
Get started with Yarn, the enterprise-scale JavaScript package manager from the developers at Facebook and Google. Yarn is a npm replacement that provides better performance via caching and parallel execution. In this course, instructor Steven Emmerich explores the core differences between Yarn and npm and shows how to create a brand-new Yarn project. Find out how to set up a testing workflow and integrate code analysis and version control with tools like Code Climate and GitHub. Learn how to package your library with Rollup, and use Yarn with Circle CI, the continuous integration and delivery platform. Finally, discover how to publish packages to npm and share your project with the world.
Learning objectives
What is Yarn?
Yarn vs. npm
Installing Yarn
Writing tests
Integrating with Babel, Rollup, and GitHub
Building and testing your library
Committing and merging code
Setting up Code Climate and code coverage
Publishing libraries to npm
Learning objectives
What is Yarn?
Yarn vs. npm
Installing Yarn
Writing tests
Integrating with Babel, Rollup, and GitHub
Building and testing your library
Committing and merging code
Setting up Code Climate and code coverage
Publishing libraries to npm
Skills covered
Software DeploymentSoftware AdministrationIT AutomationJavaScriptOracleLearningNetwork and System Administration
Concepts
Introduction
- Welcome
- What you should know
- Exercise Files
Yarn vs. npm
- What is Yarn
- Yarn vs. npm
- Yarn lock file vs. npm lock file
Getting Started
- Install Yarn
- What do you check into source control
- Set up a testing workflow
- Write tests
- Write the library
- Babel
- Integrate with Rollup
- GitHub
Workflow and Publishing
- Set up CircleCI
- Config.yml
- Build steps
- Test steps
- Wokflows
- Commit and merge
- Building
Code Climate
- Code Climate
- Code coverage
- Publish to npm
Conclusion
- Next steps