Template
chore: 初始化脚手架 — sunny_mochi 企业级 Flutter 模板
Core 基础设施:Flavor 三包体系、Drift+SQLCipher 加密数据库 7 拦截器 Dio 网络栈、CrashReporter 崩溃日志、Sealed Failure 错误体系 5 色板主题系统、Auth 认证骨架(Clean Architecture)、Dev Panel、Mock Adapter 通过验证:flutter analyze(0 errors)、flutter test(全绿)、staging APK 74.8MB
This commit is contained in:
+105
@@ -0,0 +1,105 @@
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
# Flutter / Dart
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
# Dart tooling
|
||||
.dart_tool/
|
||||
.pub-cache/
|
||||
.pub/
|
||||
**/doc/api/
|
||||
|
||||
# Flutter build cache
|
||||
/build/
|
||||
/coverage/
|
||||
**/ios/Flutter/.last_build_id
|
||||
|
||||
# Flutter plugin metadata (auto-generated on `flutter pub get`)
|
||||
.flutter-plugins
|
||||
.flutter-plugins-dependencies
|
||||
|
||||
# Symbolication / obfuscation maps
|
||||
app.*.symbols
|
||||
app.*.map.json
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
# Android
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
# Gradle
|
||||
/android/.gradle/
|
||||
/android/local.properties # 本机 SDK 路径,不应提交
|
||||
/android/captures/
|
||||
|
||||
# Build outputs (Flavor 构建产物)
|
||||
/android/app/debug/
|
||||
/android/app/profile/
|
||||
/android/app/release/
|
||||
|
||||
# Android 签名密钥(严禁提交)
|
||||
*.jks
|
||||
*.keystore
|
||||
key.properties
|
||||
/android/app/google-services.json # 按需:若使用 Firebase 则配置 CI secret
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
# iOS
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
# CocoaPods(pod install 后自动生成)
|
||||
/ios/Pods/
|
||||
/ios/.symlinks/
|
||||
|
||||
# Xcode 自动生成
|
||||
/ios/Flutter/Generated.xcconfig
|
||||
/ios/Flutter/flutter_export_environment.sh
|
||||
/ios/Runner/GeneratedPluginRegistrant.swift
|
||||
/ios/Runner/GeneratedPluginRegistrant.h
|
||||
/ios/Runner/GeneratedPluginRegistrant.m
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
# dart-defines(敏感配置)
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
# prod.json 包含真实 Sentry DSN / RSA 公钥,由 CI secret 注入,禁止提交
|
||||
dart-defines/prod.json
|
||||
|
||||
# dev.json / staging.json 含占位符,可提交(无真实密钥)
|
||||
# dart-defines/dev.json ← 不忽略
|
||||
# dart-defines/staging.json ← 不忽略
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
# IDE
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
# IntelliJ / Android Studio
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
.idea/
|
||||
|
||||
# VS Code(可按团队习惯解注释)
|
||||
# .vscode/
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
# OS
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
Desktop.ini
|
||||
*.swp
|
||||
*.orig
|
||||
.history/
|
||||
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
# Misc
|
||||
# ═══════════════════════════════════════════════════════════════════
|
||||
|
||||
*.log
|
||||
*.class
|
||||
*.pyc
|
||||
.atom/
|
||||
.buildlog/
|
||||
.svn/
|
||||
.swiftpm/
|
||||
migrate_working_dir/
|
||||
Reference in New Issue
Block a user