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: 4 months ago
JSON representation
This is a starter pnpm monorepo project.
- Host: GitHub
- URL: https://github.com/soyhuce/monorepo-with-generators
- Owner: Soyhuce
- License: mit
- Created: 2024-11-13T13:04:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-18T09:23:07.000Z (5 months ago)
- Last Synced: 2025-03-07T17:47:47.152Z (4 months ago)
- Topics: astro, eslint, pnpm, react, storybook, turborepo, typescript, vitest
- Language: Handlebars
- Homepage:
- Size: 1.2 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
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 or package
pnpm gen
```## What's inside?
This monorepo includes the following generators:
### Apps
- `typescript-react-vite`: a [React.js](https://react.dev/) app
- `typescript-astro-react`: a [Astro.js](https://astro.build/) and [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
```### Lint
To lint all apps and packages, run the following command:
```
pnpm lint
```### Check
To check dependencies for all apps and packages, run the following command:
```
pnpm check
```### Update dependencies
To update dependencies for all apps and packages, run the following command:
```
pnpm check -u
```