Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/soyhuce/monorepo-with-generators
- Owner: Soyhuce
- License: mit
- Created: 2024-11-13T13:04:47.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-06T11:05:31.000Z (16 days ago)
- Last Synced: 2025-01-18T03:08:27.291Z (5 days ago)
- Topics: astro, eslint, pnpm, react, storybook, turborepo, typescript, vitest
- Language: Handlebars
- Homepage:
- Size: 646 KB
- 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/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
```