Useful Links
Computer Science
Other Tools and Technologies
Yarn Package Manager
1. Introduction to Yarn
2. Getting Started with Yarn
3. Core Concepts
4. Command-Line Interface
5. Configuration
6. Advanced Features
7. Workflows and Best Practices
8. Migration and Interoperability
9. Troubleshooting
Core Concepts
Dependency Management
Types of Dependencies
Production Dependencies
Development Dependencies
Peer Dependencies
Optional Dependencies
Bundle Dependencies
Semantic Versioning
Version Ranges
Caret Usage
Tilde Usage
Exact Versions
Range Operators
Dependency Resolution Process
Resolution Algorithm
Hoisting Behavior
Conflict Resolution
The `yarn.lock` File
Purpose and Importance
Ensuring Deterministic Installs
Structure and Syntax of the Lockfile
Managing Lockfile Conflicts
Causes of Conflicts
Resolving Merge Conflicts
Best Practices for Conflict Resolution
Updating the Lockfile
Automatic Updates
Manual Updates
Partial Updates
The Yarn Cache
How Caching Improves Speed
Cache Location and Structure
Global vs Local Cache
Managing the Cache
Cleaning the Cache
Inspecting Cached Packages
Cache Verification
Yarn Versions
Yarn 1 (Classic)
Features and Limitations
Maintenance Status
End-of-Life Considerations
Yarn 2+ (Berry)
Key Architectural Changes
Plug'n'Play
Plugin System
Configuration Changes
Zero-Installs
Migration Considerations
Breaking Changes
Previous
2. Getting Started with Yarn
Go to top
Next
4. Command-Line Interface