Zemnmez / create-from-git-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's this?

This is a yarn create program for creating npm packages derived from others.

Usage: create-from-git-template [options] <source-repo> <target>

Options:
  -V, --version                output the version number
  --name <name>                package name
  --ver [version]              package version (default: "0.1.0")
  --description [description]  package description
  --repository <repo uri>      package repository URI
  --author <name>              package author name
  --peers [packages]           added peer dependencies
  --devDeps [packages]         added dev dependencies
  --deps [packages]            added bundle dependencies
  -h, --help                   output usage information

How do I use it?

yarn create from-git-template <source repo> <target directory>

What does it do?

It creates a new package based on your configuration input that is dervied from the template. Differently to some templates, the template component is its own git repo, with its own history. This means that any package using it can sync with updates to the template by doing a git merge, no matter how far down the line it is and git should do its best to resolve the changes.

About


Languages

Language:JavaScript 97.4%Language:Makefile 2.6%