inv-project-template
Invisible Project Template
Installation
npm install -g @invisible/project-template
# or
yarn global add @invisible/project-template
You can also install this straight from your local repo: (Useful for testing)
yarn global add file:/path/to/@invisible/project-template
Usage
Create a new repo in github. https://github.com/new
Make sure the name of your repo matches the directory you will create for your new project.
mkdir new-project-name
cd new-project-name
init-inv-project
Troubleshooting
If you installed the package using yarn and when you try to run the binary init-inv-project
an error is raised, the problem is probably that you don't have the real yarn global bin folder added to your PATH
. To do that, simply run one of the following commands:
export PATH="$PATH:$HOME/.config/yarn/global/node_modules/.bin" # (Works only for this terminal)
# or append to your PATH on zsh config file the following (permanent):
":$HOME/.config/yarn/global/node_modules/.bin"
For more information, click on the link to read the issue on Github!
TODO
- Create the github repo from the script
- Copy over our github labels
- Provide more options and allow for upgrading .eslint configs etc without killing package.json.