1.0.3 • Published 6 years ago

z-starter-cli v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

šŸ•¶ š“©-Starter-CLI šŸ•¶

Actions Status

a CLI tool for my z-starter JS starter-template project

How it works

The basic mechanics of this project are pretty simple, and just wrap some fairly basic git features in a nice to use CLI.

When z-starter-cli is invoked within a git project, it will add a new git remote repsoitory: the z-starter one. The, it will ask you to chose from the different template branches in that repo. Once a choice is made, the git history of the current branch is reset to the one specificed from z-starter.

Usage

Intended for use as a global npm script.

npm install --global z-starter-cli

Right now, this should be run from a freshly git initted blank project.

Example usage:

~/work
ā–¶ mkdir my-new-cat-meme-app

~/work
ā–¶ cd my-new-cat-meme-app

~/work/my-new-cat-meme-app
ā–¶ git init
Initialized empty Git repository in /Users/zachlysobey/work/my-new-cat-meme-app/.git/

~/work/my-new-cat-meme-app  master āœ”
ā–¶ z-starter-cli
               _             _                      _ _
  ____     ___| |_ __ _ _ __| |_ ___ _ __       ___| (_)
 |_  /____/ __| __/ _` | '__| __/ _ \ '__|____ / __| | |
  / /_____\__ \ || (_| | |  | ||  __/ | |_____| (__| | |
 /___|    |___/\__\__,_|_|   \__\___|_|        \___|_|_|

                                     v1.0.0

ensuring z-starter is loaded as a remote...
getting remotes...
adding z-starter as a remote repository...
fetching z-starter to ensure branches are up to date...
getting branches...
? What type of project do you need? (Use arrow keys)
  nodejs
  nodejs-cli
  nodejs-cli-typescript
  nodejs-library-typescript
āÆ react
  react-formik
  vue
creating react project...

~/work/my-new-cat-meme-app  master āœ”                                                                             2d
ā–¶ git log --oneline
463d336 (HEAD -> master, starter/react) šŸ‘· add github actions workflow
0252d39 ✨ Hello, Redux
356f114 āž• add dependency on react-redux ^7.1.1
97b595f āž• add dependency on redux-starter-kit ^0.8.1
b45427b šŸ”„ remove some create-react-app cruft
24984ae šŸ’„ add 'prettier' pre-commit hook
6aa15e6 šŸŽØ run prettier on existing code
8d8c143 šŸ’„ add prettier
6670daf šŸ”§ disable lockfiles with .npmrc
020258f šŸ“ add contributing guide
ab270ad šŸ“ add blank github pull-request template
6a4cacf šŸ“ add blank github issue template
1d709c7 šŸ“ update README.md
cb11e0f šŸ”§ remove 'eject' npm run-script
86e58c9 šŸŽ‰ npx create-react-app .

Contributing

See the contributing guide

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago