nx icon indicating copy to clipboard operation
nx copied to clipboard

Scaffolding package based monorepo

Open nino-magazinovic opened this issue 2 years ago • 0 comments

Description

I would like that we can scaffold libraries and components in a package based monorepo (pnpm workspace with NX) but without a need of custom NX plugins.

Motivation

We could use Vite templates but out of the box Vite doesnt have a npm library based template, and had to be custom made or use community based templates which dont support project scaffolding.

Suggested Implementation

Came across project https://github.com/loreanvictor/tmplr which can be a good fit to scaffold a NX package based monorepo by leveraging any starter template. Created a seperate feature request https://github.com/loreanvictor/tmplr/issues/11 for support of offline templates in a fashion of Vite starter.

Maybe to mention in the Nx documentation as one of the solutions.

Alternate Implementations

nino-magazinovic avatar Jul 06 '23 05:07 nino-magazinovic