1.0.0-alpha.38 • Published 4 years ago

kerberos-cli v1.0.0-alpha.38

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

npm version Build Status

js-standard-style GitHub LICENSE

Kerberos Cli

Kerberos, a mono-repo workspace tool. It mainly provides a workspace for developers to manage simultaneous development of multiple GIT repositories. Kerberos uses YARN WORKSPACE to manage dependencies, and it only provides more shortcuts to manipulate each git repository (cloning projects, adding projects, upgrading versions, etc.) to complete the entire development process.

Install

$ npm i -g kerberos-cli
# or
$ yarn global add kerberos-cli
$ kerberos-cli -v
$ kerber -v

Quick Overview

$ kerbe init my-project

Add New Git Repository

$ kerbe clone <MyGitRepo>

Config

{
  /*
    For version number definitions, please follow Semver's semantic version number rules. For related rules, please refer to https://semver.org/. All sub-project version numbers are subject to this version, and cannot be greater than this version.
   */
  "version": "1.0.0",
  "release": {
    /* Release type, only supports tag */
    "type": "tag",
    /* Specify the release branch, all branches are allowed by default */
    "branch": "master",
    /* Specify git commit information when release */
    "message": "chore(release): Kerberos Tag"
  },
  /* Subprojects
    By default, it has a subproject.
    The @kerberos/doge project is a project for saving configuration information of the workspace.
   */
  "projects": [
    {
      /* The name of subproject
        Please match the name with the name in the package.json file of the subproject.
       */
      "name": "@kerberos/doge",
      /* The name of the workspace where the subproject is located. */
      "workspace": "@kerberos",
      /*
        If true, it will not be installed automatically when the ʻinstall` command is executed, but an optional installation will be prompted.
       */
      "optional": false
    }
  ]
}