0.0.36 • Published 6 months ago

create-krew v0.0.36

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

create-krew

A CLI tool to quickly scaffold your project's infrastructure. It streamlines the setup process by automating the creation of GitHub repositories, Vercel deployments, and CI/CD pipelines.

Features

  • ✅ Supports popular frameworks: astro, remix, nextjs, and sveltekit
  • ✅ Initializes a GitHub repository
  • ✅ Deploys the application to Vercel (supports astro by default)
  • ✅ Sets up GitHub Actions for CI/CD
  • ✅ Easily tears down the application with the same speed as scaffolding

Usage

To create a new project, run:

npm create krew@latest your-project-name -- --framework astro

CLI Flags

May be provided in place of prompts

NameDescription
--help (-h)Display available flags.
--framework <framework>Specify your framework of choice (options: astro/remix/nextjs/svelte)
--destroyTears down the entire application. Deletes github repository and deletes vercel project. CAUTION: THIS IS IRREVERSIBLE

What it does

  1. Scaffolds a new project using the selected framework.
  2. Initializes a local Git repository.
  3. Creates a remote repository on GitHub.
  4. Sets up GitHub Actions for continuous integration and deployment (CI/CD).
    • Includes unit tests and end-to-end (E2E) tests, running against preview deploys.
  5. Deploys the application to Vercel.

Prerequisites

Before using create-krew, ensure you have the following:

  • A GitHub account
  • A Vercel account
  • Node.js version 18.x or higher

Setup Process

During setup, you'll be prompted to:

  • Sign into GitHub and authenticate the Krew OAuth app.
  • Sign into Vercel, if you haven't done so already.

Teardown

To remove all resources created by create-krew, use the --destroy flag from within the root directory of your project:

npm create krew@latest -- --destroy

or

npx create-krew --destroy

Warning: This action is irreversible and will delete your GitHub repository and Vercel project.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Support

If you encounter any problems or have any questions, please open an issue on the GitHub repository.

0.0.35

6 months ago

0.0.36

6 months ago

0.0.32

6 months ago

0.0.33

6 months ago

0.0.34

6 months ago

0.0.31

7 months ago

0.0.30

7 months ago

0.0.29

7 months ago

0.0.24

7 months ago

0.0.25

7 months ago

0.0.26

7 months ago

0.0.27

7 months ago

0.0.28

7 months ago

0.0.23

7 months ago

0.0.20

10 months ago

0.0.21

10 months ago

0.0.22

10 months ago

0.0.13

10 months ago

0.0.14

10 months ago

0.0.15

10 months ago

0.0.16

10 months ago

0.0.17

10 months ago

0.0.18

10 months ago

0.0.19

10 months ago

0.0.12

11 months ago

0.0.10

11 months ago

0.0.11

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.3

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.6

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago