1.7.1 • Published 4 months ago

create-new-monorepo v1.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Create new monorepo

This project is a starter CLI for scaffold new monorepos in a simpler way. It follows the Rapid Application Development (RAD) philosophy.

The resulting monorepo will be managed by npm but you can set any application you want (even with apps in PHP or Python).

Usage

You don't need to install anything.
Simply run this command on your terminal and answer the questions:

npm create new-monorepo <project-name>

Then, after the scaffold simply run:

npm start

It will launch the frontend and backend server.

Screenshot Demo

Available options

You can pass options preceeded by -- to avoid interactivity:

npm create new-monorepo <project-name> -- -b django -f react

This will create a django app under /backend and a react app under /frontend directory.

The available options are:

Commandshorthandexample
--project-pnpm create new-monorepo -- -p my-project Alternatively use an argument:npm create new-monorepo my-project
--frontend-fnpm create new-monorepo my-project -- -f react
--backend-bnpm create new-monorepo my-project -- -b django

Available templates:

At the moment this are the available templates:

Frontend
vanilla, react, vue, svelte, solid, qwik, preact, lit, none
Backend
laravel, django, fastify, none

Notes:

If you choose django or laravel as a backend service you will need to have installed the requirements (either django-admin or php composer in the device). This CLI will check if they are installed and exit with an error explanation if not. Due to this ckecking process (that uses POSIX-compliant system) this CLI will not work on Windows at the moment (in the future proper compatibility will be implemented).

1.7.1

4 months ago

1.7.0

6 months ago

1.6.0

6 months ago

1.5.0

6 months ago

1.2.0

7 months ago

1.4.0

6 months ago

1.3.1

6 months ago

1.3.0

6 months ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago