Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.22 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.22 KB

yarn-nohoist-examples

demonstrate how to to use "nohoist" in yarn workspaces environment

Introduction

This repository contains examples of using nohoist in react/react-native workspaces. To get a more comprehensive introduction, please see nohoist in yarn workspaces.

workspaces-examples:

  1. react-native: step-by-step guide on how to set up a basic react-native monorepo project following react-native's getting started guide.
  2. universal-cipher: a more complex example including react, react-native, and node.js modules, to explore a few common challenges a monorepo project frequently face in the real world.

Environment:

Instructions in this repository are conducted using on the following:

  • os: MacOS 10.13.3
  • yarn: 1.4.1-20180211.22367 (1.4.2 pre-release)
  • node: 8.9.1
  • npm: 4.6.1
  • react-native: 0.52.x
  • react: 16.2
  • react-scripts: 1.1.0

Feedbacks

  • do let us know if the examples don't work for you
  • ideas for other examples? feel free to ask or better yet, submit PR.
  • if you believe it is a yarn error, please submit the issue in yarn.