Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CLI to create new Parcel apps #10069

Draft
wants to merge 1 commit into
base: v2
Choose a base branch
from
Draft

Add a CLI to create new Parcel apps #10069

wants to merge 1 commit into from

Conversation

devongovett
Copy link
Member

This adds a CLI to create new parcel projects, similar to create-react-app etc. For example you can run npm create parcel react-server to create a new React Server Components app.

There are 4 templates so far:

  • react-client – a TypeScript + React client only app
  • react-server – a Typescript + React Server Components app
  • react-static – a TypeScript + React static site generator
  • vanilla – a Vanilla JS + HTML app

The CLI creates a fresh git repo, copies in the files from the template, runs the package manager to install dependencies, and creates an initial commit. Then it gives instructions on how to start up the app. Each template includes minimal examples and instructions on how to modify them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant