All Projects → pedronauck → yarn-workspaces-example

pedronauck / yarn-workspaces-example

Licence: other
Sample monorepo project using new Yarn feature called Workspaces

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to yarn-workspaces-example

Flow Mono Cli
A command line interface that aims to solve a few issues while working with flow typed codebases in a mono-repo.
Stars: ✭ 84 (+115.38%)
Mutual labels:  yarn, lerna, monorepo
Yerna
A Lerna-like tool for managing Javascript monorepos using Yarn
Stars: ✭ 140 (+258.97%)
Mutual labels:  yarn, lerna, monorepo
Vitamin Web
Decathlon Design System libraries for web applications
Stars: ✭ 70 (+79.49%)
Mutual labels:  yarn, lerna, monorepo
monorepo-utils
A collection of utilities for monorepo/lerna. Tools for TypeScript project references etc..
Stars: ✭ 143 (+266.67%)
Mutual labels:  yarn, lerna, monorepo
monoreact
📦 React workspaces implementation
Stars: ✭ 13 (-66.67%)
Mutual labels:  yarn, monorepo, workspaces
Lerna Yarn Workspaces Example
How to build TypeScript mono-repo project with yarn and lerna
Stars: ✭ 787 (+1917.95%)
Mutual labels:  yarn, lerna, monorepo
Eslint Plugin Monorepo
ESLint Plugin for monorepos
Stars: ✭ 56 (+43.59%)
Mutual labels:  yarn, lerna, monorepo
monopack
A JavaScript bundler for node.js monorepo-codebased applications.
Stars: ✭ 52 (+33.33%)
Mutual labels:  yarn, lerna, monorepo
Syncpack
Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces
Stars: ✭ 356 (+812.82%)
Mutual labels:  yarn, lerna, monorepo
nextjs-monorepo-example
Collection of monorepo tips & tricks
Stars: ✭ 874 (+2141.03%)
Mutual labels:  yarn, monorepo, workspaces
Next Express Monorepo Starter
NextJS, Express and Now as Microservices with Yarn & Lerna Workspaces
Stars: ✭ 50 (+28.21%)
Mutual labels:  yarn, monorepo
Create React App
Yarn Workspaces Monorepo support for Create-React-App / React-Scripts.
Stars: ✭ 76 (+94.87%)
Mutual labels:  yarn, monorepo
Oao
A Yarn-based, opinionated monorepo management tool
Stars: ✭ 796 (+1941.03%)
Mutual labels:  yarn, monorepo
Lrnwebcomponents
@lrnwebcomponents Monorepo for NPM based element definitions
Stars: ✭ 166 (+325.64%)
Mutual labels:  yarn, monorepo
Bolt
⚡️ Super-powered JavaScript project management
Stars: ✭ 2,134 (+5371.79%)
Mutual labels:  yarn, workspaces
introduction-nodejs
Introduction to NodeJS
Stars: ✭ 13 (-66.67%)
Mutual labels:  yarn, monorepo
React Workspaces Playground
⚛️ 🐈 Zero Config Create-React-App Monorepos with Yarn Workspaces, Lerna and React Storybook.
Stars: ✭ 658 (+1587.18%)
Mutual labels:  yarn, monorepo
lerna-sync
A package to synchronize distributed GitHub repos inside a Lerna monorepo.
Stars: ✭ 15 (-61.54%)
Mutual labels:  lerna, monorepo
Graphql Starter
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.
Stars: ✭ 3,377 (+8558.97%)
Mutual labels:  yarn, monorepo
yall
Yarn/npm for monorepos
Stars: ✭ 27 (-30.77%)
Mutual labels:  yarn, monorepo

yarn workspaces example

This is a simple example of a monorepo project that use new Yarn Workspaces feature.

Run

To check workspaces working just run

$ yarn install
$ cd packages/b
$ yarn start

First, Yarn will hoist dependencies in the project root, after that you can link your packages among then and running without publish. You'll see in the package.json of b package that depends of a package and works great without any ./node_modules folder inside it.

Workspaces are a great alternative for some monorepo tools and in the near future can be a better solution!

Cheers 🍻

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].