Yarn Dependency Management: The Complete Guide

Learn to use Yarn for project Dependency Management or Distribute your own packages via the NPM registry.

4.90 (471 reviews)
Udemy
platform
English
language
Development Tools
category
instructor
5,698
students
1.5 hours
content
May 2020
last update
$49.99
regular price

What you will learn

Manage project dependencies with Yarn

Understand Semantic Versioning

Create & Publish JavaScript modules/packages to the NPM registry

Migrate projects from NPM to Yarn

Description

Learn modern dependency management with Yarn.
Gain all the skills needed to manage, migrate and publish your own JavaScript packages or projects.

This course is suitable for ANY developer wanting to learn Yarn or gain expert knowledge in managing and publishing JavaScript packages.

  • Learn to use Yarn at an expert level
  • Manage project dependencies
  • Learn aspects of dependency management such as Semantic Versioning
  • Cover the near-entire Yarn command line API, learning one module at a time
  • Learn to migrate NPM managed projects or packages to Yarn


An invaluable skill for any JavaScript Developer looking to improve coding skills and expand career opportunities.

Yarn is an extremely popular and relatively new dependency/package manager for JavaScript projects that solves common issues with dependency management. The project was released by Facebook and is maintained by a group of top JavaScript developers with clear goals for the future of Yarn.

This course will teach you every aspect of the Yarn command line API and related concepts.

You will be able to start using Yarn in you projects immediately. You will also learn to publish and maintain your own JavaScript modules/packages.


Content and Overview

With 20 concise and practical lectures, this course will provide a COMPLETE understanding of Yarn and Dependency Management as a whole.

  • It is suitable for anyone with experience of working on JavaScript projects.
  • Basic command line usage and an understanding of core JavaScript-related concepts is required. (JSON, Basic Node.js etc.)

The course starts with a short introduction and overview of Yarn and also the development environment used in lessons.

The main body of the course then covers the 3 individual sections of the Yarn Command Line API and some supplemental lessons in-between.

These 3 sections include:

  1. Foundational Yarn Commands and Concepts
  2. Advanced Commands and Features
  3. Publishing JavaScript Packages/Modules to the NPM registry

Upon completion of this course you will have the practical skills to immediately start implementing Yarn as your primary dependency manager and also publish your very own projects to the NPM package registry.

This course is to the point and everything is demonstrated in the most simple, yet practical ways, to help you become an expert at Yarn and JavaScript dependency management.

Content

Overview

Introduction
Yarn Overview
Course Structure & Prerequisites
Installing Yarn

Yarn Basics

Adding & Removing Packages
Dependancies & Package.json
Dependency Types
Semantic Versioning
Lock file & Dependency Versions
Assessing Dependency Upgrades
Exploring Dependencies

Advanced Features

Yarn Config
Scripts
Autoclean
Global Packages
Yarn Cache
Migrating from NPM

Publishing Packages

Creating a New Package
Testing Packages
Publishing to NPM
Publishing New Package Versions

Outro

Bonus Lecture: Feedback & Course Coupons

Screenshots

Yarn Dependency Management: The Complete Guide - Screenshot_01Yarn Dependency Management: The Complete Guide - Screenshot_02Yarn Dependency Management: The Complete Guide - Screenshot_03Yarn Dependency Management: The Complete Guide - Screenshot_04

Reviews

Guillermo
October 30, 2023
I was expecting more a more in-depth section on how dependency managers worked under the hood in general, with a focus on yarn.
Swapnil
September 11, 2023
The tutor has made this subject incredibly simple. I would recommend this course for those who work on JavaScript based projects.
Santiago
August 11, 2023
I expected more feedback in terms of how for example I could manage a private repo between other private repos of mine. Also the exploration of tools for managing versions.
Sagi
January 11, 2023
I was expecting to find information on offline loading of packages, and creating a package folder from the dependencies. Shame it was not there.
Khush
December 26, 2022
This course not only provides information about yarn but also helps in understanding how dependencies can be managed in projects
Patryk
November 27, 2022
Great course that runs through common use-cases and also dives deeper into actually building and publishing packages. Only issue is that this course is for yarn 1 and doesn't mention the discrepancies between versions 1 and 2+. Still useful.
David
July 15, 2022
Great overview, well spoken, and good examples. Some of the sections were really low resolution (not good). Not what I looking for specifically as I was needing information on how a yarn/pyspark configuration is setup on a remote host. I'll keep looking around.
Lars
January 22, 2022
Installation instruction works but are outdated. See yarn documentation for the recommend way. No discussion about yarn version 2, which works other then the discussed version 1, which is in maintenance mode. Section 9. Lock file & Dependency Versions yarn-registery-mock does not work on windows any longer. Section 16. Yarn Cache Section 17. Migrating from NPM only mono sound (after intro) Section 18. Creating a New Package Sample code does not work out of the box. Replace installation of chalk with yarn add chalk@~4.1.2. Section 20. Publishing to NPM No discussion for using npmjs registry with 2FA, which is recommend by npmjs. For a complete guide some points are missing: e.g. yarn upgrade-interactive and workspaces.
Ivan
January 18, 2022
Great overview to learn the fundamentals about yarn. The course is not updated to the latest yarn version and had some trouble in "Publishing Packages" section. Not a big deal if you are willing to search for other information resources and fix compatibility issues.
Smillence
January 16, 2022
not much useful information other than the things I already know. Also it claims to be a complete guide but still missing lots of info from the official doc
Dmitry
November 9, 2021
Not descrived at all what is Yarn, How it's run the server. Described only use cases pf package management.
Tejal
December 27, 2020
Little background : I am using yarn in my daily life but very limited commands which are related to my project. Main purpose: So I want to brush up my knowledge and understand the unknown areas and commands.
Udemy
November 18, 2020
The structure of the course is really great and the explanation is straight to the point. Overall amazing course now I understand what yarn is.
Poul
October 18, 2020
It was what I expected from the outline I saw, if you want to learn Yarn, then it's definitely a good fit
Chip
February 20, 2018
A good, quick-and-dirty summary. I've been using yarn for a while from a basic "npm-translation" cheat sheet. Now I feel I have a better understanding of what exactly is happening in node_modules.

Charts

Price

Yarn Dependency Management: The Complete Guide - Price chart

Rating

Yarn Dependency Management: The Complete Guide - Ratings chart

Enrollment distribution

Yarn Dependency Management: The Complete Guide - Distribution chart
1549448
udemy ID
2/11/2018
course created date
7/11/2019
course indexed date
Bot
course submited by