easy_setup 0.0.2
easy_setup: ^0.0.2 copied to clipboard
A CLI tool that automates Flutter project flavor setup and CI/CD pipeline generation from a single YAML config.
0.0.2 #
- Remove unused
app_storemodule (JwtGenerator, AppStoreConnectClient) anddart_jsonwebtokendependency - Remove unused
subtypeparameter and_buildConfigIterationBlockmethod - Translate all code comments, README, and docs to English
- Clarify that
localized/localized_permissionare for non-English locales only (English is the base language) - CI/CD credentials are now configured via
.envfile instead of YAML - Add
repositoryURL to pubspec.yaml
0.0.1 #
Flavor Command (default) #
- Android: Auto-configure
build.gradle/build.gradle.ktswithflavorDimensionsandproductFlavors(brace-counting parser for nested Groovy/Kotlin DSL) - iOS (XcodeGen-based): Generate
project.ymland runxcodegen generateto configure Xcode project- Generate per-flavor xcconfig files (Debug/Release/Profile)
- Modify
Info.plistfor flavor-aware display names - Generate/modify
Podfilewith flavor build mode mappings andios_versionsupport - Auto-add
permission_handlerGCC macros to Podfile
- App Icon: Auto-generate all required icon sizes from a single 1024x1024 source image per flavor, with automatic cleanup of unused icons
- Localization: Flavor-specific localized app names via
InfoPlist.stringsand xcconfig variables - Firebase: Copy
google-services.json(Android) andGoogleService-Info.plist(iOS) per flavor - Idempotency: All modifiers/generators are idempotent — safe to run multiple times
- Auto-cleanup: Unused xcconfig files, schemes, and app icons are removed when flavors change
CI/CD Command #
- Fastlane: Generate
.env,Gemfile,Matchfile,Appfile, andFastfilewithsync_certs,build,deploy, andregisterlanes - GitHub Actions: Generate
.github/workflows/ios-deploy.ymlworkflow - App Store Metadata: Generate metadata directory structure for App Store Connect
- Credentials configured via
.envfile (no sensitive data in YAML)
General #
--dry-run/-nflag to preview changes without writing files--project-root/-pflag to specify Flutter project root- Subcommand omission defaults to
flavorfor backward compatibility - User-friendly error messages via
SetupException