init
Some checks failed
Code Quality / lint-and-build (push) Failing after 29s
Release Packages / release (push) Failing after 41s

This commit is contained in:
2026-01-31 19:26:46 +01:00
commit 9a0900e3ff
42 changed files with 8346 additions and 0 deletions

26
packages/cli/README.md Normal file
View File

@@ -0,0 +1,26 @@
# @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.