Giter Club home page Giter Club logo

hydra's Introduction

hydra

hydra译为“九头蛇”,该项目是一个多项目管理工具cli,可以用来对多个项目进行安装依赖,单独/多个打包,单独/多个发布、运行等管理操作。

使用方法

  • 在自己的项目package.json中配置
   hydra?: {
    devLinks?: string[] // 子项目的项目名,表示该项目还依赖某些子项目,在安装该项目依赖之前会先安装devLinks中的项目
    type?: 'service' | 'app' | 'lib' | 'cli'
    port?: number // 仅在type: service时使用
  }
  • 然后将本项目安装在需要管理的多项目的根目录后执行packjson中的命令即可,如:
yarn install-deps // 安装所有项目deps中的依赖
yarn install-dep xxx // 安装指定项目deps中的依赖
yarn install-links // 安装所有项目本地依赖
yarn install-link xxx // 安装指定项目本地依赖
yarn dev xxx
yarn serve xxx
yarn build xxx

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.