Dry Run Mode
Use DevFlow's --dry-run flag to safely preview every file it will create, every package it will install, and every script it will add — before touching your project.
Overview
Dry-run mode lets you see exactly what DevFlow would do — without modifying your project.
devflow --dry-run
# or
devflow --all --dry-runWhat Dry Run Shows
In dry-run mode, DevFlow runs through the entire flow — detection, module selection, planning — but instead of writing files and installing packages, it logs what would happen:
[dry-run] ℹ Would create .husky/pre-commit
[dry-run] ℹ Would create .husky/commit-msg
[dry-run] ℹ Would create commitlint.config.mjs
[dry-run] ℹ Would create eslint.config.js
[dry-run] ℹ Would merge into package.json: {
"devDependencies": {
"husky": "^9.0.0",
"eslint": "^9.0.0"
}
}
[dry-run] ℹ Would add script "prepare": "husky"
[dry-run] ℹ Would add script "lint": "eslint ."Use Cases
- Auditing — see exactly what modules will generate before committing to changes
- CI validation — run DevFlow in dry-run mode in CI to verify configs are up-to-date
- Learning — understand what each module does without affecting your project
- Debugging — troubleshoot why a module generates unexpected output
Combining with Other Flags
# Dry run the full preset
devflow --all --dry-run
# Dry run a single module
devflow --only eslint --dry-run
# Dry run with verbose output
devflow --all --dry-run --verboseProgrammatic Usage
The dry-run flag sets a global state that all file utilities respect:
writeFileSafe()— logs instead of writingmergePackageJson()— logs the merge payload- Package installation — skipped entirely
- Commands — not executed
Presets
Skip manual module selection with DevFlow presets. Choose Minimal, Recommended, or Full — each preset is tailored to your detected stack (React, Next.js, Vue, NestJS, Node.js) and installs the right tools automatically.
Module Catalogue
Browse all 40+ DevFlow modules: Husky, lint-staged, Commitlint, ESLint, Prettier, Biome, Vitest, Jest, Playwright, GitHub Actions, GitLab CI, Docker, Turborepo, Nx, semantic-release, and more. One command to set up any of them.