Skip to content

Soyhuce/monorepo-with-generators

Repository files navigation

Monorepo with generators

This is a starter pnpm monorepo project.

Using this monorepo

Run the following command:

# 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

Packages

  • javascript: a simple javascript package
  • typescript: a simple typescript package
  • typescript-react-ui: a React.js package with Storybook.js

Each package/app comes with Vitest.js.

Utilities

This monorepo has some additional tools already setup for you:

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