czq297297 / template-react

Monorepo template for web apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template React

license tag last-commit ci

This monorepo template allows you to start immediately with a React (TypeScript) single-page application, but it can also be used for any other type of web app.

The template takes away the work of having to assemble and configure all the tools for professional development yourself.

Getting Started

  1. Clone the template: npx degit kporten/template-react my-project

  2. Replace all occurrences of template-react and Template React with the name of your project.

  3. Adjust the information (e.g. the author name) in the files package.json, LICENSE, CHANGELOG.md and README.md.

  4. Execute the following commands in your terminal:

pnpm install
pnpm dev

🚀 Now you can get up and running with your ideas!

Scripts

Root

# run all dev servers in parallel during development
pnpm dev

# build all workspaces
pnpm build

# run all preview servers in parallel
pnpm preview

# lint all workspaces
pnpm lint

# run tests for each workspace
pnpm test

# run tests and check coverage for each workspace
pnpm test:coverage

# run type checks for each workspace
pnpm typecheck

# format repo files
pnpm format

# describe a feat/fix changes and add the changeset
pnpm changeset

# update version and create tags
pnpm release

Workspace: Next

See README

Workspace: Vite

See README

Workflows

CI

See workflow

Events

  • push
  • pull_request

Jobs

Secrets

Tools

The following tools are used in this monorepo:

Root

The root of the repository includes the following tools:

Workspace: Next

See README

Workspace: Vite

See README

License

MIT License

Copyright (c) 2022 Kevin Porten

FOSSA Status

About

Monorepo template for web apps

License:MIT License


Languages

Language:TypeScript 84.1%Language:JavaScript 12.2%Language:HTML 2.2%Language:Shell 0.8%Language:CSS 0.7%