@myhallpass/hallpass-nextjs-init
v0.1.0
Published
**Hallpass and Friends** # Hallpass NextJs Installer / Customizer
Readme
Hallpass and Friends
Hallpass NextJs Installer / Customizer
1) Update NextJs Initializer
- Gather preferences from user
- Execute
create-next-app@latestwith a customized argument list based on user's responses
2) A Guardrails to the Tool
- verify that the operation will not overwrite an existing directory
Goal
Before running create-next-app, we want to:
- Resolve the full target path
- Check if it exists
- If it exists and not empty:
- Prompt user to overwrite the directory
- OR fail quietly
- Exit gracefully on error
