All Projects → nmrony → gtni

nmrony / gtni

Licence: MIT license
Install your all npm dependencies recursively with gtni while you are doing git clone, fetch or pull

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gtni

git-cheatsheet
One stop guide to help solve all your doubts related to Git & GitHub.
Stars: ✭ 31 (+82.35%)
Mutual labels:  fetch, clone
Git Peek
git repo to local editor instantly
Stars: ✭ 485 (+2752.94%)
Mutual labels:  fetch, clone
json
Converts camelCase JavaScript objects to JSON snake_case and vise versa.
Stars: ✭ 16 (-5.88%)
Mutual labels:  fetch
PackageProject.cmake
🏛️ Help other developers use your project. A CMake script for packaging C/C++ projects for simple project installation while employing best-practices for maximum compatibility.
Stars: ✭ 48 (+182.35%)
Mutual labels:  install
OpenNefia
(Archived) Moddable engine reimplementation of the Japanese roguelike Elona.
Stars: ✭ 103 (+505.88%)
Mutual labels:  clone
frontend-tutorial
🎨 一个后端程序员的前端技术总结
Stars: ✭ 122 (+617.65%)
Mutual labels:  fetch
airbud
Retrieving stuff from the web is unreliable. Airbud adds retries for production, and fixture support for test.
Stars: ✭ 15 (-11.76%)
Mutual labels:  fetch
fetch
A fetch API polyfill for React Native with text streaming support.
Stars: ✭ 27 (+58.82%)
Mutual labels:  fetch
GoInstaller
GoInstaller is installer for CodeIgniter with user interface (UI).
Stars: ✭ 31 (+82.35%)
Mutual labels:  install
bestfetch
fetch ⭐️caching ⭐️deduplication
Stars: ✭ 44 (+158.82%)
Mutual labels:  fetch
legible
the cleanest way to make http requests in js / node
Stars: ✭ 49 (+188.24%)
Mutual labels:  fetch
tinder clone
For learning .
Stars: ✭ 151 (+788.24%)
Mutual labels:  clone
fitch.js
A lightweight Promise based HTTP client, using Fetch API.
Stars: ✭ 35 (+105.88%)
Mutual labels:  fetch
lsst
Configures environment for LSST software (newinstall.sh)
Stars: ✭ 14 (-17.65%)
Mutual labels:  install
ProgramUpdater
PUF - Program Updater Framework. A library to easier the task of program updating
Stars: ✭ 14 (-17.65%)
Mutual labels:  install
odoo-helper-scripts
The easiest way to install and manage development odoo instances / projects.
Stars: ✭ 34 (+100%)
Mutual labels:  install
ansible-role-glusterfs
Ansible Role - GlusterFS
Stars: ✭ 95 (+458.82%)
Mutual labels:  install
gitpack
Git-based package manager written in POSIX shell
Stars: ✭ 72 (+323.53%)
Mutual labels:  install
UEFI MULTI
UEFI_MULTI - Make Multi-Boot USB-Drive
Stars: ✭ 33 (+94.12%)
Mutual labels:  install
sapper-httpclient
An isomorphic http client for Sapper
Stars: ✭ 48 (+182.35%)
Mutual labels:  fetch

gtni

Install your npm dependencies recursively with gtni as soon you clone, fetch or pull a git repo.

version Downloads Travis branch Greenkeeper badge semantic-release

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 gtni

Usage

$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 command

I 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 pull options
  • Fetch support for most used git fetch options
  • Support for git clone
  • NODE_ENV support for npm/yarn install
  • Show warnings during dependencies installation
  • Support for read and install dependencies when project has multiple package.json files
  • Install npm modules diffing git tree for various branch after doing git operations supported by gtni
  • Add support to pass custom NODE_ENV values for npm install
  • Choose right package manager automatically for a repository
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].