Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soyhuce/monorepo-with-generators

This is a starter pnpm monorepo project.
https://github.com/soyhuce/monorepo-with-generators

astro eslint pnpm react storybook turborepo typescript vitest

Last synced: 5 days ago
JSON representation

This is a starter pnpm monorepo project.

Awesome Lists containing this project

README

        

# Monorepo with generators

This is a starter pnpm monorepo project.

## Using this monorepo

Run the following command:

```sh
# download monorepo
pnpm dlx degit [email protected]:Soyhuce/monorepo-with-generators.git my-project
cd my-project

# set current node.js
nvm use

# install dependencies with pnpm
pnpm i

# generate your first app/package
pnpm gen
```

## What's inside?

This monorepo includes the following generators:

### Apps

- `typescript-react-vite`: a [React.js](https://react.dev/) app

### Packages

- `javascript`: a simple javascript package
- `typescript`: a simple typescript package
- `typescript-react-ui`: a [React.js](https://react.dev/) package with [Storybook.js](https://storybook.js.org/)

Each package/app comes with [Vitest.js](https://vitest.dev/).

### Utilities

This monorepo has some additional tools already setup for you:

- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [ESLint](https://eslint.org/) for code linting

### Build

To build all apps and packages, run the following command:

```
pnpm build
```

### Develop

To develop all apps and packages, run the following command:

```
pnpm dev
```

### Test

To test all apps and packages, run the following command:

```
pnpm test
```