Building a Monorepo with Yarn Workspaces

engineering , Node.js Language Owner

Yarn is a JavaScript package manager that also gives developers a project management toolset and a zero-install deployment solution. Heroku supports Yarn 2, 3, and 4, so developers are able to take advantage of zero-installs during their Node.js builds. We’ll go over a popular use case for Yarn that was enhanced by Yarn 2 and later releases: using workspaces to manage dependencies for a monolithic repository, also known as a multi-package repository or a monorepo.

Ball of yarn and knitting needles illustration

Our Yarn Workspaces tutorial will cover Yarn monorepo setup and how to take advantage of Yarn’s cache to manage monorepo dependencies. Prerequisites for this include a development environment with Node installed. To follow...


Celebrating 25 Years of JavaScript

life , Node.js Language Owner

25 years of JavaScript

JavaScript turns 25 years old today. While it’s made an impact on my career as a developer, it has also impacted many developers like me and users around the world. To commemorate our favorite language, we’ve collected 25 landmark events that have shaped the path of what the JavaScript ecosystem looks like today.

1995

1) JavaScript is created

In 1995, Brendan Eich, a developer at Netscape, known for their Netscape browser, was tasked with building a client-side scripting language that paired well with Java. While it may not be the language that you know and love today, JavaScript was written in 10 days with features we still use today, such as first-class functions.

1997

2)...


Subscribe to the full-text RSS feed for Danielle Adams.