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
| Variable | Type | Default | Description |
|---|---|---|---|
| appName | string | MyApp | The name of your application |
| isForMonorepo | boolean | true | Whether this is being generated as part of a monorepo |
Usage
Interactive
bash
archipelago generate affectedNon-interactive (CI)
bash
archipelago generate affected --config my_config.jsonConfig 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