Skip to content

affected Pro

Git-based affected package detection for CI/CD pipelines. Adds the affected command to the base monorepo_toolkit.

Version: 1.0.0

Variables

VariableTypeDefaultDescription
appNamestringMyAppThe name of your application
isForMonorepobooleantrueWhether this is being generated as part of a monorepo

Usage

Interactive

bash
archipelago generate affected

Non-interactive (CI)

bash
archipelago generate affected --config my_config.json

Config Template

json
{
  "@appName": "The name of your application",
  "appName": "MyApp",
  "@isForMonorepo": "Whether this is being generated as part of a monorepo",
  "isForMonorepo": true
}

Generated Structure

devtools/
└── scripts/
    └── affected/
        ├── lib/
        │   ├── affected.dart
        │   └── src/
        │       └── affected_command.dart   # Git diff analysis, package detection
        └── pubspec.yaml

Built by Banua Coder