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