0.0.36 • Published 9 months ago

create-krew v0.0.36

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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

9 months ago

0.0.36

9 months ago

0.0.32

9 months ago

0.0.33

9 months ago

0.0.34

9 months ago

0.0.31

9 months ago

0.0.30

9 months ago

0.0.29

9 months ago

0.0.24

9 months ago

0.0.25

9 months ago

0.0.26

9 months ago

0.0.27

9 months ago

0.0.28

9 months ago

0.0.23

9 months ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

12 months ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.12

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.3

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.6

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago