A monolithic repository, or monorepo, contains the code for many different projects in a single repository. To avoid confusion and possible conflicts with your dependencies, Gatsby recommends using npm for site development.Įngineers from Facebook, Google, Exponent, and Tilde launched Yarn in 2016 to improve package management for large-scale, monolithic repositories. Note: Most tutorials and site development examples from the Gatsby docs use npm. For Gatsby site development, you can use Yarn or npm. Gatsby theme development also uses Yarn workspaces. Gatsby core uses Yarn’s workspaces feature to manage dependencies. Contributing to Gatsby core requires Yarn. It’s an alternative to Node’s standard package manager, npm. Yarn is a package manager for the Node.js JavaScript runtime. Learn what the Yarn package manager is, how to use it, and how it fits in to the Gatsby ecosystem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |