Files
at-mintel/packages/cli/README.md
Marc Mintel 9a0900e3ff
Some checks failed
Code Quality / lint-and-build (push) Failing after 29s
Release Packages / release (push) Failing after 41s
init
2026-01-31 19:26:46 +01:00

27 lines
702 B
Markdown

# @mintel/cli
CLI tool for managing the Mintel monorepo and scaffolding new client websites.
## Installation
```bash
pnpm install
```
## Commands
### `init <path>`
Initializes a new website project in the specified path (relative to the monorepo root).
```bash
pnpm --filter @mintel/cli start init apps/my-new-website
```
This command will:
1. Create the project directory.
2. Generate `package.json`, `tsconfig.json`, and `eslint.config.mjs` extending `@mintel` defaults.
3. Set up a localized Next.js structure (`src/app/[locale]`).
4. Configure `next-intl` middleware and request config.
5. Inject production-ready `Dockerfile`, `docker-compose.yml`, and Gitea Actions deployment workflows.