create-miller
v0.5.1
Published
Create an agent-ready Miller application
Downloads
1,743
Maintainers
Readme
create-miller
Create a new Miller application with the template version bundled in this package.
pnpm create miller@latest my-appFor deterministic agent and CI usage:
pnpm create miller@latest my-app \
--name "My App" \
--slug my-app \
--yes \
--jsonUse --no-install to create the project without installing dependencies or running
mill doctor.
The generated project's next step is a non-interactive setup plan:
pnpm run mill -- setup --from-env --dry-run --jsonThe installer excludes local Terraform variables and state and removes this repository's maintainer-specific remote backend configuration. New projects begin with local Terraform state and can add their own remote backend deliberately.
Maintainer workflow
From the Miller workspace:
pnpm --filter create-miller test
pnpm --filter create-miller pack --pack-destination /tmpThe prepack hook builds a clean template from the workspace. The postpack hook removes
the temporary package contents again.
Releases run through semantic-release from the workspace root. Conventional commits on
main publish to npm with tags such as create-miller-v1.2.0; release/* branches publish
release candidates to the next channel.
The first release needs an npm automation token in the repository secret NPM_TOKEN because
the package does not yet have an npm settings page. After that release, configure the npm
trusted publisher for darraghoriordan/use-miller and publish.yaml, then remove the token.
