0.0.7 • Published 5 years ago

inject-git-repo v0.0.7

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

inject-git-repo

A tool that injects a repo to ./src/core folder or to another prespecified folder

Usage

  1. Install 'npm install --save-dev inject-git-repo`
  2. Create .env (if it does not exist)
  3. Add INJECT_REPO=... - replace ... with your repo;
  4. Add INJECT_REPO_BRANCH=... - replace ... with your prefered repo branch;
  5. Add INJECT_REPO_BRANCH_OVERWRITE=... - replace ... with 'y' or 'n';
  • This helps you automatically answer the overwrite question on repo or branch change;
  1. On your package.json at the "scripts" part add "prestart": "inject-git-repo" and "prebuild": "inject-git-repo";
  2. You are ready to go every time you build or start your project it will clone or pull from the INJECT_REPO;

Done

  • Add submodule
  • Add branch
  • update functionality

TODO

  • Remove submodule functionality
0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago