Skip to content

zhaohuanyuu/pnpm-mono

Repository files navigation

Pnpm Mono

Monorepo application based on pnpm, speed up by nx

Project Setup

Install dependencies

pnpm install

Compile and Hot-Reload for Development

// single
npx | pnpm nx dev package-name

// run-many
npx | pnpm nx run-many --target=dev --projects=xxx,xxx,...

Compile and Minify for Production

// single
npx | pnpm nx build package-name

// run-many
npx | pnpm nx run-many --target=build --projects=xxx,xxx,...

Application generate from template

npx | pnpm nx g tooling:app application-name tempalte-name

Troubleshooting Record

win os: nx Error Popup on every nx command

set nx.json > useDaemonProcess: false

{
  "tasksRunnerOptions": {
    "default": {
      "options": {
        "useDaemonProcess": false
      }
    }
  }
}

About

monorepo application architecture base on pnpm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published