npm.io
0.3.0 • Published 6d agoCLI

@milisolution/mili

Licence
MIT
Version
0.3.0
Deps
5
Size
138 kB
Vulns
0
Weekly
368

@milisolution/mili

The MiliSolution scaffolding CLI. Generates standardized pnpm + Turborepo monorepos and brings existing repos onto the same standard.

Install

npm i -g @milisolution/mili

The installed command is mili.

Usage

mili new my-app --services web,api --deploy docker   # scaffold a new monorepo
mili adopt --level 2                                  # apply the standard to an existing repo
mili doctor                                           # check your version against the latest
mili update                                           # update to the latest published version

Run mili --help for the full command and option list, or mili <command> --help for one command.

Commands

Command What it does
mili new <name> Create a new monorepo from the base template.
mili add service Scaffold a service (web/api/worker) into apps/.
mili add package Scaffold a shared package into packages/.
mili add deploy Add a deploy target (docker/cf-workers).
mili adopt Apply the standard (incl. the baseline skeleton) to an existing repo.
mili doctor Report this binary's version and whether it is up to date.
mili update Install the latest published version.

License

MIT — see the repository.

Keywords