1.7.0 • Published 7 years ago
gtni v1.7.0
gtni
Install your npm dependencies recursively with gtni as soon you clone, fetch or pull a git repo.
gtni automatically choose right package manager for a git repository based on lock file in a directory with
package.json.
Installation
[sudo] npm install -g gtni
# or
[sudo] yarn global add gtniUsage
$gtni --help
Usage: gtni <command> [options]
Commands:
pull git pull and install npm dependencies
fetch git fetch and install npm dependencies
clone clone a git repository and install npm dependencies
Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Examples:
[NODE_ENV=<env>] gtni pull [git-options] git pull and install npm packages
# Sub command options
$ gtni <command> -h
Options:
-h, --help, --help Show help [boolean]
--branch, -b remote branch name to clone [string] [default: false]
--debug, -d Show debug output [boolean] [default: false]
-v, --version Show version number [boolean]
Note: here you can pass any flags for the corresponding git commandI need your help to improve this module. Please send me your valuable suggestions and advices. I am all ears.
Todo List
- Very basic stage of pull support
- Pull support for most used
git pulloptions - Fetch support for most used
git fetchoptions - Support for
git clone NODE_ENVsupport fornpm/yarn install- Show warnings during dependencies installation
- Support for read and install dependencies when project has multiple
package.jsonfiles - Install npm modules diffing
git treefor various branch after doing git operations supported bygtni - Add support to pass custom
NODE_ENVvalues fornpm install - Choose right package manager automatically for a repository
1.7.0
7 years ago
1.6.0
7 years ago
1.5.3
7 years ago
1.5.2
7 years ago
1.5.1
7 years ago
1.5.0
8 years ago
1.4.1
9 years ago
1.4.0
9 years ago
1.3.6
10 years ago
1.3.5
10 years ago
1.3.4
10 years ago
1.3.3
10 years ago
1.3.2
10 years ago
1.3.1
10 years ago
1.3.0
10 years ago
1.2.5
10 years ago
1.2.4
10 years ago
1.2.3
10 years ago
1.2.2
10 years ago
1.2.1
10 years ago
1.1.0
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.0
10 years ago