Company
Date Published
Author
Mike Hartington
Word count
1211
Language
English
Hacker News points
None

Summary

The blog post discusses the use of npm workspaces to set up a monorepo environment, particularly using Ionic and Vue, highlighting npm's role in managing dependencies and its recent adoption for monorepos with the release of npm 7.0. Despite its simplicity and lack of features compared to alternatives like Lerna or Yarn, npm workspaces provide a built-in solution that could benefit teams looking for more control. The article guides the reader through creating a monorepo setup that includes an Ionic Vue app and a utility package for Vue hooks, demonstrating how to configure npm workspaces, manage dependencies, and integrate components across projects. It acknowledges npm's entry into the monorepo space and anticipates future developments, suggesting that this approach may suit teams interested in customizing their monorepo infrastructure.