1.1.7 • Published 6 years ago

checkout-install v1.1.7

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

NPM Version Dependencies devDependencies Coverage Status Build Status

checkout-install

CLI utility to pull upstream changes and run npm install / npm link if changes to to package.json

Usage

usage: checkout-install [options]

Options:
  --version, -v   Show version number                                  [boolean]
  --help          Show help                                            [boolean]
  -c, --config    Path to JSON config file
                                        [string] [default: ".checkoutinstallrc"]
  -n, --name      Name to use in logging                                [string]
  -u, --upstream  Upstream branch to pull                    [default: "master"]
  -r, --remote    Remote to pull from                        [default: "origin"]
  -l, --links     links to setup after install             [array] [default: []]
  --log-level     Logging level to use
         [choices: "trace", "debug", "info", "warn", "error", "fatal", "silent"]
                                                               [default: "info"]

Note that you can provide options in the `checkout-install` key in package.json

You can pass all configuration options through a JSON file via --config

Configuration file defaults to .checkoutinstallrc - it will be parsed as JSON.

You can also provide a checkout-install key inside package.json

Multiple Repositories

If using a config file or package.json config, you can pass multiple repositories via the repositories key. Each repository supports the same set of configuration options in addition to a path key used to point at the target directory.

Example

{
  "repositories": [
    {
      "upstream": "development",
      "path": "../repo-1",
      "links": ["module-1", "module-2"]
    },
    {
      "upstream": "development",
      "remote": "upstream",
      "path": "../repo-2"
    },
    {
      "upstream": "development",
      "path": "../repo-3",
      "links": ["module-1", "module-2"]
    }
  ]
}
1.1.7

6 years ago

1.1.6

7 years ago

1.2.1

7 years ago

1.1.5

7 years ago

1.2.0

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago