0.3.2 • Published 6 months ago

mighty-cli-deploy v0.3.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Mighty Cli Deploy

A simple CLI that allows you to create a GitHub repository, create a Vercel project and connect the two for automatic deployments. These are the actions it performs:

  • Create a GitHub repo (if one with the same name doesn't already exist in the organization)
  • Create a Vercel project owned by the specified team and connects the newly created repo to it
  • It creates locally a folder with the same name on the repo
  • Clones the Next.js files in the folder
  • Initialiazes a repo in the directory
  • Pushes to origin (thus triggering a new deployment in Vercel)
  • Creates a new branch called "develop"
  • Install the dependencies with npm install
  • Opens a new Visual Studio Code editor with code .

Usage

Run npx migthy-cli-deploy@latest and follow the instrucions on the terminal.

You will need to have the following info available:

When running the program, you will have the possibility to save locally these settings so you won't have to input them everytime. Alternatively, you can skip this option and enter them every time (for example, if you work with multiple clients or teams)

Caveats

The project is in a very early stage, thus there is plenty of room for improvement. It only works with GitHub organizations

Features

  • Automate GitHub repo and Vercel project creation
  • Add options to include dependencies such as Prisma, Supabase
  • Add customized Next.js starter template (with customized name, title, ...)
0.3.2

6 months ago

0.3.1

6 months ago

0.3.0

6 months ago

0.2.3

6 months ago

0.2.2

6 months ago

0.2.0

6 months ago

0.1.3

6 months ago

0.1.2

6 months ago