项目作者: worldzhao

项目描述 :
Monorepo supported by Rush and PNPM.
高级语言: JavaScript
项目地址: git://github.com/worldzhao/rush-monorepo-example.git
创建时间: 2021-05-15T08:00:46Z
项目社区:https://github.com/worldzhao/rush-monorepo-example

开源协议:

下载


Monorepo Supported By Rush and PNPM

keywords: Monorepo/Rush/PNPM/React/CRA/Vite

Features

  • Structures
    • apps: Web Apps
    • features: packages that do not need to be released, only reused in this Monorepo
    • packages: packages that need to be released
    • tools: common tools for all projects
  • Examples
    • create-react-app
    • vite-react-app
    • tsc package
    • feature package
  • commitlint/eslint/prettier/lint-staged
  • commit-msg and pre-commit hooks

Quick Start

  1. npm i @microsoft/rush pnpm -g
  2. git clone git@github.com:worldzhao/rush-monorepo-example.git
  3. cd rush-monorepo-example
  4. rush update
  5. # build dependencies of our app at first
  6. rush build -T @rush-monorepo/cra-app
  7. cd apps/cra-app
  8. # start app
  9. rushx start # or npm start

More 👉 应用级 Monorepo 优化方案