Giter Club home page Giter Club logo

fmr's Introduction

fmr

English中文

A CLI that lets you experience modern monorepo project quickly and easily, powered by turborepo, pnpm and changesets.

Features:

  • Create a monorepo template project
  • Use pnpm as a package manager
  • Use turborepo to preform multiple package script tasks

Install

Install it globally:

pnpm add fmr -g
# Or Yarn
yarn add fmr -g
# Or npm
npm i fmr -g

Command

Overview:

fmr new

Usage:

fmr new <project>

Create a new monorepo project

Command options:

  --type ts       monorepo with typescript
  --type js       monorepo with javascript

fmr add

Usage:

fmr add <package>

Command options:

  --scope <name>  install package in scope
  --save-dev
  -S
  --dev
  -D

Note that if you don't set --scope, the package will be installed in root.

fmr run

Usage:

fmr run <command>

fmr changeset

Usage:

fmr changeset

fmr version

Usage:

fmr version

fmr publish

Usage:

fmr publish

Note that if you want to publish to a private registry, you should add publicConfig.registry to packagejson of the published package, for example:

{
  ...
  "publicConfig": {
    "registry": "http://localhost:4873"
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.