ga_sync 0.1.5 copy "ga_sync: ^0.1.5" to clipboard
ga_sync: ^0.1.5 copied to clipboard

Sync Google Analytics event definitions between Google Sheets and your codebase. Generate type-safe Dart code from spreadsheet-managed GA events.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased #

0.1.5 - 2026-02-04 #

Changed #

  • Updated README with comprehensive documentation
    • Two spreadsheet formats (paired columns and legacy)
    • Japanese headers and type names support
    • @ga_screen_class comment annotation

0.1.4 - 2026-02-04 #

Added #

  • New spreadsheet format support: paired parameter/type columns
    • Header format: イベント名, パラメータ1, 型1, パラメータ2, 型2, ..., 説明, カテゴリ
    • Supports unlimited number of parameters
    • Empty parameter cells are automatically skipped
    • Dropdown selections work seamlessly
  • Backward compatible with legacy comma-separated format

0.1.3 - 2026-02-04 #

Added #

  • header_language option in config to switch between English and Japanese headers
    • Set header_language: "ja" for Japanese headers
    • Set header_language: "en" for English headers (default)
  • Japanese type names support for event parameters:
    • 文字列/テキスト → String
    • 整数/数値 → int
    • 小数 → double
    • 真偽値/フラグ → bool
    • マップ/辞書 → Map
    • リスト/配列 → List
  • Header translations:
    • Events: イベント名, パラメータ, パラメータ型, 説明, カテゴリ
    • Routes: パス, ルート名, 説明, 画面クラス, 最終更新

0.1.1 - 2026-02-04 #

Added #

  • @ga_screen_class comment support for custom screen class names
    • When specified, takes priority over auto-detected class from builder

0.1.0 - 2024-02-04 #

Added #

  • Initial release
  • ga_sync init - Create configuration file
  • ga_sync generate events - Generate Dart code from Google Sheets event definitions
  • ga_sync sync routes - Sync go_router routes to Google Sheets
  • ga_sync sync all - Run both generate and sync
  • ga_sync check - Check if generated code is up to date (for CI)
  • Support for --dry-run option
  • Support for custom config file path
  • Google Sheets API integration with service account authentication
  • go_router parser with @ga_description comment support
  • GitHub Actions workflow examples

Supported Types #

  • stringString
  • int, integerint
  • double, float, numberdouble
  • bool, booleanbool
  • mapMap<String, dynamic>
  • listList<dynamic>
0
likes
140
points
40
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Sync Google Analytics event definitions between Google Sheets and your codebase. Generate type-safe Dart code from spreadsheet-managed GA events.

Repository (GitHub)
View/report issues
Contributing

Topics

#analytics #google-analytics #code-generation #cli #spreadsheet

License

MIT (license)

Dependencies

analyzer, args, code_builder, dart_style, googleapis, googleapis_auth, http, path, yaml

More

Packages that depend on ga_sync