Overview
Yarn is a package manager for JavaScript projects. Using Yarn, users can manage project dependencies and publish JavaScript packages.
This instructor-led, live training (online or onsite) is aimed at software engineers who wish to use Yarn to manage and publish JavaScript packages.
By the end of this training, participants will be able to:
- Manage, migrate, and publish JavaScript packages.
- Master the Yarn command line API.
- Migrate NPM packages to Yarn.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
Requirements
- JavaScript programming experience
Audience
- Software Engineers
Course Outline
Introduction
Yarn Overview
- What is Yarn?
- Yarn features
- Yarn vs NPM
Preparing the Development Environment
- Installing and configuring Yarn
Yarn Quick Start
- Adding and removing packages
- Initializing a project
- Working with commands
Advanced Yarn
- Managing configurations
- Creating scripts
- Working with cache
- Migrating NPM
Workflows
- Setting up a testing workflow
- Writing tests
- Creating and testing a library
- Packaging libraries with Rollup
- Versioning with GitHub
Publishing
- Testing packages
- Using CircleCI
- Publishing to NPM
Summary and Conclusion