From d5d234ebbb45ead971f8252b7235b4073c4982b6 Mon Sep 17 00:00:00 2001 From: Ryotaro Onoue <73390859+YumNumm@users.noreply.github.com> Date: Thu, 27 Jul 2023 02:09:51 +0900 Subject: [PATCH] =?UTF-8?q?Melos=20=E3=81=AE=E5=B0=8E=E5=85=A5=20&&=20Form?= =?UTF-8?q?atter=E5=AE=9F=E8=A1=8C=20(#354)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ran: bootstrap * fix: dependencies * chore(release): publish packages - lat_lng@1.0.1 * add: melos config * add: format shell scropt * add: formatter * formatter: * fix: import && format * fix: actions * chore(release): publish packages - eq_map@1.0.1 - eqapi_schema@1.0.1 - eqmonitor@2.1.0 - topo_map@1.0.1 - topojson@1.0.1 * remove: melos pub get * Restyle Melos の導入 && Formatter実行 (#355) * Restyled by prettier-markdown * Restyled by shellharden * Restyled by shfmt --------- Co-authored-by: Restyled.io --------- Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io --- .dart_tool/package_config.json | 76 +++- .github/workflows/android-release.yaml | 7 +- .github/workflows/auto-format.yaml | 23 +- .github/workflows/ios-beta.yaml | 7 +- .github/workflows/tag-release.yaml | 8 +- CHANGELOG.md | 412 ++++++++++++++++++ analysis_options.yaml | 2 + .../earthquake_history_view_model.dart | 1 - .../component/eq_map.dart | 1 - .../setup/pages/01_introduction_page.dart | 1 - .../setup/pages/02_quick_guide_about_eew.dart | 1 - melos.yaml | 30 ++ packages/eq_map/CHANGELOG.md | 6 + packages/eq_map/analysis_options.yaml | 45 +- packages/eq_map/build.yaml | 10 + .../eq_map/lib/extension/list_int_vector.dart | 4 +- packages/eq_map/lib/model/feature_layer.dart | 10 +- .../eq_map/lib/model/polygon_feature.dart | 20 +- .../eq_map/lib/model/polyline_feature.dart | 6 +- packages/eq_map/pubspec.yaml | 16 +- packages/eq_map/pubspec_overrides.yaml | 10 + packages/eqapi_schema/.fvm/flutter_sdk | 1 - packages/eqapi_schema/.fvm/fvm_config.json | 4 - packages/eqapi_schema/CHANGELOG.md | 14 + packages/eqapi_schema/analysis_options.yaml | 19 +- packages/eqapi_schema/build.yaml | 4 + .../lib/model/components/accuracy.g.dart | 2 + .../lib/model/components/comments.g.dart | 2 + .../earthquake-explanation/naming.g.dart | 2 + .../earthquake-nankai/earthquake_info.g.dart | 2 + .../lib/model/components/earthquake.g.dart | 2 + .../model/components/eew_hypocenter.g.dart | 2 + .../lib/model/components/eew_intensity.g.dart | 2 + .../lib/model/components/eew_region.g.dart | 2 + .../lib/model/components/intensity.g.dart | 2 + .../model/components/region_intensity.g.dart | 2 + .../tsunami-information/comments.g.dart | 2 + .../tsunami_estimation.g.dart | 2 + .../tsunami_forecast.g.dart | 2 + .../tsunami_observations.g.dart | 2 + .../tsunami-information/vtse41.g.dart | 2 + .../tsunami-information/vtse51.g.dart | 2 + .../tsunami-information/vtse52.g.dart | 2 + .../eqapi_schema/lib/model/telegram_v3.g.dart | 2 + packages/eqapi_schema/pubspec.yaml | 7 +- packages/eqapi_schema/pubspec_overrides.yaml | 4 + packages/extensions/analysis_options.yaml | 45 +- packages/extensions/lib/extensions.dart | 1 - packages/extensions/pubspec.yaml | 2 + packages/lat_lng/CHANGELOG.md | 4 + packages/lat_lng/analysis_options.yaml | 45 +- packages/lat_lng/lib/lat_lng.dart | 1 - .../lat_lng/lib/src/lat_lng_boundary.dart | 8 +- packages/lat_lng/pubspec.yaml | 4 +- packages/topo_map/.fvm/.gitignore | 1 - packages/topo_map/.fvm/fvm_config.json | 4 - packages/topo_map/CHANGELOG.md | 8 + packages/topo_map/analysis_options.yaml | 46 +- packages/topo_map/bin/topojsonconverter.dart | 21 +- packages/topo_map/build.yaml | 10 + .../lib/src/enum/land_layer_type.dart | 8 +- .../topo_map/lib/src/model/topology_map.dart | 6 +- .../lib/src/model/topology_map.g.dart | 75 +++- packages/topo_map/lib/util/create_map.dart | 28 +- packages/topo_map/pubspec.yaml | 13 +- packages/topo_map/pubspec_overrides.yaml | 6 + packages/topojson/CHANGELOG.md | 4 + packages/topojson/analysis_options.yaml | 45 +- packages/topojson/build.yaml | 10 + packages/topojson/lib/src/topo_json.g.dart | 47 +- .../topojson/lib/src/topo_json_geometry.dart | 8 +- .../lib/src/topo_json_geometry.g.dart | 166 +++++-- .../lib/src/topo_json_transform.g.dart | 27 +- packages/topojson/lib/src/vector.g.dart | 28 +- packages/topojson/lib/topojson.dart | 1 - packages/topojson/pubspec.yaml | 5 +- pubspec.lock | 112 ++++- pubspec.yaml | 7 +- pubspec_overrides.yaml | 14 + util/shell/format.sh | 12 + 80 files changed, 1237 insertions(+), 370 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 melos.yaml create mode 100644 packages/eq_map/build.yaml create mode 100644 packages/eq_map/pubspec_overrides.yaml delete mode 120000 packages/eqapi_schema/.fvm/flutter_sdk delete mode 100644 packages/eqapi_schema/.fvm/fvm_config.json create mode 100644 packages/eqapi_schema/pubspec_overrides.yaml delete mode 100644 packages/topo_map/.fvm/.gitignore delete mode 100644 packages/topo_map/.fvm/fvm_config.json create mode 100644 packages/topo_map/build.yaml create mode 100644 packages/topo_map/pubspec_overrides.yaml create mode 100644 packages/topojson/build.yaml create mode 100644 pubspec_overrides.yaml create mode 100755 util/shell/format.sh diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index f5acc4d66..6953df797 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -25,6 +25,12 @@ "packageUri": "lib/", "languageVersion": "2.17" }, + { + "name": "ansi_styles", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/ansi_styles-0.3.2+1", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "ansicolor", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/ansicolor-2.0.1", @@ -127,6 +133,12 @@ "packageUri": "lib/", "languageVersion": "2.12" }, + { + "name": "charcode", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/charcode-1.3.1", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "checked_yaml", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/checked_yaml-2.0.3", @@ -139,6 +151,12 @@ "packageUri": "lib/", "languageVersion": "2.12" }, + { + "name": "cli_launcher", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/cli_launcher-0.3.1", + "packageUri": "lib/", + "languageVersion": "2.18" + }, { "name": "cli_util", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/cli_util-0.4.0", @@ -169,6 +187,12 @@ "packageUri": "lib/", "languageVersion": "2.12" }, + { + "name": "conventional_commit", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/conventional_commit-0.6.0+1", + "packageUri": "lib/", + "languageVersion": "2.18" + }, { "name": "convert", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/convert-3.1.1", @@ -613,6 +637,12 @@ "packageUri": "lib/", "languageVersion": "2.13" }, + { + "name": "melos", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/melos-3.1.1", + "packageUri": "lib/", + "languageVersion": "2.18" + }, { "name": "meta", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/meta-1.9.1", @@ -625,6 +655,12 @@ "packageUri": "lib/", "languageVersion": "2.18" }, + { + "name": "mustache_template", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/mustache_template-2.0.0", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "native_shared_preferences", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/native_shared_preferences-2.0.7", @@ -693,7 +729,7 @@ }, { "name": "pedantic_mono", - "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/pedantic_mono-1.22.0", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/pedantic_mono-1.23.0", "packageUri": "lib/", "languageVersion": "3.0" }, @@ -763,18 +799,42 @@ "packageUri": "lib/", "languageVersion": "2.14" }, + { + "name": "prompts", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/prompts-2.0.0", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "pub_semver", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/pub_semver-2.1.4", "packageUri": "lib/", "languageVersion": "2.17" }, + { + "name": "pub_updater", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/pub_updater-0.3.1", + "packageUri": "lib/", + "languageVersion": "3.0" + }, + { + "name": "pubspec", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/pubspec-2.3.0", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "pubspec_parse", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/pubspec_parse-1.2.3", "packageUri": "lib/", "languageVersion": "2.18" }, + { + "name": "quiver", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/quiver-3.2.1", + "packageUri": "lib/", + "languageVersion": "2.17" + }, { "name": "retrofit", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/retrofit-4.0.1", @@ -1051,6 +1111,12 @@ "packageUri": "lib/", "languageVersion": "2.17" }, + { + "name": "uri", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/uri-1.0.0", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "url_launcher_linux", "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.5", @@ -1135,6 +1201,12 @@ "packageUri": "lib/", "languageVersion": "2.19" }, + { + "name": "yaml_edit", + "rootUri": "file:///Users/r_onoue/.pub-cache/hosted/pub.dev/yaml_edit-2.1.1", + "packageUri": "lib/", + "languageVersion": "2.19" + }, { "name": "eqmonitor", "rootUri": "../", @@ -1142,7 +1214,7 @@ "languageVersion": "3.0" } ], - "generated": "2023-07-26T15:25:22.779398Z", + "generated": "2023-07-26T17:06:50.907246Z", "generator": "pub", "generatorVersion": "3.0.6" } diff --git a/.github/workflows/android-release.yaml b/.github/workflows/android-release.yaml index 96854b789..50cb41dde 100644 --- a/.github/workflows/android-release.yaml +++ b/.github/workflows/android-release.yaml @@ -65,10 +65,13 @@ jobs: - name: Flutter dependencies install run: flutter pub get - - name: Generate codes with build_runner + - name: Install Melos + run: pub global activate melos && melos bootstrap + + - name: build_runner run: | echo '${{ secrets.ENV }}' | base64 -d > .env - flutter pub run build_runner build -d + melos run build_runner - name: Accept Android License run: yes | flutter doctor --android-licenses diff --git a/.github/workflows/auto-format.yaml b/.github/workflows/auto-format.yaml index a48f7e806..08fc12fe4 100644 --- a/.github/workflows/auto-format.yaml +++ b/.github/workflows/auto-format.yaml @@ -15,26 +15,19 @@ jobs: - name: Setup Flutter uses: subosito/flutter-action@v2 with: - flutter-version: ${{ env.FLUTTER_VERSION }} - channel: ${{ env.FLUTTER_CHANNEL }} cache: true - name: Install dependencies - run: | - flutter pub get + run: flutter pub get + - name: Install Melos + run: pub global activate melos && melos bootstrap - - name: Format + - name: build_runner run: | - files=$(find lib test -name "*.dart" -not \( -name "*.*freezed.dart" -o -name "*.*g.dart" -o -name "*.gen.dart" \)) - for file in $files; do - # limit jobs to 5 - if [ "$(jobs -r | wc -l)" -ge 5 ]; then - wait "$(jobs -r -p | head -1)" - fi - dart fix --apply "$file" & - done - wait + echo '${{ secrets.ENV }}' | base64 -d > .env + melos run build_runner - dart format "$files" + - name: format + run: melos run format # 変更が発生した場合は プルリクエストを作成 - name: Create pull request diff --git a/.github/workflows/ios-beta.yaml b/.github/workflows/ios-beta.yaml index d1b3569b0..f3820cb81 100644 --- a/.github/workflows/ios-beta.yaml +++ b/.github/workflows/ios-beta.yaml @@ -45,10 +45,13 @@ jobs: - name: Flutter dependencies install run: flutter pub get - - name: Generate codes with build_runner + - name: Install Melos + run: pub global activate melos && melos bootstrap + + - name: build_runner run: | echo '${{ secrets.ENV }}' | base64 -d > .env - flutter pub run build_runner build -d + melos run build_runner - name: Cache Pods uses: actions/cache@v2 diff --git a/.github/workflows/tag-release.yaml b/.github/workflows/tag-release.yaml index d849fd4e5..875f2ce68 100644 --- a/.github/workflows/tag-release.yaml +++ b/.github/workflows/tag-release.yaml @@ -71,10 +71,14 @@ jobs: - name: Flutter dependencies install run: flutter pub get - - name: Generate codes with build_runner + - name: Install Melos + run: pub global activate melos && melos bootstrap + + - name: build_runner run: | echo '${{ secrets.ENV }}' | base64 -d > .env - flutter pub run build_runner build --delete-conflicting-outputs + melos run build_runner + - name: Generate LauncherIcon run: flutter pub run flutter_launcher_icons:main diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..69be33f05 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,412 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 2023-07-27 + +### Changes + +--- + +Packages with breaking changes: + +- There are no breaking changes in this release. + +Packages with other changes: + +- [`eq_map` - `v1.0.1`](#eq_map---v101) +- [`eqapi_schema` - `v1.0.1`](#eqapi_schema---v101) +- [`eqmonitor` - `v2.1.0`](#eqmonitor---v210) +- [`topo_map` - `v1.0.1`](#topo_map---v101) +- [`topojson` - `v1.0.1`](#topojson---v101) + +--- + +#### `eq_map` - `v1.0.1` + +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: mapdata. ([aaf05e0d](https://github.com/YumNumm/EQMonitor/commit/aaf05e0db06866b2c94ba417195c6185353d8c3c)) +- **FIX**: [eqmap] toLocations function. ([1d6e11ec](https://github.com/YumNumm/EQMonitor/commit/1d6e11ecda7e5b3fd66b8a859b481e3a619438fb)) + +#### `eqapi_schema` - `v1.0.1` + +- **FIX**: import && format. ([5983e485](https://github.com/YumNumm/EQMonitor/commit/5983e485a28c71258aaf5f1116ece745fb8e8e4c)) +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: unknown intensity widget. ([da09e079](https://github.com/YumNumm/EQMonitor/commit/da09e079181ca3a40408e7b9b43f52fe92535f99)) +- **FIX**: [TelegramV3] toJson function. ([ea1df2b8](https://github.com/YumNumm/EQMonitor/commit/ea1df2b8f96f1a7d587adc54e26500eea7a87678)) +- **FIX**: [TelegramV3] toJson function. ([224a49ab](https://github.com/YumNumm/EQMonitor/commit/224a49ab21e86bef93fbbbc4db1877549024b22f)) +- **FIX**: 地図病が. ([0ea9b413](https://github.com/YumNumm/EQMonitor/commit/0ea9b41387518af4447c3b7f1ce8f08b9dbf86b5)) +- **FIX**: api 周りの修正. ([d57d3034](https://github.com/YumNumm/EQMonitor/commit/d57d3034968d38f7669ed98f5c9ecbcc6e8956a3)) +- **FIX**: [TelegramV3] typedef. ([988d7f25](https://github.com/YumNumm/EQMonitor/commit/988d7f25692d28622bf51bf55f088efa3c92b2d7)) +- **FIX**: [TelegramV3] Vxse56,61. ([9ba3d109](https://github.com/YumNumm/EQMonitor/commit/9ba3d109c0ba19b1d5ebba97821dc37d597b1c46)) +- **FIX**: [TelegramV3] TelegramStatus の修正. ([791ad19d](https://github.com/YumNumm/EQMonitor/commit/791ad19d4108ab0a25354d21170522222e8c325e)) +- **FIX**: [TelegramV3] typedef. ([f897239d](https://github.com/YumNumm/EQMonitor/commit/f897239dfe27f17bfb37f120d97349c389fae569)) + +#### `eqmonitor` - `v2.1.0` + +- **REVERT**: EEWUI. ([f518e163](https://github.com/YumNumm/EQMonitor/commit/f518e163347e4fd250f471b901974e1f7970c300)) +- **REFACTOR**: [topo_map] calc. ([cb16b045](https://github.com/YumNumm/EQMonitor/commit/cb16b045599bf410128a3f252391cc9ddd55520b)) +- **REFACTOR**: Map cache. ([10c7aaf8](https://github.com/YumNumm/EQMonitor/commit/10c7aaf86d8c86f2e22d1f4b5fd86580651e454d)) +- **REFACTOR**: [skip ci] Move common dir to core dir. ([b8b5c204](https://github.com/YumNumm/EQMonitor/commit/b8b5c204ea378eaa4bb4014efc281c828e5503ca)) +- **FIX**: kmoniViewModel と kmoniObservationPointsFutureProvider を分離. ([c1c16d49](https://github.com/YumNumm/EQMonitor/commit/c1c16d49cc71eb33d7b67d9afc1884b8c4bc5d8c)) +- **FIX**: PS 波到達円の描画改善. ([0071904c](https://github.com/YumNumm/EQMonitor/commit/0071904cf556cd78d023e41c2f93043cacd173f6)) +- **FIX**: 地図描画の改善. ([92b03e24](https://github.com/YumNumm/EQMonitor/commit/92b03e248e1fb4423bdb77098f0e50ff1207332c)) +- **FIX**: 初期設定画面の改善. ([e9869e93](https://github.com/YumNumm/EQMonitor/commit/e9869e93168dffa71b36e78e8773f5e4887eb980)) +- **FIX**: modal の画面下部の SafeArea を消去. ([e4d50a8a](https://github.com/YumNumm/EQMonitor/commit/e4d50a8a448fcf319b23347f3feb0f939eb46ba3)) +- **FIX**: component に引数追加. ([56dff1be](https://github.com/YumNumm/EQMonitor/commit/56dff1be94dcd4074aef14da25472d07f50e4e83)) +- **FIX**: EEW 表示を改善. ([6c268343](https://github.com/YumNumm/EQMonitor/commit/6c2683435f0d025493ff4d63aa753300c90918bd)) +- **FIX**: PS 到達円が更新されない問題. ([6aa629f1](https://github.com/YumNumm/EQMonitor/commit/6aa629f143354cf7bbe3e03e3f356d5c757da3d6)) +- **FIX**: introduction page. ([5d6c9592](https://github.com/YumNumm/EQMonitor/commit/5d6c9592fb392fa18773d5c924648bb158fbbc1a)) +- **FIX**: import && format. ([5983e485](https://github.com/YumNumm/EQMonitor/commit/5983e485a28c71258aaf5f1116ece745fb8e8e4c)) +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: mapdata. ([aaf05e0d](https://github.com/YumNumm/EQMonitor/commit/aaf05e0db06866b2c94ba417195c6185353d8c3c)) +- **FIX**: [ci] xcode version. ([72bb479c](https://github.com/YumNumm/EQMonitor/commit/72bb479c6373512d078c380527132bac987981ff)) +- **FIX**: remove unused args. ([61d1f32f](https://github.com/YumNumm/EQMonitor/commit/61d1f32ff131a92be0469fd27c416b4f3fb5ac11)) +- **FIX**: change App store key. ([f72923b1](https://github.com/YumNumm/EQMonitor/commit/f72923b16635ab6f09e357954b27debf8ec3bf86)) +- **FIX**: [ci] App Store Connect. ([d80b9c27](https://github.com/YumNumm/EQMonitor/commit/d80b9c27035da9ee21cd2a106b4b0c4a23b66be5)) +- **FIX**: [ci] App Store Connect Key ENV. ([620c2642](https://github.com/YumNumm/EQMonitor/commit/620c2642854d1be56393dfdb44ffd19a7354a147)) +- **FIX**: [ci] App Store Connect Key. ([492ae576](https://github.com/YumNumm/EQMonitor/commit/492ae5767f7739e4a1cef35d0718b2b7f7c7465c)) +- **FIX**: [ci] Firebase. ([30aec6d0](https://github.com/YumNumm/EQMonitor/commit/30aec6d00e7931a516e3dd026ea4b7e00a6cf75f)) +- **FIX**: [ci] ssh. ([b0b7aaa3](https://github.com/YumNumm/EQMonitor/commit/b0b7aaa343fb866c202179a4596d66d48345c104)) +- **FIX**: [ci] fastlane env. ([d96d106d](https://github.com/YumNumm/EQMonitor/commit/d96d106da254518e06671a7df470ad706f02015b)) +- **FIX**: bundle. ([e8fdd7d4](https://github.com/YumNumm/EQMonitor/commit/e8fdd7d407d752e377b6a20f5ff4c1fbfb8adb08)) +- **FIX**: [ci]. ([92cca731](https://github.com/YumNumm/EQMonitor/commit/92cca731a1b078b5c9ca873612d45cac24110ba9)) +- **FIX**: [ci]. ([51f29ef6](https://github.com/YumNumm/EQMonitor/commit/51f29ef64fdc4aadcb61a4e4cbb8d796495ef1b7)) +- **FIX**: [ci] github ssh. ([2e0e4ada](https://github.com/YumNumm/EQMonitor/commit/2e0e4ada25ffd34b29c37f6c7fd973ad9b252078)) +- **FIX**: actions. ([13abf8b0](https://github.com/YumNumm/EQMonitor/commit/13abf8b02541b6c4a7dc11fc2fb881243574af7c)) +- **FIX**: ios app icon bug. ([b78858db](https://github.com/YumNumm/EQMonitor/commit/b78858dbebdf2089432499b9b7709564290bcebc)) +- **FIX**: [ci] fastlane. ([b3a8c381](https://github.com/YumNumm/EQMonitor/commit/b3a8c38155ccf76061701d3b5a36804f10e7a2e4)) +- **FIX**: .env.example のコメント. ([654ab439](https://github.com/YumNumm/EQMonitor/commit/654ab439de2a51b12d9883a27dabdadfbfa76df0)) +- **FIX**: 地図病が. ([2cbb2116](https://github.com/YumNumm/EQMonitor/commit/2cbb21167ebdddbd28e29bfe0913e0cb2402ea21)) +- **FIX**: 到達円が出ない問題. ([cb58fad9](https://github.com/YumNumm/EQMonitor/commit/cb58fad90961d3793de2b84cd6befa377b777479)) +- **FIX**: 注意文の修正. ([a85169c8](https://github.com/YumNumm/EQMonitor/commit/a85169c86f86ffcc8407da92c1ac66bc9c858f78)) +- **FIX**: map. ([471926c9](https://github.com/YumNumm/EQMonitor/commit/471926c9cc24d8f13725c0ba884f0dceaece2ddb)) +- **FIX**: EEW 表示されないバグ. ([94a47fe4](https://github.com/YumNumm/EQMonitor/commit/94a47fe498b1a1b910945e85a9d51316cd61b590)) +- **FIX**: directory. ([78578e3c](https://github.com/YumNumm/EQMonitor/commit/78578e3c0baeb095a7a5a3fddd9e0e03b8ee89e8)) +- **FIX**: ディレクトリ構成の見直し. ([c00faa3c](https://github.com/YumNumm/EQMonitor/commit/c00faa3c404adf9127cbc3e8db9faefee248e390)) +- **FIX**: 地図描画. ([d5cb7969](https://github.com/YumNumm/EQMonitor/commit/d5cb79695843bfecd335bdc8798903075d69b751)) +- **FIX**: eew 表示条件. ([962d66a5](https://github.com/YumNumm/EQMonitor/commit/962d66a5420c9085a9ae1ddfdaa2d87bb8d41e52)) +- **FIX**: ios app icon. ([f9c77bcb](https://github.com/YumNumm/EQMonitor/commit/f9c77bcbbd512c41807330c5a762b359b178d39b)) +- **FIX**: projection class. ([6b7c9d5e](https://github.com/YumNumm/EQMonitor/commit/6b7c9d5ea86fc0633cd5f6e601d4a0559d6f34cd)) +- **FIX**: [eqmap] toLocations function. ([1d6e11ec](https://github.com/YumNumm/EQMonitor/commit/1d6e11ecda7e5b3fd66b8a859b481e3a619438fb)) +- **FIX**: [topomap] README. ([ced29c5d](https://github.com/YumNumm/EQMonitor/commit/ced29c5d167808577ee2dabcb6e8683cae82b56f)) +- **FIX**: topoMap. ([33c94f7e](https://github.com/YumNumm/EQMonitor/commit/33c94f7eb2ba9e5a97c265057cc9dcbe0cec5159)) +- **FIX**: バックグラウンド時の Fetch スキップを実装. ([ffe4a18a](https://github.com/YumNumm/EQMonitor/commit/ffe4a18a63babb1f77952e183dcdd47a72e5207e)) +- **FIX**: 初期設定画面の改善. ([4a433fc0](https://github.com/YumNumm/EQMonitor/commit/4a433fc0ade4fd3b187e8c0d617e8cbeec70efa2)) +- **FIX**: eew. ([f746dedb](https://github.com/YumNumm/EQMonitor/commit/f746dedb364c3ef7403530dc8a658ed945df4081)) +- **FIX**: customchip. ([82cb0739](https://github.com/YumNumm/EQMonitor/commit/82cb07394f8f0d721ab80087f2dc34dc495ae274)) +- **FIX**: eew. ([46dae174](https://github.com/YumNumm/EQMonitor/commit/46dae1742270ac272f4d5ce1a45eea3a5d0d011a)) +- **FIX**: ColorScheme. ([61407a22](https://github.com/YumNumm/EQMonitor/commit/61407a22c06585514b609f4f051958fd30ac6ddd)) +- **FIX**: unknown intensity widget. ([da09e079](https://github.com/YumNumm/EQMonitor/commit/da09e079181ca3a40408e7b9b43f52fe92535f99)) +- **FIX**: eewWidget font. ([9be0f733](https://github.com/YumNumm/EQMonitor/commit/9be0f73366ccd3d98cae4592f6c86fd4a3e7a98a)) +- **FIX**: eew Widget. ([e665739c](https://github.com/YumNumm/EQMonitor/commit/e665739cf1dd2f9f3884c92cd53be9abe9d166cf)) +- **FIX**: CustomChip に背景をセットする変数を追加. ([d130f493](https://github.com/YumNumm/EQMonitor/commit/d130f4930b0ceae7c65d9ca113ddb9a12c1ef433)) +- **FIX**: eew widget. ([be859cf1](https://github.com/YumNumm/EQMonitor/commit/be859cf13207aac070ffb04c5566845cbcb8c31d)) +- **FIX**: actions. ([d4a015cb](https://github.com/YumNumm/EQMonitor/commit/d4a015cb3ccdd330b9c1c5b1915c345ab9975266)) +- **FIX**: kmoni delay adjust 時にログ. ([c6a653c3](https://github.com/YumNumm/EQMonitor/commit/c6a653c3eb32fc7be117e0b008d8b8ad8d055f7d)) +- **FIX**: sheetfloaingactionsbuttons の MediaQuery 考慮. ([98b309c7](https://github.com/YumNumm/EQMonitor/commit/98b309c73cf07f8a79f28c67ac764503840eab62)) +- **FIX**: modal stop の値変更. ([62524276](https://github.com/YumNumm/EQMonitor/commit/62524276e6fbe59f8bc2b507f08bc49698c12a47)) +- **FIX**: 地震履歴のフォント変更. ([618e3961](https://github.com/YumNumm/EQMonitor/commit/618e39618a38150c15058ab6e566acf4df9a6461)) +- **FIX**: 震度アイコンのフォントを変更・太く. ([a8ac4e94](https://github.com/YumNumm/EQMonitor/commit/a8ac4e944f18a22c07411c5baf3ac82cf8e9138e)) +- **FIX**: setup-page2 の空白調整. ([83b8a0fc](https://github.com/YumNumm/EQMonitor/commit/83b8a0fcb718fdf0e39af60cada3017f05428323)) +- **FIX**: ディレクトリ構成の見直し. ([75299efb](https://github.com/YumNumm/EQMonitor/commit/75299efb47ea78cc397273db14f1927480279b2a)) +- **FIX**: circle size. ([5154922e](https://github.com/YumNumm/EQMonitor/commit/5154922e38ea39d9bedf8d63c4573e223c84087d)) +- **FIX**: 地震履歴 Widget の表示条件を修正. ([8e70a57f](https://github.com/YumNumm/EQMonitor/commit/8e70a57fa9cab58b6c78711a078b02c5a004bcdc)) +- **FIX**: 訓練報の扱いを修正. ([8026a4db](https://github.com/YumNumm/EQMonitor/commit/8026a4dbf5eb217a48da1546b6c71ace281a16cb)) +- **FIX**: build bugs on iOS. ([ab078b66](https://github.com/YumNumm/EQMonitor/commit/ab078b663ba2f4ac96335dcf7f903867aa92aead)) +- **FIX**: dependency. ([a7cc5081](https://github.com/YumNumm/EQMonitor/commit/a7cc50810cea201ac4d5e59dc36900ceda217e9b)) +- **FIX**: 電文解析時に別 Isolate で実行するよう修正. ([272451ef](https://github.com/YumNumm/EQMonitor/commit/272451efbb3b4b210f2028c841b68ed128405152)) +- **FIX**: 強震モニタ画像解析を別 Thread で実行するよう変更. ([ccc1dab2](https://github.com/YumNumm/EQMonitor/commit/ccc1dab2fe64501cc12a4baacdb64f3a82b652ff)) +- **FIX**: 地図描画・Sheet の実装・地震履歴の改善. ([592f4298](https://github.com/YumNumm/EQMonitor/commit/592f429880bbc98ffd19e82c9b92b7e208330b67)) +- **FIX**: dynamic_color. ([8e0b6d86](https://github.com/YumNumm/EQMonitor/commit/8e0b6d860545138df577c2a149364e14ae480357)) +- **FIX**: ズーム時に focalPoint がずれる問題. ([6015e2ab](https://github.com/YumNumm/EQMonitor/commit/6015e2ab4cd09364c315c033dc9e40fd47cedafa)) +- **FIX**: eewTelegramProvider の型定義. ([02a62655](https://github.com/YumNumm/EQMonitor/commit/02a6265519342231d8921e5cde48d997db8bc5b3)) +- **FIX**: 観測点の描画サイズ. ([2cb4880b](https://github.com/YumNumm/EQMonitor/commit/2cb4880b6cb53c0baec9aa71c48f792b1d83303c)) +- **FIX**: various pages. ([1d1cc379](https://github.com/YumNumm/EQMonitor/commit/1d1cc3792a6abd8d1f405b25d4052006e32a1b35)) +- **FIX**: [TelegramV3] toJson function. ([ea1df2b8](https://github.com/YumNumm/EQMonitor/commit/ea1df2b8f96f1a7d587adc54e26500eea7a87678)) +- **FIX**: [TelegramV3] toJson function. ([224a49ab](https://github.com/YumNumm/EQMonitor/commit/224a49ab21e86bef93fbbbc4db1877549024b22f)) +- **FIX**: path. ([aa7bdbff](https://github.com/YumNumm/EQMonitor/commit/aa7bdbff92b101485f1c22ff2621d73e0400698a)) +- **FIX**: kmoni の初期遅延を修正. ([4981257c](https://github.com/YumNumm/EQMonitor/commit/4981257c3aa0d590639a4af40c189dc50e7db2ec)) +- **FIX**: 地震履歴の AppBar title. ([86c38490](https://github.com/YumNumm/EQMonitor/commit/86c38490c36539bb6218bcedd290553c87b414b0)) +- **FIX**: ダークモード対応. ([4fd22643](https://github.com/YumNumm/EQMonitor/commit/4fd22643a4bff1d07bcc09ace507415a6c30c1a0)) +- **FIX**: 地図病が. ([0ea9b413](https://github.com/YumNumm/EQMonitor/commit/0ea9b41387518af4447c3b7f1ce8f08b9dbf86b5)) +- **FIX**: 地図描画の改善. ([93ebda6d](https://github.com/YumNumm/EQMonitor/commit/93ebda6d7c240925189284079178fc7d3fcc24d1)) +- **FIX**: api 周りの修正. ([d57d3034](https://github.com/YumNumm/EQMonitor/commit/d57d3034968d38f7669ed98f5c9ecbcc6e8956a3)) +- **FIX**: 通知周りの修正. ([ef55a3f1](https://github.com/YumNumm/EQMonitor/commit/ef55a3f14170c01a84c9c6bdf6fadc5c151a35ae)) +- **FIX**: [ci]. ([04efee16](https://github.com/YumNumm/EQMonitor/commit/04efee164e96f4e215990298ea40005d41f38325)) +- **FIX**: 地震履歴一覧. ([7dba2838](https://github.com/YumNumm/EQMonitor/commit/7dba28385ae4db34e1843bfd30b8f7ae74365568)) +- **FIX**: 通知権限の要求. ([7284784a](https://github.com/YumNumm/EQMonitor/commit/7284784a5cb0a30e81b300372d6fa2594be1e0da)) +- **FIX**: ios dev version and flutter 3.10.1. ([55e65f7e](https://github.com/YumNumm/EQMonitor/commit/55e65f7e2032de8ce6626a7843aa744c289149e1)) +- **FIX**: 震源深さが null になる問題. ([5ec59762](https://github.com/YumNumm/EQMonitor/commit/5ec5976274402c81233dcaae38486cdf05f68469)) +- **FIX**: 画面外にポリゴンが描画される問題を解消. ([4b7b7f3c](https://github.com/YumNumm/EQMonitor/commit/4b7b7f3c3338532ef96e544ec7a18b4f57b64679)) +- **FIX**: ci. ([b301b847](https://github.com/YumNumm/EQMonitor/commit/b301b847da9de8b898f1193fd275f8aab0818dd9)) +- **FIX**: map. ([bf048244](https://github.com/YumNumm/EQMonitor/commit/bf0482441851e8dd40ee1bffc5925e66882709d9)) +- **FIX**: 地震履歴. ([54208cfe](https://github.com/YumNumm/EQMonitor/commit/54208cfe96529b549cb8d024b8a56113067776bd)) +- **FIX**: [TelegramV3] typedef. ([988d7f25](https://github.com/YumNumm/EQMonitor/commit/988d7f25692d28622bf51bf55f088efa3c92b2d7)) +- **FIX**: [TelegramV3] Vxse56,61. ([9ba3d109](https://github.com/YumNumm/EQMonitor/commit/9ba3d109c0ba19b1d5ebba97821dc37d597b1c46)) +- **FIX**: [TelegramV3] TelegramStatus の修正. ([791ad19d](https://github.com/YumNumm/EQMonitor/commit/791ad19d4108ab0a25354d21170522222e8c325e)) +- **FIX**: [TelegramV3] typedef. ([f897239d](https://github.com/YumNumm/EQMonitor/commit/f897239dfe27f17bfb37f120d97349c389fae569)) +- **FIX**: eqapi_schema. ([9cc12e28](https://github.com/YumNumm/EQMonitor/commit/9cc12e28db03ead50536af691d42869afc6d0f4b)) +- **FIX**: [ci] auto-format. ([61da7204](https://github.com/YumNumm/EQMonitor/commit/61da720455ad6e3dab65b08369bbe9cdc49b7bd4)) +- **FIX**: ios splash screen. ([2379d4d9](https://github.com/YumNumm/EQMonitor/commit/2379d4d96f178c3d11d76952b917c2a12f43774f)) +- **FIX**: iOS. ([afc13f92](https://github.com/YumNumm/EQMonitor/commit/afc13f92aec12c260a47454ab0efedadb6015569)) +- **FIX**: android 周りの設定. ([0e5762f0](https://github.com/YumNumm/EQMonitor/commit/0e5762f0b58103e1939f92e28949e54d2f24df60)) +- **FIX**: iOS への対応. ([a4a65857](https://github.com/YumNumm/EQMonitor/commit/a4a65857ae38dd7d41400b569f725ec91d1110fc)) +- **FIX**: gh-repo の所有権移転に伴う URL 変更. ([d7d82fe5](https://github.com/YumNumm/EQMonitor/commit/d7d82fe564ab73d7f0706ae30ba82077f8389bb7)) +- **FIX**: Tag-release の Actions 修正. ([75e761a6](https://github.com/YumNumm/EQMonitor/commit/75e761a66f48788fbd59ff17212165edae8875df)) +- **FIX**: EEW テスト>EEW 電文取消を実装. ([1adeaa20](https://github.com/YumNumm/EQMonitor/commit/1adeaa2024231cd8ef4774522bb6e3be36e8d4c5)) +- **FIX**: 通常報以外を棄却するように. ([f0c67712](https://github.com/YumNumm/EQMonitor/commit/f0c6771277d3fdc4d4b747c59886851a32ef915c)) +- **FIX**: API のエンドポイント・Key を変更. ([e800cdf0](https://github.com/YumNumm/EQMonitor/commit/e800cdf0dc1c46ea475b0723bfe6930be1dc6ab2)) +- **FIX**: 地震履歴の震度解析. ([0aa63884](https://github.com/YumNumm/EQMonitor/commit/0aa63884413f44980184c103b6fd1b1c741474db)) +- **FIX**: Gradle 7.5.1->7.6. ([91e79126](https://github.com/YumNumm/EQMonitor/commit/91e7912649942bf7854db76249e561647fc4f17d)) +- **FIX**: EEW 電文の取り扱いを改善. ([929ce3d7](https://github.com/YumNumm/EQMonitor/commit/929ce3d7c794cd48253acae1192160201da80979)) +- **FIX**: EEW 表示用のプレースホルダを消去. ([9eadff35](https://github.com/YumNumm/EQMonitor/commit/9eadff3523fdc8935d3a57917bcc914c66febc2e)) +- **FIX**: 地震履歴画面で震央地名がオーバーフローする問題. ([40aa8da6](https://github.com/YumNumm/EQMonitor/commit/40aa8da672532f5e77f1551ccf4ddd706d8a910c)) +- **FIX**: 地震履歴詳細画面で震央地名がオーバーフローする問題. ([70ea2525](https://github.com/YumNumm/EQMonitor/commit/70ea2525cffa88970f9339df2adfc78447c453e7)) +- **FIX**: EEW 初期取得の件数を減らしました. ([9ed4ef0c](https://github.com/YumNumm/EQMonitor/commit/9ed4ef0c90d643fdca557e4d57ac996180cde60d)) +- **FIX**: SharedPreferences の各クラス内初期化を改善. ([be6c428e](https://github.com/YumNumm/EQMonitor/commit/be6c428ed0a6bfbe3cb40b8dfab9081f7b147017)) +- **FIX**: 例外処理の改善. ([9075d407](https://github.com/YumNumm/EQMonitor/commit/9075d40704bbde763f870f3f0bb557486c94d409)) +- **FIX**: 地震履歴の UI が崩れる問題を解消. ([ff3984ca](https://github.com/YumNumm/EQMonitor/commit/ff3984ca9ebd2dce54789d13f45e67dc53bf0f41)) +- **FIX**: EEWUI の改善. ([75e8c06b](https://github.com/YumNumm/EQMonitor/commit/75e8c06b519fd16343738434e7bb268dd02320ac)) +- **FIX**: EEWUI の`程度以上`の文字色が震度部分と異なる問題. ([984d0517](https://github.com/YumNumm/EQMonitor/commit/984d0517eb04f5596865db75dd47835f960abcde)) +- **FIX**: ログ関連. ([7e0c7446](https://github.com/YumNumm/EQMonitor/commit/7e0c74466d696e28fe820b1b2b70bd102eef53ae)) +- **FIX**: eewHistoryProvider を eewProvider にリネーム. ([5239ff95](https://github.com/YumNumm/EQMonitor/commit/5239ff955cfa4fe6b405b10b276a80382876ed62)) +- **FIX**: [iOS]Firebase Config Path. ([a85fd069](https://github.com/YumNumm/EQMonitor/commit/a85fd069738f16e23a317c05fd2198d93d4c2316)) +- **FIX**: 更新履歴まわり. ([97a31b01](https://github.com/YumNumm/EQMonitor/commit/97a31b016120ef787af7456824e9b9f20a2d311f)) +- **FIX**: テストモード時のオーバレイの文字サイズを小さく. ([8c1c9418](https://github.com/YumNumm/EQMonitor/commit/8c1c9418de2b4d9c82c60a41eaddd72a2853e96c)) +- **FIX**: ReleaseMode でのみ Crashlytics を送信するように変更. ([d383f62b](https://github.com/YumNumm/EQMonitor/commit/d383f62b01d3261ce0eabf182f3f00102667a049)) +- **FIX**: DevicePreview まわりの処理改善. ([2e3915b3](https://github.com/YumNumm/EQMonitor/commit/2e3915b3fce8e4ee35dd5bb4eff3a2588c3d1a14)) +- **FIX**: [dev] 予想震度表示関連の修正. ([1f2ef734](https://github.com/YumNumm/EQMonitor/commit/1f2ef7348110ab3173584f4594e7947e38d6d942)) +- **FIX**: BaseMap の描画改善. ([64685a2d](https://github.com/YumNumm/EQMonitor/commit/64685a2d3e031828dc07d411446983ac16d459bc)) +- **FIX**: ci: AutoFormat の発火条件を変更. ([f3eca130](https://github.com/YumNumm/EQMonitor/commit/f3eca1304826101acfaddb0c0e7dcd3843da4c7a)) +- **FIX**: 距離減衰式による震度推定を消去. ([1fa9ad33](https://github.com/YumNumm/EQMonitor/commit/1fa9ad33a566d7224041d8737a10630e51a4f448)) +- **FIX**: 地震履歴のエラー. ([b9326928](https://github.com/YumNumm/EQMonitor/commit/b9326928553aa17796387b9ab6c67b2e69b857b0)) +- **FIX**: 1 番最新の地震履歴を取得できない問題. ([e5bfddfc](https://github.com/YumNumm/EQMonitor/commit/e5bfddfc6d02f509bb178c937039dc03185d9ee5)) +- **FIX**: 地震履歴のマグニチュード. ([7bd87ef3](https://github.com/YumNumm/EQMonitor/commit/7bd87ef336ccd89c17caff9f8c5cde0a673b4a40)) +- **FIX**: EEW のテーブル変更. ([3aaa5453](https://github.com/YumNumm/EQMonitor/commit/3aaa54533635630567686d6908f1b7f20e0e171a)) +- **FIX**: 地震履歴の動作改善. ([b59baeab](https://github.com/YumNumm/EQMonitor/commit/b59baeab4c3595107d25c6949abc6d313fcbbf1c)) +- **FIX**: 緊急地震速報の安定性向上. ([4170a064](https://github.com/YumNumm/EQMonitor/commit/4170a064d69b0519805a44ed4bea5924d733392a)) +- **FIX**: Developer Mode の挙動改善. ([06afd12a](https://github.com/YumNumm/EQMonitor/commit/06afd12a455128cedabef558a94676348f190b06)) +- **FIX**: EEW サーバとの接続安定性を向上. ([f5e5b092](https://github.com/YumNumm/EQMonitor/commit/f5e5b092b40b49da053cd5f67252740a9db23417)) +- **FIX**: 震度配色の背景・文字色の変更アルゴリズムを変更. ([33773f2e](https://github.com/YumNumm/EQMonitor/commit/33773f2ef955f55b80717056cb5e6ec1ef7ba5d9)) +- **FIX**: デフォルト震度配色の変更. ([fe6f3a8f](https://github.com/YumNumm/EQMonitor/commit/fe6f3a8f02ec2421bdfc78b0a7e49fe4926e9e1e)) +- **FIX**: 通知関連の設定変更. ([d0904402](https://github.com/YumNumm/EQMonitor/commit/d0904402398477b4214f01162d23f8227cb39651)) +- **FIX**: changelog の URL 修正. ([b4d9142c](https://github.com/YumNumm/EQMonitor/commit/b4d9142cd9184ca17f4c101990ea46e177fdf8ed)) +- **FIX**: actions. ([f92eb61e](https://github.com/YumNumm/EQMonitor/commit/f92eb61e0b80f5d24e18958be44234ca5f92974e)) +- **FIX**: 震央表示の改善. ([4257794b](https://github.com/YumNumm/EQMonitor/commit/4257794b7ada8bc1232db601459224840fbfb03b)) +- **FIX**: actions. ([81c73e41](https://github.com/YumNumm/EQMonitor/commit/81c73e41861de41c92c00e2802461104b1f648bc)) +- **FIX**: 震度速報の修正. ([f1567e71](https://github.com/YumNumm/EQMonitor/commit/f1567e71df13b2f3df72daccf43c4b73a342d763)) +- **FIX**: 走時表の実装修正. ([b0a1c657](https://github.com/YumNumm/EQMonitor/commit/b0a1c657d5d06b6a9b9cec7bbd3a45ba2aa99d7e)) +- **FIX**: EEW 折りたたみ時の UI 修正. ([d905e39a](https://github.com/YumNumm/EQMonitor/commit/d905e39adf0653c6f749b66abb877ebdfd5f61c1)) +- **FIX**: depandabot [skip ci]. ([1dc65fce](https://github.com/YumNumm/EQMonitor/commit/1dc65fceb449573b8b4c8de26c38fb03a477b29e)) +- **FIX**: マップのマージン調整. ([0871632a](https://github.com/YumNumm/EQMonitor/commit/0871632acae075f822cbb8e8aeec3ea4b859c57e)) +- **FIX**: [ARV] updator. ([fc204f68](https://github.com/YumNumm/EQMonitor/commit/fc204f68caf180933090fd3cf58bc7122c6322b6)) +- **FIX**: [ARV] download params. ([7ab89a98](https://github.com/YumNumm/EQMonitor/commit/7ab89a9880b82511def027c9846f37381ea629d4)) +- **FIX**: [Actions] Homebrew が PATH にない問題. ([969a2724](https://github.com/YumNumm/EQMonitor/commit/969a2724d54abb0ecc0608a9a0929bb902d2446e)) +- **FIX**: 地震履歴が正常に表示されない問題を修正. ([2653b527](https://github.com/YumNumm/EQMonitor/commit/2653b527fa755a573a87b48390d9aeeffe0040fb)) +- **FIX**: 通知条件設定の UI 改善. ([474ea604](https://github.com/YumNumm/EQMonitor/commit/474ea60488cf532d61bc696e1b880b26bafd6527)) +- **FIX**: アプリ情報の UI を改善. ([89850a33](https://github.com/YumNumm/EQMonitor/commit/89850a336cbdf7184905263e495d9ae7f85b59e3)) +- **FIX**: EEW の警報時 UI. ([c4d00ca1](https://github.com/YumNumm/EQMonitor/commit/c4d00ca13c70ff825ce674168f552219dc955ee1)) +- **FIX**: map size. ([17a0f4b9](https://github.com/YumNumm/EQMonitor/commit/17a0f4b9aeb1f4b3573014c0417da01dd0ef4bc1)) +- **FIX**: EEW 警報時に予報と表示される問題を修正. ([19786bbf](https://github.com/YumNumm/EQMonitor/commit/19786bbf80953786c873351a9a8035945f3cabbe)) +- **FIX**: 地震履歴(詳細)の震度強弱. ([9c96575e](https://github.com/YumNumm/EQMonitor/commit/9c96575e6f91f508e712f1c8c33d3ad3f7b10196)) +- **FIX**: EEW テスト中のオーバレイを消去. ([312bcf8d](https://github.com/YumNumm/EQMonitor/commit/312bcf8d50d4ede355e42c495c661d77a06b9da2)) +- **FIX**: 地震履歴で一番下がない問題を修正. ([94b31c84](https://github.com/YumNumm/EQMonitor/commit/94b31c8417559ccb004a8b760b0a980398d5a93f)) +- **FIX**: 観測点の位置を修正. ([87a3cf50](https://github.com/YumNumm/EQMonitor/commit/87a3cf50fba7132d8f8c0d7652a16ba09a80d8fb)) +- **FIX**: all Import. ([fefc4219](https://github.com/YumNumm/EQMonitor/commit/fefc4219b99e235be5aad6768ca6e255593bf7c4)) +- **FIX**: ARV Generator. ([66c196d9](https://github.com/YumNumm/EQMonitor/commit/66c196d953f0904bdd4a9099a4ea2c405a118ed1)) +- **FIX**: code がない GeoJsonFeature を無視するように. ([0ffc2c1c](https://github.com/YumNumm/EQMonitor/commit/0ffc2c1c2cf67be9ca0b8e1ca537427ba1655792)) +- **FIX**: EEW の消去処理を改善. ([2e22a60b](https://github.com/YumNumm/EQMonitor/commit/2e22a60b874485e778c173b530e4767451f236dd)) +- **FEAT**: EEW Widget の精度情報ボタン 消去. ([91752af9](https://github.com/YumNumm/EQMonitor/commit/91752af9e49c4c240316a840a9a126c0e6eee423)) +- **DOCS**: README.md の改善. ([d8dc9aa9](https://github.com/YumNumm/EQMonitor/commit/d8dc9aa95cf0c638991395f12d5b4f8f48c6ab4c)) + +#### `topo_map` - `v1.0.1` + +- **REFACTOR**: [topo_map] calc. ([cb16b045](https://github.com/YumNumm/EQMonitor/commit/cb16b045599bf410128a3f252391cc9ddd55520b)) +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: mapdata. ([aaf05e0d](https://github.com/YumNumm/EQMonitor/commit/aaf05e0db06866b2c94ba417195c6185353d8c3c)) +- **FIX**: [topomap] README. ([ced29c5d](https://github.com/YumNumm/EQMonitor/commit/ced29c5d167808577ee2dabcb6e8683cae82b56f)) +- **FIX**: topoMap. ([33c94f7e](https://github.com/YumNumm/EQMonitor/commit/33c94f7eb2ba9e5a97c265057cc9dcbe0cec5159)) + +#### `topojson` - `v1.0.1` + +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) + +## 2.1.0 + +- **REVERT**: EEWUI. ([f518e163](https://github.com/YumNumm/EQMonitor/commit/f518e163347e4fd250f471b901974e1f7970c300)) +- **REFACTOR**: [topo_map] calc. ([cb16b045](https://github.com/YumNumm/EQMonitor/commit/cb16b045599bf410128a3f252391cc9ddd55520b)) +- **REFACTOR**: Map cache. ([10c7aaf8](https://github.com/YumNumm/EQMonitor/commit/10c7aaf86d8c86f2e22d1f4b5fd86580651e454d)) +- **REFACTOR**: [skip ci] Move common dir to core dir. ([b8b5c204](https://github.com/YumNumm/EQMonitor/commit/b8b5c204ea378eaa4bb4014efc281c828e5503ca)) +- **FIX**: kmoniViewModel と kmoniObservationPointsFutureProvider を分離. ([c1c16d49](https://github.com/YumNumm/EQMonitor/commit/c1c16d49cc71eb33d7b67d9afc1884b8c4bc5d8c)) +- **FIX**: PS 波到達円の描画改善. ([0071904c](https://github.com/YumNumm/EQMonitor/commit/0071904cf556cd78d023e41c2f93043cacd173f6)) +- **FIX**: 地図描画の改善. ([92b03e24](https://github.com/YumNumm/EQMonitor/commit/92b03e248e1fb4423bdb77098f0e50ff1207332c)) +- **FIX**: 初期設定画面の改善. ([e9869e93](https://github.com/YumNumm/EQMonitor/commit/e9869e93168dffa71b36e78e8773f5e4887eb980)) +- **FIX**: modal の画面下部の SafeArea を消去. ([e4d50a8a](https://github.com/YumNumm/EQMonitor/commit/e4d50a8a448fcf319b23347f3feb0f939eb46ba3)) +- **FIX**: component に引数追加. ([56dff1be](https://github.com/YumNumm/EQMonitor/commit/56dff1be94dcd4074aef14da25472d07f50e4e83)) +- **FIX**: EEW 表示を改善. ([6c268343](https://github.com/YumNumm/EQMonitor/commit/6c2683435f0d025493ff4d63aa753300c90918bd)) +- **FIX**: PS 到達円が更新されない問題. ([6aa629f1](https://github.com/YumNumm/EQMonitor/commit/6aa629f143354cf7bbe3e03e3f356d5c757da3d6)) +- **FIX**: introduction page. ([5d6c9592](https://github.com/YumNumm/EQMonitor/commit/5d6c9592fb392fa18773d5c924648bb158fbbc1a)) +- **FIX**: import && format. ([5983e485](https://github.com/YumNumm/EQMonitor/commit/5983e485a28c71258aaf5f1116ece745fb8e8e4c)) +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: mapdata. ([aaf05e0d](https://github.com/YumNumm/EQMonitor/commit/aaf05e0db06866b2c94ba417195c6185353d8c3c)) +- **FIX**: [ci] xcode version. ([72bb479c](https://github.com/YumNumm/EQMonitor/commit/72bb479c6373512d078c380527132bac987981ff)) +- **FIX**: remove unused args. ([61d1f32f](https://github.com/YumNumm/EQMonitor/commit/61d1f32ff131a92be0469fd27c416b4f3fb5ac11)) +- **FIX**: change App store key. ([f72923b1](https://github.com/YumNumm/EQMonitor/commit/f72923b16635ab6f09e357954b27debf8ec3bf86)) +- **FIX**: [ci] App Store Connect. ([d80b9c27](https://github.com/YumNumm/EQMonitor/commit/d80b9c27035da9ee21cd2a106b4b0c4a23b66be5)) +- **FIX**: [ci] App Store Connect Key ENV. ([620c2642](https://github.com/YumNumm/EQMonitor/commit/620c2642854d1be56393dfdb44ffd19a7354a147)) +- **FIX**: [ci] App Store Connect Key. ([492ae576](https://github.com/YumNumm/EQMonitor/commit/492ae5767f7739e4a1cef35d0718b2b7f7c7465c)) +- **FIX**: [ci] Firebase. ([30aec6d0](https://github.com/YumNumm/EQMonitor/commit/30aec6d00e7931a516e3dd026ea4b7e00a6cf75f)) +- **FIX**: [ci] ssh. ([b0b7aaa3](https://github.com/YumNumm/EQMonitor/commit/b0b7aaa343fb866c202179a4596d66d48345c104)) +- **FIX**: [ci] fastlane env. ([d96d106d](https://github.com/YumNumm/EQMonitor/commit/d96d106da254518e06671a7df470ad706f02015b)) +- **FIX**: bundle. ([e8fdd7d4](https://github.com/YumNumm/EQMonitor/commit/e8fdd7d407d752e377b6a20f5ff4c1fbfb8adb08)) +- **FIX**: [ci]. ([92cca731](https://github.com/YumNumm/EQMonitor/commit/92cca731a1b078b5c9ca873612d45cac24110ba9)) +- **FIX**: [ci]. ([51f29ef6](https://github.com/YumNumm/EQMonitor/commit/51f29ef64fdc4aadcb61a4e4cbb8d796495ef1b7)) +- **FIX**: [ci] github ssh. ([2e0e4ada](https://github.com/YumNumm/EQMonitor/commit/2e0e4ada25ffd34b29c37f6c7fd973ad9b252078)) +- **FIX**: actions. ([13abf8b0](https://github.com/YumNumm/EQMonitor/commit/13abf8b02541b6c4a7dc11fc2fb881243574af7c)) +- **FIX**: ios app icon bug. ([b78858db](https://github.com/YumNumm/EQMonitor/commit/b78858dbebdf2089432499b9b7709564290bcebc)) +- **FIX**: [ci] fastlane. ([b3a8c381](https://github.com/YumNumm/EQMonitor/commit/b3a8c38155ccf76061701d3b5a36804f10e7a2e4)) +- **FIX**: .env.example のコメント. ([654ab439](https://github.com/YumNumm/EQMonitor/commit/654ab439de2a51b12d9883a27dabdadfbfa76df0)) +- **FIX**: 地図病が. ([2cbb2116](https://github.com/YumNumm/EQMonitor/commit/2cbb21167ebdddbd28e29bfe0913e0cb2402ea21)) +- **FIX**: 到達円が出ない問題. ([cb58fad9](https://github.com/YumNumm/EQMonitor/commit/cb58fad90961d3793de2b84cd6befa377b777479)) +- **FIX**: 注意文の修正. ([a85169c8](https://github.com/YumNumm/EQMonitor/commit/a85169c86f86ffcc8407da92c1ac66bc9c858f78)) +- **FIX**: map. ([471926c9](https://github.com/YumNumm/EQMonitor/commit/471926c9cc24d8f13725c0ba884f0dceaece2ddb)) +- **FIX**: EEW 表示されないバグ. ([94a47fe4](https://github.com/YumNumm/EQMonitor/commit/94a47fe498b1a1b910945e85a9d51316cd61b590)) +- **FIX**: directory. ([78578e3c](https://github.com/YumNumm/EQMonitor/commit/78578e3c0baeb095a7a5a3fddd9e0e03b8ee89e8)) +- **FIX**: ディレクトリ構成の見直し. ([c00faa3c](https://github.com/YumNumm/EQMonitor/commit/c00faa3c404adf9127cbc3e8db9faefee248e390)) +- **FIX**: 地図描画. ([d5cb7969](https://github.com/YumNumm/EQMonitor/commit/d5cb79695843bfecd335bdc8798903075d69b751)) +- **FIX**: eew 表示条件. ([962d66a5](https://github.com/YumNumm/EQMonitor/commit/962d66a5420c9085a9ae1ddfdaa2d87bb8d41e52)) +- **FIX**: ios app icon. ([f9c77bcb](https://github.com/YumNumm/EQMonitor/commit/f9c77bcbbd512c41807330c5a762b359b178d39b)) +- **FIX**: projection class. ([6b7c9d5e](https://github.com/YumNumm/EQMonitor/commit/6b7c9d5ea86fc0633cd5f6e601d4a0559d6f34cd)) +- **FIX**: [eqmap] toLocations function. ([1d6e11ec](https://github.com/YumNumm/EQMonitor/commit/1d6e11ecda7e5b3fd66b8a859b481e3a619438fb)) +- **FIX**: [topomap] README. ([ced29c5d](https://github.com/YumNumm/EQMonitor/commit/ced29c5d167808577ee2dabcb6e8683cae82b56f)) +- **FIX**: topoMap. ([33c94f7e](https://github.com/YumNumm/EQMonitor/commit/33c94f7eb2ba9e5a97c265057cc9dcbe0cec5159)) +- **FIX**: バックグラウンド時の Fetch スキップを実装. ([ffe4a18a](https://github.com/YumNumm/EQMonitor/commit/ffe4a18a63babb1f77952e183dcdd47a72e5207e)) +- **FIX**: 初期設定画面の改善. ([4a433fc0](https://github.com/YumNumm/EQMonitor/commit/4a433fc0ade4fd3b187e8c0d617e8cbeec70efa2)) +- **FIX**: eew. ([f746dedb](https://github.com/YumNumm/EQMonitor/commit/f746dedb364c3ef7403530dc8a658ed945df4081)) +- **FIX**: customchip. ([82cb0739](https://github.com/YumNumm/EQMonitor/commit/82cb07394f8f0d721ab80087f2dc34dc495ae274)) +- **FIX**: eew. ([46dae174](https://github.com/YumNumm/EQMonitor/commit/46dae1742270ac272f4d5ce1a45eea3a5d0d011a)) +- **FIX**: ColorScheme. ([61407a22](https://github.com/YumNumm/EQMonitor/commit/61407a22c06585514b609f4f051958fd30ac6ddd)) +- **FIX**: unknown intensity widget. ([da09e079](https://github.com/YumNumm/EQMonitor/commit/da09e079181ca3a40408e7b9b43f52fe92535f99)) +- **FIX**: eewWidget font. ([9be0f733](https://github.com/YumNumm/EQMonitor/commit/9be0f73366ccd3d98cae4592f6c86fd4a3e7a98a)) +- **FIX**: eew Widget. ([e665739c](https://github.com/YumNumm/EQMonitor/commit/e665739cf1dd2f9f3884c92cd53be9abe9d166cf)) +- **FIX**: CustomChip に背景をセットする変数を追加. ([d130f493](https://github.com/YumNumm/EQMonitor/commit/d130f4930b0ceae7c65d9ca113ddb9a12c1ef433)) +- **FIX**: eew widget. ([be859cf1](https://github.com/YumNumm/EQMonitor/commit/be859cf13207aac070ffb04c5566845cbcb8c31d)) +- **FIX**: actions. ([d4a015cb](https://github.com/YumNumm/EQMonitor/commit/d4a015cb3ccdd330b9c1c5b1915c345ab9975266)) +- **FIX**: kmoni delay adjust 時にログ. ([c6a653c3](https://github.com/YumNumm/EQMonitor/commit/c6a653c3eb32fc7be117e0b008d8b8ad8d055f7d)) +- **FIX**: sheetfloaingactionsbuttons の MediaQuery 考慮. ([98b309c7](https://github.com/YumNumm/EQMonitor/commit/98b309c73cf07f8a79f28c67ac764503840eab62)) +- **FIX**: modal stop の値変更. ([62524276](https://github.com/YumNumm/EQMonitor/commit/62524276e6fbe59f8bc2b507f08bc49698c12a47)) +- **FIX**: 地震履歴のフォント変更. ([618e3961](https://github.com/YumNumm/EQMonitor/commit/618e39618a38150c15058ab6e566acf4df9a6461)) +- **FIX**: 震度アイコンのフォントを変更・太く. ([a8ac4e94](https://github.com/YumNumm/EQMonitor/commit/a8ac4e944f18a22c07411c5baf3ac82cf8e9138e)) +- **FIX**: setup-page2 の空白調整. ([83b8a0fc](https://github.com/YumNumm/EQMonitor/commit/83b8a0fcb718fdf0e39af60cada3017f05428323)) +- **FIX**: ディレクトリ構成の見直し. ([75299efb](https://github.com/YumNumm/EQMonitor/commit/75299efb47ea78cc397273db14f1927480279b2a)) +- **FIX**: circle size. ([5154922e](https://github.com/YumNumm/EQMonitor/commit/5154922e38ea39d9bedf8d63c4573e223c84087d)) +- **FIX**: 地震履歴 Widget の表示条件を修正. ([8e70a57f](https://github.com/YumNumm/EQMonitor/commit/8e70a57fa9cab58b6c78711a078b02c5a004bcdc)) +- **FIX**: 訓練報の扱いを修正. ([8026a4db](https://github.com/YumNumm/EQMonitor/commit/8026a4dbf5eb217a48da1546b6c71ace281a16cb)) +- **FIX**: build bugs on iOS. ([ab078b66](https://github.com/YumNumm/EQMonitor/commit/ab078b663ba2f4ac96335dcf7f903867aa92aead)) +- **FIX**: dependency. ([a7cc5081](https://github.com/YumNumm/EQMonitor/commit/a7cc50810cea201ac4d5e59dc36900ceda217e9b)) +- **FIX**: 電文解析時に別 Isolate で実行するよう修正. ([272451ef](https://github.com/YumNumm/EQMonitor/commit/272451efbb3b4b210f2028c841b68ed128405152)) +- **FIX**: 強震モニタ画像解析を別 Thread で実行するよう変更. ([ccc1dab2](https://github.com/YumNumm/EQMonitor/commit/ccc1dab2fe64501cc12a4baacdb64f3a82b652ff)) +- **FIX**: 地図描画・Sheet の実装・地震履歴の改善. ([592f4298](https://github.com/YumNumm/EQMonitor/commit/592f429880bbc98ffd19e82c9b92b7e208330b67)) +- **FIX**: dynamic_color. ([8e0b6d86](https://github.com/YumNumm/EQMonitor/commit/8e0b6d860545138df577c2a149364e14ae480357)) +- **FIX**: ズーム時に focalPoint がずれる問題. ([6015e2ab](https://github.com/YumNumm/EQMonitor/commit/6015e2ab4cd09364c315c033dc9e40fd47cedafa)) +- **FIX**: eewTelegramProvider の型定義. ([02a62655](https://github.com/YumNumm/EQMonitor/commit/02a6265519342231d8921e5cde48d997db8bc5b3)) +- **FIX**: 観測点の描画サイズ. ([2cb4880b](https://github.com/YumNumm/EQMonitor/commit/2cb4880b6cb53c0baec9aa71c48f792b1d83303c)) +- **FIX**: various pages. ([1d1cc379](https://github.com/YumNumm/EQMonitor/commit/1d1cc3792a6abd8d1f405b25d4052006e32a1b35)) +- **FIX**: [TelegramV3] toJson function. ([ea1df2b8](https://github.com/YumNumm/EQMonitor/commit/ea1df2b8f96f1a7d587adc54e26500eea7a87678)) +- **FIX**: [TelegramV3] toJson function. ([224a49ab](https://github.com/YumNumm/EQMonitor/commit/224a49ab21e86bef93fbbbc4db1877549024b22f)) +- **FIX**: path. ([aa7bdbff](https://github.com/YumNumm/EQMonitor/commit/aa7bdbff92b101485f1c22ff2621d73e0400698a)) +- **FIX**: kmoni の初期遅延を修正. ([4981257c](https://github.com/YumNumm/EQMonitor/commit/4981257c3aa0d590639a4af40c189dc50e7db2ec)) +- **FIX**: 地震履歴の AppBar title. ([86c38490](https://github.com/YumNumm/EQMonitor/commit/86c38490c36539bb6218bcedd290553c87b414b0)) +- **FIX**: ダークモード対応. ([4fd22643](https://github.com/YumNumm/EQMonitor/commit/4fd22643a4bff1d07bcc09ace507415a6c30c1a0)) +- **FIX**: 地図病が. ([0ea9b413](https://github.com/YumNumm/EQMonitor/commit/0ea9b41387518af4447c3b7f1ce8f08b9dbf86b5)) +- **FIX**: 地図描画の改善. ([93ebda6d](https://github.com/YumNumm/EQMonitor/commit/93ebda6d7c240925189284079178fc7d3fcc24d1)) +- **FIX**: api 周りの修正. ([d57d3034](https://github.com/YumNumm/EQMonitor/commit/d57d3034968d38f7669ed98f5c9ecbcc6e8956a3)) +- **FIX**: 通知周りの修正. ([ef55a3f1](https://github.com/YumNumm/EQMonitor/commit/ef55a3f14170c01a84c9c6bdf6fadc5c151a35ae)) +- **FIX**: [ci]. ([04efee16](https://github.com/YumNumm/EQMonitor/commit/04efee164e96f4e215990298ea40005d41f38325)) +- **FIX**: 地震履歴一覧. ([7dba2838](https://github.com/YumNumm/EQMonitor/commit/7dba28385ae4db34e1843bfd30b8f7ae74365568)) +- **FIX**: 通知権限の要求. ([7284784a](https://github.com/YumNumm/EQMonitor/commit/7284784a5cb0a30e81b300372d6fa2594be1e0da)) +- **FIX**: ios dev version and flutter 3.10.1. ([55e65f7e](https://github.com/YumNumm/EQMonitor/commit/55e65f7e2032de8ce6626a7843aa744c289149e1)) +- **FIX**: 震源深さが null になる問題. ([5ec59762](https://github.com/YumNumm/EQMonitor/commit/5ec5976274402c81233dcaae38486cdf05f68469)) +- **FIX**: 画面外にポリゴンが描画される問題を解消. ([4b7b7f3c](https://github.com/YumNumm/EQMonitor/commit/4b7b7f3c3338532ef96e544ec7a18b4f57b64679)) +- **FIX**: ci. ([b301b847](https://github.com/YumNumm/EQMonitor/commit/b301b847da9de8b898f1193fd275f8aab0818dd9)) +- **FIX**: map. ([bf048244](https://github.com/YumNumm/EQMonitor/commit/bf0482441851e8dd40ee1bffc5925e66882709d9)) +- **FIX**: 地震履歴. ([54208cfe](https://github.com/YumNumm/EQMonitor/commit/54208cfe96529b549cb8d024b8a56113067776bd)) +- **FIX**: [TelegramV3] typedef. ([988d7f25](https://github.com/YumNumm/EQMonitor/commit/988d7f25692d28622bf51bf55f088efa3c92b2d7)) +- **FIX**: [TelegramV3] Vxse56,61. ([9ba3d109](https://github.com/YumNumm/EQMonitor/commit/9ba3d109c0ba19b1d5ebba97821dc37d597b1c46)) +- **FIX**: [TelegramV3] TelegramStatus の修正. ([791ad19d](https://github.com/YumNumm/EQMonitor/commit/791ad19d4108ab0a25354d21170522222e8c325e)) +- **FIX**: [TelegramV3] typedef. ([f897239d](https://github.com/YumNumm/EQMonitor/commit/f897239dfe27f17bfb37f120d97349c389fae569)) +- **FIX**: eqapi_schema. ([9cc12e28](https://github.com/YumNumm/EQMonitor/commit/9cc12e28db03ead50536af691d42869afc6d0f4b)) +- **FIX**: [ci] auto-format. ([61da7204](https://github.com/YumNumm/EQMonitor/commit/61da720455ad6e3dab65b08369bbe9cdc49b7bd4)) +- **FIX**: ios splash screen. ([2379d4d9](https://github.com/YumNumm/EQMonitor/commit/2379d4d96f178c3d11d76952b917c2a12f43774f)) +- **FIX**: iOS. ([afc13f92](https://github.com/YumNumm/EQMonitor/commit/afc13f92aec12c260a47454ab0efedadb6015569)) +- **FIX**: android 周りの設定. ([0e5762f0](https://github.com/YumNumm/EQMonitor/commit/0e5762f0b58103e1939f92e28949e54d2f24df60)) +- **FIX**: iOS への対応. ([a4a65857](https://github.com/YumNumm/EQMonitor/commit/a4a65857ae38dd7d41400b569f725ec91d1110fc)) +- **FIX**: gh-repo の所有権移転に伴う URL 変更. ([d7d82fe5](https://github.com/YumNumm/EQMonitor/commit/d7d82fe564ab73d7f0706ae30ba82077f8389bb7)) +- **FIX**: Tag-release の Actions 修正. ([75e761a6](https://github.com/YumNumm/EQMonitor/commit/75e761a66f48788fbd59ff17212165edae8875df)) +- **FIX**: EEW テスト>EEW 電文取消を実装. ([1adeaa20](https://github.com/YumNumm/EQMonitor/commit/1adeaa2024231cd8ef4774522bb6e3be36e8d4c5)) +- **FIX**: 通常報以外を棄却するように. ([f0c67712](https://github.com/YumNumm/EQMonitor/commit/f0c6771277d3fdc4d4b747c59886851a32ef915c)) +- **FIX**: API のエンドポイント・Key を変更. ([e800cdf0](https://github.com/YumNumm/EQMonitor/commit/e800cdf0dc1c46ea475b0723bfe6930be1dc6ab2)) +- **FIX**: 地震履歴の震度解析. ([0aa63884](https://github.com/YumNumm/EQMonitor/commit/0aa63884413f44980184c103b6fd1b1c741474db)) +- **FIX**: Gradle 7.5.1->7.6. ([91e79126](https://github.com/YumNumm/EQMonitor/commit/91e7912649942bf7854db76249e561647fc4f17d)) +- **FIX**: EEW 電文の取り扱いを改善. ([929ce3d7](https://github.com/YumNumm/EQMonitor/commit/929ce3d7c794cd48253acae1192160201da80979)) +- **FIX**: EEW 表示用のプレースホルダを消去. ([9eadff35](https://github.com/YumNumm/EQMonitor/commit/9eadff3523fdc8935d3a57917bcc914c66febc2e)) +- **FIX**: 地震履歴画面で震央地名がオーバーフローする問題. ([40aa8da6](https://github.com/YumNumm/EQMonitor/commit/40aa8da672532f5e77f1551ccf4ddd706d8a910c)) +- **FIX**: 地震履歴詳細画面で震央地名がオーバーフローする問題. ([70ea2525](https://github.com/YumNumm/EQMonitor/commit/70ea2525cffa88970f9339df2adfc78447c453e7)) +- **FIX**: EEW 初期取得の件数を減らしました. ([9ed4ef0c](https://github.com/YumNumm/EQMonitor/commit/9ed4ef0c90d643fdca557e4d57ac996180cde60d)) +- **FIX**: SharedPreferences の各クラス内初期化を改善. ([be6c428e](https://github.com/YumNumm/EQMonitor/commit/be6c428ed0a6bfbe3cb40b8dfab9081f7b147017)) +- **FIX**: 例外処理の改善. ([9075d407](https://github.com/YumNumm/EQMonitor/commit/9075d40704bbde763f870f3f0bb557486c94d409)) +- **FIX**: 地震履歴の UI が崩れる問題を解消. ([ff3984ca](https://github.com/YumNumm/EQMonitor/commit/ff3984ca9ebd2dce54789d13f45e67dc53bf0f41)) +- **FIX**: EEWUI の改善. ([75e8c06b](https://github.com/YumNumm/EQMonitor/commit/75e8c06b519fd16343738434e7bb268dd02320ac)) +- **FIX**: EEWUI の`程度以上`の文字色が震度部分と異なる問題. ([984d0517](https://github.com/YumNumm/EQMonitor/commit/984d0517eb04f5596865db75dd47835f960abcde)) +- **FIX**: ログ関連. ([7e0c7446](https://github.com/YumNumm/EQMonitor/commit/7e0c74466d696e28fe820b1b2b70bd102eef53ae)) +- **FIX**: eewHistoryProvider を eewProvider にリネーム. ([5239ff95](https://github.com/YumNumm/EQMonitor/commit/5239ff955cfa4fe6b405b10b276a80382876ed62)) +- **FIX**: [iOS]Firebase Config Path. ([a85fd069](https://github.com/YumNumm/EQMonitor/commit/a85fd069738f16e23a317c05fd2198d93d4c2316)) +- **FIX**: 更新履歴まわり. ([97a31b01](https://github.com/YumNumm/EQMonitor/commit/97a31b016120ef787af7456824e9b9f20a2d311f)) +- **FIX**: テストモード時のオーバレイの文字サイズを小さく. ([8c1c9418](https://github.com/YumNumm/EQMonitor/commit/8c1c9418de2b4d9c82c60a41eaddd72a2853e96c)) +- **FIX**: ReleaseMode でのみ Crashlytics を送信するように変更. ([d383f62b](https://github.com/YumNumm/EQMonitor/commit/d383f62b01d3261ce0eabf182f3f00102667a049)) +- **FIX**: DevicePreview まわりの処理改善. ([2e3915b3](https://github.com/YumNumm/EQMonitor/commit/2e3915b3fce8e4ee35dd5bb4eff3a2588c3d1a14)) +- **FIX**: [dev] 予想震度表示関連の修正. ([1f2ef734](https://github.com/YumNumm/EQMonitor/commit/1f2ef7348110ab3173584f4594e7947e38d6d942)) +- **FIX**: BaseMap の描画改善. ([64685a2d](https://github.com/YumNumm/EQMonitor/commit/64685a2d3e031828dc07d411446983ac16d459bc)) +- **FIX**: ci: AutoFormat の発火条件を変更. ([f3eca130](https://github.com/YumNumm/EQMonitor/commit/f3eca1304826101acfaddb0c0e7dcd3843da4c7a)) +- **FIX**: 距離減衰式による震度推定を消去. ([1fa9ad33](https://github.com/YumNumm/EQMonitor/commit/1fa9ad33a566d7224041d8737a10630e51a4f448)) +- **FIX**: 地震履歴のエラー. ([b9326928](https://github.com/YumNumm/EQMonitor/commit/b9326928553aa17796387b9ab6c67b2e69b857b0)) +- **FIX**: 1 番最新の地震履歴を取得できない問題. ([e5bfddfc](https://github.com/YumNumm/EQMonitor/commit/e5bfddfc6d02f509bb178c937039dc03185d9ee5)) +- **FIX**: 地震履歴のマグニチュード. ([7bd87ef3](https://github.com/YumNumm/EQMonitor/commit/7bd87ef336ccd89c17caff9f8c5cde0a673b4a40)) +- **FIX**: EEW のテーブル変更. ([3aaa5453](https://github.com/YumNumm/EQMonitor/commit/3aaa54533635630567686d6908f1b7f20e0e171a)) +- **FIX**: 地震履歴の動作改善. ([b59baeab](https://github.com/YumNumm/EQMonitor/commit/b59baeab4c3595107d25c6949abc6d313fcbbf1c)) +- **FIX**: 緊急地震速報の安定性向上. ([4170a064](https://github.com/YumNumm/EQMonitor/commit/4170a064d69b0519805a44ed4bea5924d733392a)) +- **FIX**: Developer Mode の挙動改善. ([06afd12a](https://github.com/YumNumm/EQMonitor/commit/06afd12a455128cedabef558a94676348f190b06)) +- **FIX**: EEW サーバとの接続安定性を向上. ([f5e5b092](https://github.com/YumNumm/EQMonitor/commit/f5e5b092b40b49da053cd5f67252740a9db23417)) +- **FIX**: 震度配色の背景・文字色の変更アルゴリズムを変更. ([33773f2e](https://github.com/YumNumm/EQMonitor/commit/33773f2ef955f55b80717056cb5e6ec1ef7ba5d9)) +- **FIX**: デフォルト震度配色の変更. ([fe6f3a8f](https://github.com/YumNumm/EQMonitor/commit/fe6f3a8f02ec2421bdfc78b0a7e49fe4926e9e1e)) +- **FIX**: 通知関連の設定変更. ([d0904402](https://github.com/YumNumm/EQMonitor/commit/d0904402398477b4214f01162d23f8227cb39651)) +- **FIX**: changelog の URL 修正. ([b4d9142c](https://github.com/YumNumm/EQMonitor/commit/b4d9142cd9184ca17f4c101990ea46e177fdf8ed)) +- **FIX**: actions. ([f92eb61e](https://github.com/YumNumm/EQMonitor/commit/f92eb61e0b80f5d24e18958be44234ca5f92974e)) +- **FIX**: 震央表示の改善. ([4257794b](https://github.com/YumNumm/EQMonitor/commit/4257794b7ada8bc1232db601459224840fbfb03b)) +- **FIX**: actions. ([81c73e41](https://github.com/YumNumm/EQMonitor/commit/81c73e41861de41c92c00e2802461104b1f648bc)) +- **FIX**: 震度速報の修正. ([f1567e71](https://github.com/YumNumm/EQMonitor/commit/f1567e71df13b2f3df72daccf43c4b73a342d763)) +- **FIX**: 走時表の実装修正. ([b0a1c657](https://github.com/YumNumm/EQMonitor/commit/b0a1c657d5d06b6a9b9cec7bbd3a45ba2aa99d7e)) +- **FIX**: EEW 折りたたみ時の UI 修正. ([d905e39a](https://github.com/YumNumm/EQMonitor/commit/d905e39adf0653c6f749b66abb877ebdfd5f61c1)) +- **FIX**: depandabot [skip ci]. ([1dc65fce](https://github.com/YumNumm/EQMonitor/commit/1dc65fceb449573b8b4c8de26c38fb03a477b29e)) +- **FIX**: マップのマージン調整. ([0871632a](https://github.com/YumNumm/EQMonitor/commit/0871632acae075f822cbb8e8aeec3ea4b859c57e)) +- **FIX**: [ARV] updator. ([fc204f68](https://github.com/YumNumm/EQMonitor/commit/fc204f68caf180933090fd3cf58bc7122c6322b6)) +- **FIX**: [ARV] download params. ([7ab89a98](https://github.com/YumNumm/EQMonitor/commit/7ab89a9880b82511def027c9846f37381ea629d4)) +- **FIX**: [Actions] Homebrew が PATH にない問題. ([969a2724](https://github.com/YumNumm/EQMonitor/commit/969a2724d54abb0ecc0608a9a0929bb902d2446e)) +- **FIX**: 地震履歴が正常に表示されない問題を修正. ([2653b527](https://github.com/YumNumm/EQMonitor/commit/2653b527fa755a573a87b48390d9aeeffe0040fb)) +- **FIX**: 通知条件設定の UI 改善. ([474ea604](https://github.com/YumNumm/EQMonitor/commit/474ea60488cf532d61bc696e1b880b26bafd6527)) +- **FIX**: アプリ情報の UI を改善. ([89850a33](https://github.com/YumNumm/EQMonitor/commit/89850a336cbdf7184905263e495d9ae7f85b59e3)) +- **FIX**: EEW の警報時 UI. ([c4d00ca1](https://github.com/YumNumm/EQMonitor/commit/c4d00ca13c70ff825ce674168f552219dc955ee1)) +- **FIX**: map size. ([17a0f4b9](https://github.com/YumNumm/EQMonitor/commit/17a0f4b9aeb1f4b3573014c0417da01dd0ef4bc1)) +- **FIX**: EEW 警報時に予報と表示される問題を修正. ([19786bbf](https://github.com/YumNumm/EQMonitor/commit/19786bbf80953786c873351a9a8035945f3cabbe)) +- **FIX**: 地震履歴(詳細)の震度強弱. ([9c96575e](https://github.com/YumNumm/EQMonitor/commit/9c96575e6f91f508e712f1c8c33d3ad3f7b10196)) +- **FIX**: EEW テスト中のオーバレイを消去. ([312bcf8d](https://github.com/YumNumm/EQMonitor/commit/312bcf8d50d4ede355e42c495c661d77a06b9da2)) +- **FIX**: 地震履歴で一番下がない問題を修正. ([94b31c84](https://github.com/YumNumm/EQMonitor/commit/94b31c8417559ccb004a8b760b0a980398d5a93f)) +- **FIX**: 観測点の位置を修正. ([87a3cf50](https://github.com/YumNumm/EQMonitor/commit/87a3cf50fba7132d8f8c0d7652a16ba09a80d8fb)) +- **FIX**: all Import. ([fefc4219](https://github.com/YumNumm/EQMonitor/commit/fefc4219b99e235be5aad6768ca6e255593bf7c4)) +- **FIX**: ARV Generator. ([66c196d9](https://github.com/YumNumm/EQMonitor/commit/66c196d953f0904bdd4a9099a4ea2c405a118ed1)) +- **FIX**: code がない GeoJsonFeature を無視するように. ([0ffc2c1c](https://github.com/YumNumm/EQMonitor/commit/0ffc2c1c2cf67be9ca0b8e1ca537427ba1655792)) +- **FIX**: EEW の消去処理を改善. ([2e22a60b](https://github.com/YumNumm/EQMonitor/commit/2e22a60b874485e778c173b530e4767451f236dd)) +- **FEAT**: EEW Widget の精度情報ボタン 消去. ([91752af9](https://github.com/YumNumm/EQMonitor/commit/91752af9e49c4c240316a840a9a126c0e6eee423)) +- **DOCS**: README.md の改善. ([d8dc9aa9](https://github.com/YumNumm/EQMonitor/commit/d8dc9aa95cf0c638991395f12d5b4f8f48c6ab4c)) diff --git a/analysis_options.yaml b/analysis_options.yaml index c4a6eef9d..be3d9cc1e 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -8,6 +8,8 @@ analyzer: strict-raw-types: true plugins: - custom_lint + errors: + invalid_annotation_target: ignore linter: rules: diff --git a/lib/feature/earthquake_history/viewmodel/earthquake_history_view_model.dart b/lib/feature/earthquake_history/viewmodel/earthquake_history_view_model.dart index 7aab9c61c..9cc4ad0b5 100644 --- a/lib/feature/earthquake_history/viewmodel/earthquake_history_view_model.dart +++ b/lib/feature/earthquake_history/viewmodel/earthquake_history_view_model.dart @@ -12,7 +12,6 @@ import 'package:eqmonitor/core/provider/app_lifecycle.dart'; import 'package:eqmonitor/feature/earthquake_history/model/state/earthquake_history_item.dart'; import 'package:eqmonitor/feature/earthquake_history/use_case/earthquake_history_use_case.dart'; import 'package:eqmonitor/feature/home/features/telegram_ws/provider/telegram_provider.dart'; -import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:riverpod_annotation/riverpod_annotation.dart'; diff --git a/lib/feature/earthquake_history_details/component/eq_map.dart b/lib/feature/earthquake_history_details/component/eq_map.dart index 59411935c..5245d7fb1 100644 --- a/lib/feature/earthquake_history_details/component/eq_map.dart +++ b/lib/feature/earthquake_history_details/component/eq_map.dart @@ -15,7 +15,6 @@ class EarthquakeHistoryMap extends HookConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { - final brightness = Theme.of(context).brightness; // 地図データがない場合はローディング final mapKey = useMemoized( diff --git a/lib/feature/setup/pages/01_introduction_page.dart b/lib/feature/setup/pages/01_introduction_page.dart index 2d41353cd..e527489b9 100644 --- a/lib/feature/setup/pages/01_introduction_page.dart +++ b/lib/feature/setup/pages/01_introduction_page.dart @@ -1,5 +1,4 @@ import 'package:eqmonitor/core/component/button/action_button.dart'; -import 'package:eqmonitor/feature/setup/component/background_image.dart'; import 'package:flutter/material.dart'; class IntroductionPage extends StatelessWidget { diff --git a/lib/feature/setup/pages/02_quick_guide_about_eew.dart b/lib/feature/setup/pages/02_quick_guide_about_eew.dart index daf2879f1..ff4fb05e7 100644 --- a/lib/feature/setup/pages/02_quick_guide_about_eew.dart +++ b/lib/feature/setup/pages/02_quick_guide_about_eew.dart @@ -1,5 +1,4 @@ import 'package:eqmonitor/core/component/button/action_button.dart'; -import 'package:eqmonitor/feature/setup/component/background_image.dart'; import 'package:eqmonitor/feature/setup/component/earthquake_restriction.dart'; import 'package:flutter/material.dart'; diff --git a/melos.yaml b/melos.yaml new file mode 100644 index 000000000..ba163c32c --- /dev/null +++ b/melos.yaml @@ -0,0 +1,30 @@ +name: eqmonitor +repository: https://github.com/YumNumm/EQMonitor +sdkPath: .fvm/flutter_sdk + +command: + version: + includeCommitId: true + linkToCommits: true + +scripts: + analyze: + # We are setting the concurrency to 1 because a higher concurrency can crash + # the analysis server on low performance machines (like GitHub Actions). + run: | + melos exec -c 1 -- \ + dart analyze . --fatal-infos + description: | + Run `dart analyze` in all packages. + - Note: you can also rely on your IDEs Dart Analysis / Issues window. + + build_runner: + exec: flutter pub run build_runner build -d + packageFilters: + dependsOn: build_runner + format: + exec: $PWD/util/shell/format.sh + +packages: + - . + - packages/* diff --git a/packages/eq_map/CHANGELOG.md b/packages/eq_map/CHANGELOG.md index effe43c82..a5d6057ee 100644 --- a/packages/eq_map/CHANGELOG.md +++ b/packages/eq_map/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.1 + +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: mapdata. ([aaf05e0d](https://github.com/YumNumm/EQMonitor/commit/aaf05e0db06866b2c94ba417195c6185353d8c3c)) +- **FIX**: [eqmap] toLocations function. ([1d6e11ec](https://github.com/YumNumm/EQMonitor/commit/1d6e11ecda7e5b3fd66b8a859b481e3a619438fb)) + ## 1.0.0 - Initial version. diff --git a/packages/eq_map/analysis_options.yaml b/packages/eq_map/analysis_options.yaml index dee8927aa..6f8d6d437 100644 --- a/packages/eq_map/analysis_options.yaml +++ b/packages/eq_map/analysis_options.yaml @@ -1,30 +1,19 @@ -# This file configures the static analysis results for your project (errors, -# warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. +# https://pub.dev/packages/pedantic_mono +include: package:pedantic_mono/analysis_options.yaml -include: package:lints/recommended.yaml +analyzer: + exclude: + - "**/*.g.dart" + - "**/*.freezed.dart" + language: + strict-casts: true + strict-inference: true + strict-raw-types: true + plugins: + - custom_lint + errors: + invalid_annotation_target: ignore -# Uncomment the following section to specify additional rules. - -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options +linter: + rules: + always_use_package_imports: true diff --git a/packages/eq_map/build.yaml b/packages/eq_map/build.yaml new file mode 100644 index 000000000..fe35d032e --- /dev/null +++ b/packages/eq_map/build.yaml @@ -0,0 +1,10 @@ +targets: + $default: + builders: + source_gen|combining_builder: + options: + ignore_for_file: + - type=lint + json_serializable: + options: + checked: true diff --git a/packages/eq_map/lib/extension/list_int_vector.dart b/packages/eq_map/lib/extension/list_int_vector.dart index e69a23528..e9a37b1db 100644 --- a/packages/eq_map/lib/extension/list_int_vector.dart +++ b/packages/eq_map/lib/extension/list_int_vector.dart @@ -6,8 +6,8 @@ extension ListIntVector on List { /// [IntVector]のリストを[LatLng]のリストに変換する List toLocations(TopologyMap map) { final result = []; - double x = 0; - double y = 0; + var x = 0; + var y = 0; for (final e in this) { result.add( LatLng( diff --git a/packages/eq_map/lib/model/feature_layer.dart b/packages/eq_map/lib/model/feature_layer.dart index ad7d3021f..aedf9a57e 100644 --- a/packages/eq_map/lib/model/feature_layer.dart +++ b/packages/eq_map/lib/model/feature_layer.dart @@ -4,10 +4,6 @@ import 'package:eq_map/model/polyline_feature.dart'; import 'package:topo_map/topo_map.dart'; class FeatureLayer { - final TopologyMap basedMap; - final List lineFeatures; - final List polygonFeatures; - FeatureLayer._({ required this.basedMap, required this.lineFeatures, @@ -22,8 +18,7 @@ class FeatureLayer { .toList(); final polygonFeatures = map.polygons .mapIndexed( - (_, polygon) => - PolygonFeature.fromTopoMap(map, lineFeatures, polygon), + (_, polygon) => PolygonFeature.fromTopoMap(map, polygon), ) .toList(); return FeatureLayer._( @@ -32,6 +27,9 @@ class FeatureLayer { polygonFeatures: polygonFeatures, ); } + final TopologyMap basedMap; + final List lineFeatures; + final List polygonFeatures; List getPolygonsByCode(int code) => polygonFeatures.where((e) => e.code == code).toList(); diff --git a/packages/eq_map/lib/model/polygon_feature.dart b/packages/eq_map/lib/model/polygon_feature.dart index 0c38f94df..6c0c02d17 100644 --- a/packages/eq_map/lib/model/polygon_feature.dart +++ b/packages/eq_map/lib/model/polygon_feature.dart @@ -1,23 +1,12 @@ import 'package:eq_map/extension/list_int_vector.dart'; -import 'package:eq_map/model/polyline_feature.dart'; import 'package:extensions/extensions.dart'; import 'package:lat_lng/lat_lng.dart'; import 'package:topo_map/topo_map.dart'; class PolygonFeature { - PolygonFeature._({ - required this.code, - required this.bbox, - required this.points, - }); - - final int? code; - final LatLngBoundary? bbox; - final List points; factory PolygonFeature.fromTopoMap( TopologyMap map, - List lineFeatures, TopologyPolygon topologyPolygon, ) { final polyIndexes = topologyPolygon.arcs; @@ -57,4 +46,13 @@ class PolygonFeature { points: points, ); } + PolygonFeature._({ + required this.code, + required this.bbox, + required this.points, + }); + + final int? code; + final LatLngBoundary? bbox; + final List points; } diff --git a/packages/eq_map/lib/model/polyline_feature.dart b/packages/eq_map/lib/model/polyline_feature.dart index 98e99f13f..43473e706 100644 --- a/packages/eq_map/lib/model/polyline_feature.dart +++ b/packages/eq_map/lib/model/polyline_feature.dart @@ -4,9 +4,6 @@ import 'package:lat_lng/lat_lng.dart'; import 'package:topo_map/topo_map.dart'; class PolylineFeature { - final List points; - final PolylineType type; - final bool isClosed; PolylineFeature._({ required this.points, @@ -33,6 +30,9 @@ class PolylineFeature { isClosed: isClosed, ); } + final List points; + final PolylineType type; + final bool isClosed; } enum PolylineType { diff --git a/packages/eq_map/pubspec.yaml b/packages/eq_map/pubspec.yaml index f5245441b..f0045e6a7 100644 --- a/packages/eq_map/pubspec.yaml +++ b/packages/eq_map/pubspec.yaml @@ -1,6 +1,6 @@ name: eq_map description: A starting point for Dart libraries or applications. -version: 1.0.0 +version: 1.0.1 publish_to: "none" environment: @@ -15,14 +15,20 @@ dependencies: freezed_annotation: ^2.2.0 json_annotation: ^4.8.1 lat_lng: - path: ../lat_lng + git: + url: https://github.com/YumNumm/EQMonitor.git + path: packages/lat_lng topo_map: - path: ../topo_map + git: + url: https://github.com/YumNumm/EQMonitor.git + path: packages/topo_map topojson: - path: ../topojson - + git: + url: https://github.com/YumNumm/EQMonitor.git + path: packages/topojson dev_dependencies: build_runner: ^2.4.4 freezed: ^2.3.4 json_serializable: ^6.7.0 lints: ^2.0.0 + pedantic_mono: ^1.23.0 diff --git a/packages/eq_map/pubspec_overrides.yaml b/packages/eq_map/pubspec_overrides.yaml new file mode 100644 index 000000000..47dd533fd --- /dev/null +++ b/packages/eq_map/pubspec_overrides.yaml @@ -0,0 +1,10 @@ +# melos_managed_dependency_overrides: extensions,lat_lng,topo_map,topojson +dependency_overrides: + extensions: + path: ../extensions + lat_lng: + path: ../lat_lng + topo_map: + path: ../topo_map + topojson: + path: ../topojson diff --git a/packages/eqapi_schema/.fvm/flutter_sdk b/packages/eqapi_schema/.fvm/flutter_sdk deleted file mode 120000 index 6ea30a4b2..000000000 --- a/packages/eqapi_schema/.fvm/flutter_sdk +++ /dev/null @@ -1 +0,0 @@ -/Users/r_onoue/fvm/versions/3.10.0 \ No newline at end of file diff --git a/packages/eqapi_schema/.fvm/fvm_config.json b/packages/eqapi_schema/.fvm/fvm_config.json deleted file mode 100644 index ba129cfda..000000000 --- a/packages/eqapi_schema/.fvm/fvm_config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "flutterSdkVersion": "3.10.0", - "flavors": {} -} \ No newline at end of file diff --git a/packages/eqapi_schema/CHANGELOG.md b/packages/eqapi_schema/CHANGELOG.md index effe43c82..2184809d7 100644 --- a/packages/eqapi_schema/CHANGELOG.md +++ b/packages/eqapi_schema/CHANGELOG.md @@ -1,3 +1,17 @@ +## 1.0.1 + +- **FIX**: import && format. ([5983e485](https://github.com/YumNumm/EQMonitor/commit/5983e485a28c71258aaf5f1116ece745fb8e8e4c)) +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: unknown intensity widget. ([da09e079](https://github.com/YumNumm/EQMonitor/commit/da09e079181ca3a40408e7b9b43f52fe92535f99)) +- **FIX**: [TelegramV3] toJson function. ([ea1df2b8](https://github.com/YumNumm/EQMonitor/commit/ea1df2b8f96f1a7d587adc54e26500eea7a87678)) +- **FIX**: [TelegramV3] toJson function. ([224a49ab](https://github.com/YumNumm/EQMonitor/commit/224a49ab21e86bef93fbbbc4db1877549024b22f)) +- **FIX**: 地図病が. ([0ea9b413](https://github.com/YumNumm/EQMonitor/commit/0ea9b41387518af4447c3b7f1ce8f08b9dbf86b5)) +- **FIX**: api 周りの修正. ([d57d3034](https://github.com/YumNumm/EQMonitor/commit/d57d3034968d38f7669ed98f5c9ecbcc6e8956a3)) +- **FIX**: [TelegramV3] typedef. ([988d7f25](https://github.com/YumNumm/EQMonitor/commit/988d7f25692d28622bf51bf55f088efa3c92b2d7)) +- **FIX**: [TelegramV3] Vxse56,61. ([9ba3d109](https://github.com/YumNumm/EQMonitor/commit/9ba3d109c0ba19b1d5ebba97821dc37d597b1c46)) +- **FIX**: [TelegramV3] TelegramStatus の修正. ([791ad19d](https://github.com/YumNumm/EQMonitor/commit/791ad19d4108ab0a25354d21170522222e8c325e)) +- **FIX**: [TelegramV3] typedef. ([f897239d](https://github.com/YumNumm/EQMonitor/commit/f897239dfe27f17bfb37f120d97349c389fae569)) + ## 1.0.0 - Initial version. diff --git a/packages/eqapi_schema/analysis_options.yaml b/packages/eqapi_schema/analysis_options.yaml index cad098c08..6f8d6d437 100644 --- a/packages/eqapi_schema/analysis_options.yaml +++ b/packages/eqapi_schema/analysis_options.yaml @@ -2,17 +2,18 @@ include: package:pedantic_mono/analysis_options.yaml analyzer: + exclude: + - "**/*.g.dart" + - "**/*.freezed.dart" language: strict-casts: true strict-inference: true strict-raw-types: true + plugins: + - custom_lint + errors: + invalid_annotation_target: ignore - exclude: - - "**/generated_plugin_registrant.dart" - - "**/build/**" - - "**/generated_*.dart" - - "**/*.g.dart" - - "**/*.freezed.dart" - - "**/*.gr.dart" - - "**/l10n*.dart" - - "**/*.gen.dart" +linter: + rules: + always_use_package_imports: true diff --git a/packages/eqapi_schema/build.yaml b/packages/eqapi_schema/build.yaml index 8d7aa5167..fe35d032e 100644 --- a/packages/eqapi_schema/build.yaml +++ b/packages/eqapi_schema/build.yaml @@ -1,6 +1,10 @@ targets: $default: builders: + source_gen|combining_builder: + options: + ignore_for_file: + - type=lint json_serializable: options: checked: true diff --git a/packages/eqapi_schema/lib/model/components/accuracy.g.dart b/packages/eqapi_schema/lib/model/components/accuracy.g.dart index 4d0145b1c..d058adc0f 100644 --- a/packages/eqapi_schema/lib/model/components/accuracy.g.dart +++ b/packages/eqapi_schema/lib/model/components/accuracy.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'accuracy.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/comments.g.dart b/packages/eqapi_schema/lib/model/components/comments.g.dart index 73f88c56c..847b668fe 100644 --- a/packages/eqapi_schema/lib/model/components/comments.g.dart +++ b/packages/eqapi_schema/lib/model/components/comments.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'comments.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/earthquake-explanation/naming.g.dart b/packages/eqapi_schema/lib/model/components/earthquake-explanation/naming.g.dart index fa89b364e..ef8af079f 100644 --- a/packages/eqapi_schema/lib/model/components/earthquake-explanation/naming.g.dart +++ b/packages/eqapi_schema/lib/model/components/earthquake-explanation/naming.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'naming.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/earthquake-nankai/earthquake_info.g.dart b/packages/eqapi_schema/lib/model/components/earthquake-nankai/earthquake_info.g.dart index b004ce798..4e435b41c 100644 --- a/packages/eqapi_schema/lib/model/components/earthquake-nankai/earthquake_info.g.dart +++ b/packages/eqapi_schema/lib/model/components/earthquake-nankai/earthquake_info.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'earthquake_info.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/earthquake.g.dart b/packages/eqapi_schema/lib/model/components/earthquake.g.dart index 1e6aa4592..76514f4f3 100644 --- a/packages/eqapi_schema/lib/model/components/earthquake.g.dart +++ b/packages/eqapi_schema/lib/model/components/earthquake.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'earthquake.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/eew_hypocenter.g.dart b/packages/eqapi_schema/lib/model/components/eew_hypocenter.g.dart index 4321c46e0..699374ba7 100644 --- a/packages/eqapi_schema/lib/model/components/eew_hypocenter.g.dart +++ b/packages/eqapi_schema/lib/model/components/eew_hypocenter.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'eew_hypocenter.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/eew_intensity.g.dart b/packages/eqapi_schema/lib/model/components/eew_intensity.g.dart index 5c9fc840a..753f2f6d0 100644 --- a/packages/eqapi_schema/lib/model/components/eew_intensity.g.dart +++ b/packages/eqapi_schema/lib/model/components/eew_intensity.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'eew_intensity.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/eew_region.g.dart b/packages/eqapi_schema/lib/model/components/eew_region.g.dart index 8378bcb9e..973f276ba 100644 --- a/packages/eqapi_schema/lib/model/components/eew_region.g.dart +++ b/packages/eqapi_schema/lib/model/components/eew_region.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'eew_region.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/intensity.g.dart b/packages/eqapi_schema/lib/model/components/intensity.g.dart index 58b8306bb..13f8ed13a 100644 --- a/packages/eqapi_schema/lib/model/components/intensity.g.dart +++ b/packages/eqapi_schema/lib/model/components/intensity.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'intensity.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/region_intensity.g.dart b/packages/eqapi_schema/lib/model/components/region_intensity.g.dart index 9cebf71f1..f1e00ea84 100644 --- a/packages/eqapi_schema/lib/model/components/region_intensity.g.dart +++ b/packages/eqapi_schema/lib/model/components/region_intensity.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'region_intensity.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/tsunami-information/comments.g.dart b/packages/eqapi_schema/lib/model/components/tsunami-information/comments.g.dart index 7eec8ed43..8ffb2e4b9 100644 --- a/packages/eqapi_schema/lib/model/components/tsunami-information/comments.g.dart +++ b/packages/eqapi_schema/lib/model/components/tsunami-information/comments.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'comments.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_estimation.g.dart b/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_estimation.g.dart index f3ddd4901..73e548a8a 100644 --- a/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_estimation.g.dart +++ b/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_estimation.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'tsunami_estimation.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_forecast.g.dart b/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_forecast.g.dart index c4e8b7085..b5deede58 100644 --- a/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_forecast.g.dart +++ b/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_forecast.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'tsunami_forecast.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_observations.g.dart b/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_observations.g.dart index 4d66b8e4a..f2d2f19dd 100644 --- a/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_observations.g.dart +++ b/packages/eqapi_schema/lib/model/components/tsunami-information/tsunami_observations.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'tsunami_observations.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/tsunami-information/vtse41.g.dart b/packages/eqapi_schema/lib/model/components/tsunami-information/vtse41.g.dart index 1d0b28d89..1168a8e84 100644 --- a/packages/eqapi_schema/lib/model/components/tsunami-information/vtse41.g.dart +++ b/packages/eqapi_schema/lib/model/components/tsunami-information/vtse41.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'vtse41.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/tsunami-information/vtse51.g.dart b/packages/eqapi_schema/lib/model/components/tsunami-information/vtse51.g.dart index 19b9d402d..4ee6409eb 100644 --- a/packages/eqapi_schema/lib/model/components/tsunami-information/vtse51.g.dart +++ b/packages/eqapi_schema/lib/model/components/tsunami-information/vtse51.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'vtse51.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/components/tsunami-information/vtse52.g.dart b/packages/eqapi_schema/lib/model/components/tsunami-information/vtse52.g.dart index c8ff92037..35c8fa6ba 100644 --- a/packages/eqapi_schema/lib/model/components/tsunami-information/vtse52.g.dart +++ b/packages/eqapi_schema/lib/model/components/tsunami-information/vtse52.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'vtse52.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/lib/model/telegram_v3.g.dart b/packages/eqapi_schema/lib/model/telegram_v3.g.dart index c9d6617c0..fc742f26b 100644 --- a/packages/eqapi_schema/lib/model/telegram_v3.g.dart +++ b/packages/eqapi_schema/lib/model/telegram_v3.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'telegram_v3.dart'; // ************************************************************************** diff --git a/packages/eqapi_schema/pubspec.yaml b/packages/eqapi_schema/pubspec.yaml index 09d7f1b5b..5b2cc9e64 100644 --- a/packages/eqapi_schema/pubspec.yaml +++ b/packages/eqapi_schema/pubspec.yaml @@ -1,6 +1,7 @@ name: eqapi_schema description: EQApi API Schema -version: 1.0.0 +version: 1.0.1 +publish_to: "none" environment: sdk: ^3.0.0 @@ -11,7 +12,9 @@ dependencies: freezed_annotation: ^2.2.0 json_annotation: ^4.8.1 lat_lng: - path: ../lat_lng + git: + url: https://github.com/YumNumm/EQMonitor.git + path: packages/lat_lng dev_dependencies: build_runner: ^2.4.2 diff --git a/packages/eqapi_schema/pubspec_overrides.yaml b/packages/eqapi_schema/pubspec_overrides.yaml new file mode 100644 index 000000000..1a55f1429 --- /dev/null +++ b/packages/eqapi_schema/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: lat_lng +dependency_overrides: + lat_lng: + path: ../lat_lng diff --git a/packages/extensions/analysis_options.yaml b/packages/extensions/analysis_options.yaml index dee8927aa..6f8d6d437 100644 --- a/packages/extensions/analysis_options.yaml +++ b/packages/extensions/analysis_options.yaml @@ -1,30 +1,19 @@ -# This file configures the static analysis results for your project (errors, -# warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. +# https://pub.dev/packages/pedantic_mono +include: package:pedantic_mono/analysis_options.yaml -include: package:lints/recommended.yaml +analyzer: + exclude: + - "**/*.g.dart" + - "**/*.freezed.dart" + language: + strict-casts: true + strict-inference: true + strict-raw-types: true + plugins: + - custom_lint + errors: + invalid_annotation_target: ignore -# Uncomment the following section to specify additional rules. - -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options +linter: + rules: + always_use_package_imports: true diff --git a/packages/extensions/lib/extensions.dart b/packages/extensions/lib/extensions.dart index f2d5a6ae9..37d56c890 100644 --- a/packages/extensions/lib/extensions.dart +++ b/packages/extensions/lib/extensions.dart @@ -1,4 +1,3 @@ -library; export 'src/record_sorted.dart'; export 'src/safe_list_access.dart'; diff --git a/packages/extensions/pubspec.yaml b/packages/extensions/pubspec.yaml index fcda019f1..5a99a6b8c 100644 --- a/packages/extensions/pubspec.yaml +++ b/packages/extensions/pubspec.yaml @@ -4,3 +4,5 @@ version: 1.0.0 environment: sdk: ^3.0.5 +dev_dependencies: + pedantic_mono: ^1.23.0 diff --git a/packages/lat_lng/CHANGELOG.md b/packages/lat_lng/CHANGELOG.md index effe43c82..71bb6b00b 100644 --- a/packages/lat_lng/CHANGELOG.md +++ b/packages/lat_lng/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- **FIX**: 地図病が. + ## 1.0.0 - Initial version. diff --git a/packages/lat_lng/analysis_options.yaml b/packages/lat_lng/analysis_options.yaml index dee8927aa..6f8d6d437 100644 --- a/packages/lat_lng/analysis_options.yaml +++ b/packages/lat_lng/analysis_options.yaml @@ -1,30 +1,19 @@ -# This file configures the static analysis results for your project (errors, -# warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. +# https://pub.dev/packages/pedantic_mono +include: package:pedantic_mono/analysis_options.yaml -include: package:lints/recommended.yaml +analyzer: + exclude: + - "**/*.g.dart" + - "**/*.freezed.dart" + language: + strict-casts: true + strict-inference: true + strict-raw-types: true + plugins: + - custom_lint + errors: + invalid_annotation_target: ignore -# Uncomment the following section to specify additional rules. - -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options +linter: + rules: + always_use_package_imports: true diff --git a/packages/lat_lng/lib/lat_lng.dart b/packages/lat_lng/lib/lat_lng.dart index c84e95265..6e9231324 100644 --- a/packages/lat_lng/lib/lat_lng.dart +++ b/packages/lat_lng/lib/lat_lng.dart @@ -1,4 +1,3 @@ -library; export 'src/lat_lng.dart'; export 'src/lat_lng_boundary.dart'; diff --git a/packages/lat_lng/lib/src/lat_lng_boundary.dart b/packages/lat_lng/lib/src/lat_lng_boundary.dart index 62b906e5f..eb24b39af 100644 --- a/packages/lat_lng/lib/src/lat_lng_boundary.dart +++ b/packages/lat_lng/lib/src/lat_lng_boundary.dart @@ -1,10 +1,6 @@ import 'package:lat_lng/src/lat_lng.dart'; class LatLngBoundary { - LatLngBoundary._(this.northEast, this.southWest); - - final LatLng northEast; - final LatLng southWest; factory LatLngBoundary.fromTwo(LatLng one, LatLng two) { final northEast = LatLng( @@ -54,6 +50,10 @@ class LatLngBoundary { final southWest = LatLng(southWestLat, southWestLon); return LatLngBoundary._(northEast, southWest); } + LatLngBoundary._(this.northEast, this.southWest); + + final LatLng northEast; + final LatLng southWest; bool containsBbox(LatLngBoundary other) { return northEast.lat >= other.northEast.lat && diff --git a/packages/lat_lng/pubspec.yaml b/packages/lat_lng/pubspec.yaml index 750fa9a04..9c6e7021a 100644 --- a/packages/lat_lng/pubspec.yaml +++ b/packages/lat_lng/pubspec.yaml @@ -1,6 +1,8 @@ name: lat_lng description: A starting point for Dart libraries or applications. -version: 1.0.0 +version: 1.0.1 environment: sdk: ^3.0.5 +dev_dependencies: + pedantic_mono: ^1.23.0 diff --git a/packages/topo_map/.fvm/.gitignore b/packages/topo_map/.fvm/.gitignore deleted file mode 100644 index 6a458e3ab..000000000 --- a/packages/topo_map/.fvm/.gitignore +++ /dev/null @@ -1 +0,0 @@ -flutter_sdk \ No newline at end of file diff --git a/packages/topo_map/.fvm/fvm_config.json b/packages/topo_map/.fvm/fvm_config.json deleted file mode 100644 index 23e73971d..000000000 --- a/packages/topo_map/.fvm/fvm_config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "flutterSdkVersion": "3.10.5", - "flavors": {} -} \ No newline at end of file diff --git a/packages/topo_map/CHANGELOG.md b/packages/topo_map/CHANGELOG.md index effe43c82..0a54120e3 100644 --- a/packages/topo_map/CHANGELOG.md +++ b/packages/topo_map/CHANGELOG.md @@ -1,3 +1,11 @@ +## 1.0.1 + +- **REFACTOR**: [topo_map] calc. ([cb16b045](https://github.com/YumNumm/EQMonitor/commit/cb16b045599bf410128a3f252391cc9ddd55520b)) +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) +- **FIX**: mapdata. ([aaf05e0d](https://github.com/YumNumm/EQMonitor/commit/aaf05e0db06866b2c94ba417195c6185353d8c3c)) +- **FIX**: [topomap] README. ([ced29c5d](https://github.com/YumNumm/EQMonitor/commit/ced29c5d167808577ee2dabcb6e8683cae82b56f)) +- **FIX**: topoMap. ([33c94f7e](https://github.com/YumNumm/EQMonitor/commit/33c94f7eb2ba9e5a97c265057cc9dcbe0cec5159)) + ## 1.0.0 - Initial version. diff --git a/packages/topo_map/analysis_options.yaml b/packages/topo_map/analysis_options.yaml index dee8927aa..e2f9de844 100644 --- a/packages/topo_map/analysis_options.yaml +++ b/packages/topo_map/analysis_options.yaml @@ -1,30 +1,20 @@ -# This file configures the static analysis results for your project (errors, -# warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. +# https://pub.dev/packages/pedantic_mono +include: package:pedantic_mono/analysis_options.yaml -include: package:lints/recommended.yaml +analyzer: + exclude: + - "**/*.g.dart" + - "**/*.freezed.dart" + language: + strict-casts: true + strict-inference: true + strict-raw-types: true + plugins: + - custom_lint + errors: + invalid_annotation_target: ignore + avoid_print: ignore -# Uncomment the following section to specify additional rules. - -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options +linter: + rules: + always_use_package_imports: true diff --git a/packages/topo_map/bin/topojsonconverter.dart b/packages/topo_map/bin/topojsonconverter.dart index beaaafb2e..1cbce1fc1 100644 --- a/packages/topo_map/bin/topojsonconverter.dart +++ b/packages/topo_map/bin/topojsonconverter.dart @@ -10,36 +10,36 @@ import 'package:topojson/topojson.dart'; Future main( List arguments, ) async { - print("***** TopoJsonConverter *****"); - print("TopoJsonが入ったフォルダ: "); + print('***** TopoJsonConverter *****'); + print('TopoJsonが入ったフォルダ: '); final inputFolder = stdin.readLineSync().toString(); - print("TopologyMapの出力先: "); + print('TopologyMapの出力先: '); final outputFileName = stdin.readLineSync().toString(); final inputDir = Directory(inputFolder); if (!inputDir.existsSync()) { - print("入力フォルダが存在しません"); + print('入力フォルダが存在しません'); return; } final inputFiles = inputDir.listSync(); - var topologyMaps = {}; + final topologyMaps = {}; for (final inputFile in inputFiles) { // 拡張子を除くファイル名を取得 - final fileName = inputFile.path.split("/").last.split(".").first; - if (fileName == "") { + final fileName = inputFile.path.split('/').last.split('.').first; + if (fileName == '') { continue; } final type = LandLayerType.values.firstWhereOrNull((e) => e.name == fileName); if (type == null) { - print("ファイル名が不正です: $fileName"); + print('ファイル名が不正です: $fileName'); continue; } final data = File(inputFile.path).readAsStringSync(); - final json = jsonDecode(data); + final json = jsonDecode(data) as Map; final topoJson = TopoJson.fromJson(json); final topologyMap = createMap(topoJson, type); topologyMaps[type] = topologyMap; @@ -48,5 +48,6 @@ Future main( final outPutFile = File(outputFileName); await outPutFile.create(recursive: true); await outPutFile.writeAsString( - jsonEncode(topologyMaps.map((key, value) => MapEntry(key.name, value)))); + jsonEncode(topologyMaps.map((key, value) => MapEntry(key.name, value))), + ); } diff --git a/packages/topo_map/build.yaml b/packages/topo_map/build.yaml new file mode 100644 index 000000000..fe35d032e --- /dev/null +++ b/packages/topo_map/build.yaml @@ -0,0 +1,10 @@ +targets: + $default: + builders: + source_gen|combining_builder: + options: + ignore_for_file: + - type=lint + json_serializable: + options: + checked: true diff --git a/packages/topo_map/lib/src/enum/land_layer_type.dart b/packages/topo_map/lib/src/enum/land_layer_type.dart index 0fc814bb1..e9f77aa77 100644 --- a/packages/topo_map/lib/src/enum/land_layer_type.dart +++ b/packages/topo_map/lib/src/enum/land_layer_type.dart @@ -2,10 +2,10 @@ import 'package:freezed_annotation/freezed_annotation.dart'; @JsonEnum(valueField: 'type') enum LandLayerType { - worldWithoutJapan("日本以外の全地域"), - municipalityEarthquakeTsunamiArea("市町村等(地震津波関係)"), - earthquakeInformationSubdivisionArea("地震情報/細分区域"), - tsunamiForecastArea("津波予報区"); + worldWithoutJapan('日本以外の全地域'), + municipalityEarthquakeTsunamiArea('市町村等(地震津波関係)'), + earthquakeInformationSubdivisionArea('地震情報/細分区域'), + tsunamiForecastArea('津波予報区'); const LandLayerType(this.type); final String type; diff --git a/packages/topo_map/lib/src/model/topology_map.dart b/packages/topo_map/lib/src/model/topology_map.dart index 87fdf0ca0..1fcff1e2c 100644 --- a/packages/topo_map/lib/src/model/topology_map.dart +++ b/packages/topo_map/lib/src/model/topology_map.dart @@ -42,13 +42,13 @@ class TopologyPolygon with _$TopologyPolygon { @JsonEnum(valueField: 'type') enum TopologyArcType { /// 海岸線 - coastline("coastline"), + coastline('coastline'), /// 県境 - admin("admin"), + admin('admin'), /// 一次細分化区域 - area("area"); + area('area'); const TopologyArcType(this.type); final String type; diff --git a/packages/topo_map/lib/src/model/topology_map.g.dart b/packages/topo_map/lib/src/model/topology_map.g.dart index a30c146fb..87959cc71 100644 --- a/packages/topo_map/lib/src/model/topology_map.g.dart +++ b/packages/topo_map/lib/src/model/topology_map.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'topology_map.dart'; // ************************************************************************** @@ -7,16 +9,29 @@ part of 'topology_map.dart'; // ************************************************************************** _$_TopologyMap _$$_TopologyMapFromJson(Map json) => - _$_TopologyMap( - scale: DoubleVector.fromJson(json['scale'] as Map), - translate: - DoubleVector.fromJson(json['translate'] as Map), - polygons: (json['polygons'] as List) - .map((e) => TopologyPolygon.fromJson(e as Map)) - .toList(), - arcs: (json['arcs'] as List) - .map((e) => TopologyArc.fromJson(e as Map)) - .toList(), + $checkedCreate( + r'_$_TopologyMap', + json, + ($checkedConvert) { + final val = _$_TopologyMap( + scale: $checkedConvert( + 'scale', (v) => DoubleVector.fromJson(v as Map)), + translate: $checkedConvert('translate', + (v) => DoubleVector.fromJson(v as Map)), + polygons: $checkedConvert( + 'polygons', + (v) => (v as List) + .map((e) => + TopologyPolygon.fromJson(e as Map)) + .toList()), + arcs: $checkedConvert( + 'arcs', + (v) => (v as List) + .map((e) => TopologyArc.fromJson(e as Map)) + .toList()), + ); + return val; + }, ); Map _$$_TopologyMapToJson(_$_TopologyMap instance) => @@ -28,11 +43,21 @@ Map _$$_TopologyMapToJson(_$_TopologyMap instance) => }; _$_TopologyArc _$$_TopologyArcFromJson(Map json) => - _$_TopologyArc( - arc: (json['arc'] as List) - .map((e) => IntVector.fromJson(e as Map)) - .toList(), - type: $enumDecode(_$TopologyArcTypeEnumMap, json['type']), + $checkedCreate( + r'_$_TopologyArc', + json, + ($checkedConvert) { + final val = _$_TopologyArc( + arc: $checkedConvert( + 'arc', + (v) => (v as List) + .map((e) => IntVector.fromJson(e as Map)) + .toList()), + type: $checkedConvert( + 'type', (v) => $enumDecode(_$TopologyArcTypeEnumMap, v)), + ); + return val; + }, ); Map _$$_TopologyArcToJson(_$_TopologyArc instance) => @@ -48,11 +73,21 @@ const _$TopologyArcTypeEnumMap = { }; _$_TopologyPolygon _$$_TopologyPolygonFromJson(Map json) => - _$_TopologyPolygon( - arcs: (json['arcs'] as List) - .map((e) => (e as List).map((e) => e as int).toList()) - .toList(), - areaCode: json['areaCode'] as int?, + $checkedCreate( + r'_$_TopologyPolygon', + json, + ($checkedConvert) { + final val = _$_TopologyPolygon( + arcs: $checkedConvert( + 'arcs', + (v) => (v as List) + .map( + (e) => (e as List).map((e) => e as int).toList()) + .toList()), + areaCode: $checkedConvert('areaCode', (v) => v as int?), + ); + return val; + }, ); Map _$$_TopologyPolygonToJson(_$_TopologyPolygon instance) => diff --git a/packages/topo_map/lib/util/create_map.dart b/packages/topo_map/lib/util/create_map.dart index 89e344373..ffbb846be 100644 --- a/packages/topo_map/lib/util/create_map.dart +++ b/packages/topo_map/lib/util/create_map.dart @@ -9,11 +9,11 @@ TopologyMap createMap(TopoJson json, LandLayerType layerType) { scale: DoubleVector(x: json.transform!.scale[1], y: json.transform!.scale[0]), translate: DoubleVector( - x: json.transform!.translate[1], y: json.transform!.translate[0]), + x: json.transform!.translate[1], y: json.transform!.translate[0],), polygons: [], arcs: [], ); - print("ポリゴンの処理を開始"); + print('ポリゴンの処理を開始'); final resultPolygons = []; for (final obj in json.objects.values) { @@ -25,13 +25,13 @@ TopologyMap createMap(TopoJson json, LandLayerType layerType) { TopologyPolygon( arcs: arcs, areaCode: int.tryParse( - (geo.properties)?.getOrNull("code").toString() ?? "", + (geo.properties)?.getOrNull('code').toString() ?? '', ) ?? int.tryParse( - (geo.properties)?.getOrNull("regioncode").toString() ?? "", + (geo.properties)?.getOrNull('regioncode').toString() ?? '', ) ?? int.tryParse( - (geo.properties)?.getOrNull("ISO_N3").toString() ?? "", + (geo.properties)?.getOrNull('ISO_N3').toString() ?? '', ), ), ); @@ -41,14 +41,14 @@ TopologyMap createMap(TopoJson json, LandLayerType layerType) { TopologyPolygon( arcs: arcs, areaCode: int.tryParse( - (geo.properties)?.getOrNull("code").toString() ?? "", + (geo.properties)?.getOrNull('code').toString() ?? '', ) ?? int.tryParse( - (geo.properties)?.getOrNull("regioncode").toString() ?? - "", + (geo.properties)?.getOrNull('regioncode').toString() ?? + '', ) ?? int.tryParse( - (geo.properties)?.getOrNull("ISO_N3").toString() ?? "", + (geo.properties)?.getOrNull('ISO_N3').toString() ?? '', ), ), ); @@ -61,7 +61,7 @@ TopologyMap createMap(TopoJson json, LandLayerType layerType) { TopologyPolygon( arcs: [arcs], areaCode: int.tryParse( - (geo.properties)?.getOrNull("code").toString() ?? "", + (geo.properties)?.getOrNull('code').toString() ?? '', ), ), ); @@ -72,7 +72,7 @@ TopologyMap createMap(TopoJson json, LandLayerType layerType) { TopologyPolygon( arcs: [arcs], areaCode: int.tryParse( - (geo.properties)?.getOrNull("code").toString() ?? "", + (geo.properties)?.getOrNull('code').toString() ?? '', ), ), ); @@ -84,8 +84,8 @@ TopologyMap createMap(TopoJson json, LandLayerType layerType) { } } - print("$layerType: ${resultPolygons.length}個のポリゴンが処理されました"); - print("$layerType: 境界線を処理しています..."); + print('$layerType: ${resultPolygons.length}個のポリゴンが処理されました'); + print('$layerType: 境界線を処理しています...'); // 境界線の処理 final resultArcs = json.getArcs.mapIndexed((index, arc) { @@ -105,7 +105,7 @@ TopologyMap createMap(TopoJson json, LandLayerType layerType) { } else if (refPolygons .where((polygon) => polygon.areaCode != null) .groupListsBy( - (polygon) => polygon.areaCode! ~/ layerType.multiAreaGroupNo) + (polygon) => polygon.areaCode! ~/ layerType.multiAreaGroupNo,) .length >= 2) { // このPolylineを参照しているポリゴンのcode すべて一致するなら 県境 diff --git a/packages/topo_map/pubspec.yaml b/packages/topo_map/pubspec.yaml index 667ceaedc..2beb71074 100644 --- a/packages/topo_map/pubspec.yaml +++ b/packages/topo_map/pubspec.yaml @@ -1,6 +1,6 @@ name: topo_map description: A starting point for Dart libraries or applications. -version: 1.0.0 +version: 1.0.1 publish_to: "none" environment: @@ -8,18 +8,23 @@ environment: dependencies: collection: ^1.17.1 + extensions: + git: + url: https://github.com/YumNumm/EQMonitor.git + path: packages/extensions freezed_annotation: ^2.2.0 json_annotation: ^4.8.1 topojson: - path: ../topojson - extensions: - path: ../extensions + git: + url: https://github.com/YumNumm/EQMonitor.git + path: packages/topojson dev_dependencies: build_runner: ^2.4.4 freezed: ^2.3.4 json_serializable: ^6.7.0 lints: ^2.0.0 + pedantic_mono: ^1.23.0 test: ^1.21.0 executables: diff --git a/packages/topo_map/pubspec_overrides.yaml b/packages/topo_map/pubspec_overrides.yaml new file mode 100644 index 000000000..0e0718cae --- /dev/null +++ b/packages/topo_map/pubspec_overrides.yaml @@ -0,0 +1,6 @@ +# melos_managed_dependency_overrides: extensions,topojson +dependency_overrides: + extensions: + path: ../extensions + topojson: + path: ../topojson diff --git a/packages/topojson/CHANGELOG.md b/packages/topojson/CHANGELOG.md index effe43c82..957bc3434 100644 --- a/packages/topojson/CHANGELOG.md +++ b/packages/topojson/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- **FIX**: dependencies. ([b3d9197e](https://github.com/YumNumm/EQMonitor/commit/b3d9197e8a69f5818eaf9c91ce0df51926a6d85b)) + ## 1.0.0 - Initial version. diff --git a/packages/topojson/analysis_options.yaml b/packages/topojson/analysis_options.yaml index dee8927aa..6f8d6d437 100644 --- a/packages/topojson/analysis_options.yaml +++ b/packages/topojson/analysis_options.yaml @@ -1,30 +1,19 @@ -# This file configures the static analysis results for your project (errors, -# warnings, and lints). -# -# This enables the 'recommended' set of lints from `package:lints`. -# This set helps identify many issues that may lead to problems when running -# or consuming Dart code, and enforces writing Dart using a single, idiomatic -# style and format. -# -# If you want a smaller set of lints you can change this to specify -# 'package:lints/core.yaml'. These are just the most critical lints -# (the recommended set includes the core lints). -# The core lints are also what is used by pub.dev for scoring packages. +# https://pub.dev/packages/pedantic_mono +include: package:pedantic_mono/analysis_options.yaml -include: package:lints/recommended.yaml +analyzer: + exclude: + - "**/*.g.dart" + - "**/*.freezed.dart" + language: + strict-casts: true + strict-inference: true + strict-raw-types: true + plugins: + - custom_lint + errors: + invalid_annotation_target: ignore -# Uncomment the following section to specify additional rules. - -# linter: -# rules: -# - camel_case_types - -# analyzer: -# exclude: -# - path/to/excluded/files/** - -# For more information about the core and recommended set of lints, see -# https://dart.dev/go/core-lints - -# For additional information about configuring this file, see -# https://dart.dev/guides/language/analysis-options +linter: + rules: + always_use_package_imports: true diff --git a/packages/topojson/build.yaml b/packages/topojson/build.yaml new file mode 100644 index 000000000..fe35d032e --- /dev/null +++ b/packages/topojson/build.yaml @@ -0,0 +1,10 @@ +targets: + $default: + builders: + source_gen|combining_builder: + options: + ignore_for_file: + - type=lint + json_serializable: + options: + checked: true diff --git a/packages/topojson/lib/src/topo_json.g.dart b/packages/topojson/lib/src/topo_json.g.dart index f47e8e2e4..318fe7cdb 100644 --- a/packages/topojson/lib/src/topo_json.g.dart +++ b/packages/topojson/lib/src/topo_json.g.dart @@ -1,26 +1,43 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'topo_json.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** -_$_TopoJson _$$_TopoJsonFromJson(Map json) => _$_TopoJson( - type: json['type'] as String, - transform: json['transform'] == null - ? null - : TopoJsonTransform.fromJson( - json['transform'] as Map), - objects: (json['objects'] as Map).map( - (k, e) => MapEntry( - k, TopoJsonGeometryObject.fromJson(e as Map)), - ), - arcs: (json['arcs'] as List) - .map((e) => (e as List) - .map((e) => (e as List).map((e) => e as int).toList()) - .toList()) - .toList(), +_$_TopoJson _$$_TopoJsonFromJson(Map json) => $checkedCreate( + r'_$_TopoJson', + json, + ($checkedConvert) { + final val = _$_TopoJson( + type: $checkedConvert('type', (v) => v as String), + transform: $checkedConvert( + 'transform', + (v) => v == null + ? null + : TopoJsonTransform.fromJson(v as Map)), + objects: $checkedConvert( + 'objects', + (v) => (v as Map).map( + (k, e) => MapEntry( + k, + TopoJsonGeometryObject.fromJson( + e as Map)), + )), + arcs: $checkedConvert( + 'arcs', + (v) => (v as List) + .map((e) => (e as List) + .map((e) => + (e as List).map((e) => e as int).toList()) + .toList()) + .toList()), + ); + return val; + }, ); Map _$$_TopoJsonToJson(_$_TopoJson instance) => diff --git a/packages/topojson/lib/src/topo_json_geometry.dart b/packages/topojson/lib/src/topo_json_geometry.dart index 86289faa4..a6d6d96e0 100644 --- a/packages/topojson/lib/src/topo_json_geometry.dart +++ b/packages/topojson/lib/src/topo_json_geometry.dart @@ -6,8 +6,6 @@ part 'topo_json_geometry.freezed.dart'; part 'topo_json_geometry.g.dart'; sealed class TopoJsonGeometryObject { - final TopoJsonGeometryType? type; - final Map? properties; const TopoJsonGeometryObject({ this.type, @@ -32,6 +30,8 @@ sealed class TopoJsonGeometryObject { return NullGeometryObject.fromJson(json); } } + final TopoJsonGeometryType? type; + final Map? properties; Map toJson() { switch (type) { @@ -48,8 +48,8 @@ sealed class TopoJsonGeometryObject { case null: return { if (properties != null) - "properties": (properties as dynamic).toJson(), - "type": null, + 'properties': (properties as dynamic).toJson(), + 'type': null, }; } } diff --git a/packages/topojson/lib/src/topo_json_geometry.g.dart b/packages/topojson/lib/src/topo_json_geometry.g.dart index 7456fbcfe..b37e6c984 100644 --- a/packages/topojson/lib/src/topo_json_geometry.g.dart +++ b/packages/topojson/lib/src/topo_json_geometry.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'topo_json_geometry.dart'; // ************************************************************************** @@ -7,12 +9,23 @@ part of 'topo_json_geometry.dart'; // ************************************************************************** _$_LineString _$$_LineStringFromJson(Map json) => - _$_LineString( - type: $enumDecode(_$TopoJsonGeometryTypeEnumMap, json['type']), - arcs: (json['arcs'] as List).map((e) => e as int).toList(), - properties: (json['properties'] as Map?)?.map( - (k, e) => MapEntry(k, e as String?), - ), + $checkedCreate( + r'_$_LineString', + json, + ($checkedConvert) { + final val = _$_LineString( + type: $checkedConvert( + 'type', (v) => $enumDecode(_$TopoJsonGeometryTypeEnumMap, v)), + arcs: $checkedConvert('arcs', + (v) => (v as List).map((e) => e as int).toList()), + properties: $checkedConvert( + 'properties', + (v) => (v as Map?)?.map( + (k, e) => MapEntry(k, e as String?), + )), + ); + return val; + }, ); Map _$$_LineStringToJson(_$_LineString instance) => @@ -31,14 +44,27 @@ const _$TopoJsonGeometryTypeEnumMap = { }; _$_MultiLineString _$$_MultiLineStringFromJson(Map json) => - _$_MultiLineString( - type: $enumDecode(_$TopoJsonGeometryTypeEnumMap, json['type']), - arcs: (json['arcs'] as List) - .map((e) => (e as List).map((e) => e as int).toList()) - .toList(), - properties: (json['properties'] as Map?)?.map( - (k, e) => MapEntry(k, e as String?), - ), + $checkedCreate( + r'_$_MultiLineString', + json, + ($checkedConvert) { + final val = _$_MultiLineString( + type: $checkedConvert( + 'type', (v) => $enumDecode(_$TopoJsonGeometryTypeEnumMap, v)), + arcs: $checkedConvert( + 'arcs', + (v) => (v as List) + .map( + (e) => (e as List).map((e) => e as int).toList()) + .toList()), + properties: $checkedConvert( + 'properties', + (v) => (v as Map?)?.map( + (k, e) => MapEntry(k, e as String?), + )), + ); + return val; + }, ); Map _$$_MultiLineStringToJson(_$_MultiLineString instance) => @@ -48,14 +74,27 @@ Map _$$_MultiLineStringToJson(_$_MultiLineString instance) => 'properties': instance.properties, }; -_$_Polygon _$$_PolygonFromJson(Map json) => _$_Polygon( - type: $enumDecode(_$TopoJsonGeometryTypeEnumMap, json['type']), - arcs: (json['arcs'] as List) - .map((e) => (e as List).map((e) => e as int).toList()) - .toList(), - properties: (json['properties'] as Map?)?.map( - (k, e) => MapEntry(k, e as String?), - ), +_$_Polygon _$$_PolygonFromJson(Map json) => $checkedCreate( + r'_$_Polygon', + json, + ($checkedConvert) { + final val = _$_Polygon( + type: $checkedConvert( + 'type', (v) => $enumDecode(_$TopoJsonGeometryTypeEnumMap, v)), + arcs: $checkedConvert( + 'arcs', + (v) => (v as List) + .map( + (e) => (e as List).map((e) => e as int).toList()) + .toList()), + properties: $checkedConvert( + 'properties', + (v) => (v as Map?)?.map( + (k, e) => MapEntry(k, e as String?), + )), + ); + return val; + }, ); Map _$$_PolygonToJson(_$_Polygon instance) => @@ -66,16 +105,29 @@ Map _$$_PolygonToJson(_$_Polygon instance) => }; _$_MultiPolygon _$$_MultiPolygonFromJson(Map json) => - _$_MultiPolygon( - type: $enumDecode(_$TopoJsonGeometryTypeEnumMap, json['type']), - arcs: (json['arcs'] as List) - .map((e) => (e as List) - .map((e) => (e as List).map((e) => e as int).toList()) - .toList()) - .toList(), - properties: (json['properties'] as Map?)?.map( - (k, e) => MapEntry(k, e as String?), - ), + $checkedCreate( + r'_$_MultiPolygon', + json, + ($checkedConvert) { + final val = _$_MultiPolygon( + type: $checkedConvert( + 'type', (v) => $enumDecode(_$TopoJsonGeometryTypeEnumMap, v)), + arcs: $checkedConvert( + 'arcs', + (v) => (v as List) + .map((e) => (e as List) + .map((e) => + (e as List).map((e) => e as int).toList()) + .toList()) + .toList()), + properties: $checkedConvert( + 'properties', + (v) => (v as Map?)?.map( + (k, e) => MapEntry(k, e as String?), + )), + ); + return val; + }, ); Map _$$_MultiPolygonToJson(_$_MultiPolygon instance) => @@ -87,15 +139,27 @@ Map _$$_MultiPolygonToJson(_$_MultiPolygon instance) => _$_GeometryCollection _$$_GeometryCollectionFromJson( Map json) => - _$_GeometryCollection( - type: $enumDecode(_$TopoJsonGeometryTypeEnumMap, json['type']), - geometries: (json['geometries'] as List) - .map( - (e) => TopoJsonGeometryObject.fromJson(e as Map)) - .toList(), - properties: (json['properties'] as Map?)?.map( - (k, e) => MapEntry(k, e as String?), - ), + $checkedCreate( + r'_$_GeometryCollection', + json, + ($checkedConvert) { + final val = _$_GeometryCollection( + type: $checkedConvert( + 'type', (v) => $enumDecode(_$TopoJsonGeometryTypeEnumMap, v)), + geometries: $checkedConvert( + 'geometries', + (v) => (v as List) + .map((e) => TopoJsonGeometryObject.fromJson( + e as Map)) + .toList()), + properties: $checkedConvert( + 'properties', + (v) => (v as Map?)?.map( + (k, e) => MapEntry(k, e as String?), + )), + ); + return val; + }, ); Map _$$_GeometryCollectionToJson( @@ -108,11 +172,21 @@ Map _$$_GeometryCollectionToJson( _$_NullGeometryObject _$$_NullGeometryObjectFromJson( Map json) => - _$_NullGeometryObject( - type: $enumDecodeNullable(_$TopoJsonGeometryTypeEnumMap, json['type']), - properties: (json['properties'] as Map?)?.map( - (k, e) => MapEntry(k, e as String?), - ), + $checkedCreate( + r'_$_NullGeometryObject', + json, + ($checkedConvert) { + final val = _$_NullGeometryObject( + type: $checkedConvert('type', + (v) => $enumDecodeNullable(_$TopoJsonGeometryTypeEnumMap, v)), + properties: $checkedConvert( + 'properties', + (v) => (v as Map?)?.map( + (k, e) => MapEntry(k, e as String?), + )), + ); + return val; + }, ); Map _$$_NullGeometryObjectToJson( diff --git a/packages/topojson/lib/src/topo_json_transform.g.dart b/packages/topojson/lib/src/topo_json_transform.g.dart index 2329ab8b3..6d478e15f 100644 --- a/packages/topojson/lib/src/topo_json_transform.g.dart +++ b/packages/topojson/lib/src/topo_json_transform.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'topo_json_transform.dart'; // ************************************************************************** @@ -7,13 +9,24 @@ part of 'topo_json_transform.dart'; // ************************************************************************** _$_TopoJsonTransform _$$_TopoJsonTransformFromJson(Map json) => - _$_TopoJsonTransform( - scale: (json['scale'] as List) - .map((e) => (e as num).toDouble()) - .toList(), - translate: (json['translate'] as List) - .map((e) => (e as num).toDouble()) - .toList(), + $checkedCreate( + r'_$_TopoJsonTransform', + json, + ($checkedConvert) { + final val = _$_TopoJsonTransform( + scale: $checkedConvert( + 'scale', + (v) => (v as List) + .map((e) => (e as num).toDouble()) + .toList()), + translate: $checkedConvert( + 'translate', + (v) => (v as List) + .map((e) => (e as num).toDouble()) + .toList()), + ); + return val; + }, ); Map _$$_TopoJsonTransformToJson( diff --git a/packages/topojson/lib/src/vector.g.dart b/packages/topojson/lib/src/vector.g.dart index c4c4323dc..2df2c0e7a 100644 --- a/packages/topojson/lib/src/vector.g.dart +++ b/packages/topojson/lib/src/vector.g.dart @@ -1,5 +1,7 @@ // GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint + part of 'vector.dart'; // ************************************************************************** @@ -7,9 +9,16 @@ part of 'vector.dart'; // ************************************************************************** _$_DoubleVector _$$_DoubleVectorFromJson(Map json) => - _$_DoubleVector( - x: (json['x'] as num).toDouble(), - y: (json['y'] as num).toDouble(), + $checkedCreate( + r'_$_DoubleVector', + json, + ($checkedConvert) { + final val = _$_DoubleVector( + x: $checkedConvert('x', (v) => (v as num).toDouble()), + y: $checkedConvert('y', (v) => (v as num).toDouble()), + ); + return val; + }, ); Map _$$_DoubleVectorToJson(_$_DoubleVector instance) => @@ -18,9 +27,16 @@ Map _$$_DoubleVectorToJson(_$_DoubleVector instance) => 'y': instance.y, }; -_$_IntVector _$$_IntVectorFromJson(Map json) => _$_IntVector( - x: json['x'] as int, - y: json['y'] as int, +_$_IntVector _$$_IntVectorFromJson(Map json) => $checkedCreate( + r'_$_IntVector', + json, + ($checkedConvert) { + final val = _$_IntVector( + x: $checkedConvert('x', (v) => v as int), + y: $checkedConvert('y', (v) => v as int), + ); + return val; + }, ); Map _$$_IntVectorToJson(_$_IntVector instance) => diff --git a/packages/topojson/lib/topojson.dart b/packages/topojson/lib/topojson.dart index e8bb13d16..da69492cb 100644 --- a/packages/topojson/lib/topojson.dart +++ b/packages/topojson/lib/topojson.dart @@ -1,4 +1,3 @@ -library; export 'src/topo_json.dart'; export 'src/topo_json_geometry.dart'; diff --git a/packages/topojson/pubspec.yaml b/packages/topojson/pubspec.yaml index fd4de4af7..3194e9c5a 100644 --- a/packages/topojson/pubspec.yaml +++ b/packages/topojson/pubspec.yaml @@ -1,6 +1,6 @@ name: topojson description: A starting point for Dart libraries or applications. -version: 1.0.0 +version: 1.0.1 publish_to: "none" environment: @@ -10,12 +10,11 @@ dependencies: collection: ^1.17.1 freezed_annotation: ^2.2.0 json_annotation: ^4.8.1 - # path: ^1.8.0 - dev_dependencies: build_runner: ^2.4.4 freezed: ^2.3.4 json_serializable: ^6.7.0 lints: ^2.0.0 + pedantic_mono: ^1.23.0 test: ^1.21.0 diff --git a/pubspec.lock b/pubspec.lock index e32ad0129..0a727c56c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -33,6 +33,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.11.2" + ansi_styles: + dependency: transitive + description: + name: ansi_styles + sha256: "9c656cc12b3c27b17dd982b2cc5c0cfdfbdabd7bc8f3ae5e8542d9867b47ce8a" + url: "https://pub.dev" + source: hosted + version: "0.3.2+1" ansicolor: dependency: transitive description: @@ -169,6 +177,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.0" + charcode: + dependency: transitive + description: + name: charcode + sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306 + url: "https://pub.dev" + source: hosted + version: "1.3.1" checked_yaml: dependency: transitive description: @@ -185,6 +201,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.1.0" + cli_launcher: + dependency: transitive + description: + name: cli_launcher + sha256: "5e7e0282b79e8642edd6510ee468ae2976d847a0a29b3916e85f5fa1bfe24005" + url: "https://pub.dev" + source: hosted + version: "0.3.1" cli_util: dependency: transitive description: @@ -225,6 +249,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.0" + conventional_commit: + dependency: transitive + description: + name: conventional_commit + sha256: dec15ad1118f029c618651a4359eb9135d8b88f761aa24e4016d061cd45948f2 + url: "https://pub.dev" + source: hosted + version: "0.6.0+1" convert: dependency: transitive description: @@ -351,14 +383,14 @@ packages: path: "packages/eq_map" relative: true source: path - version: "1.0.0" + version: "1.0.1" eqapi_schema: dependency: "direct main" description: path: "packages/eqapi_schema" relative: true source: path - version: "1.0.0" + version: "1.0.1" extensions: dependency: "direct main" description: @@ -747,7 +779,7 @@ packages: path: "packages/lat_lng" relative: true source: path - version: "1.0.0" + version: "1.0.1" latlong2: dependency: "direct main" description: @@ -804,6 +836,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.2.0" + melos: + dependency: "direct dev" + description: + name: melos + sha256: "3f22f6cc629d72acf3acc8a7f8563384550290fa30790efa328c9cf606aa17d7" + url: "https://pub.dev" + source: hosted + version: "3.1.1" meta: dependency: transitive description: @@ -820,6 +860,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.4" + mustache_template: + dependency: transitive + description: + name: mustache_template + sha256: a46e26f91445bfb0b60519be280555b06792460b27b19e2b19ad5b9740df5d1c + url: "https://pub.dev" + source: hosted + version: "2.0.0" native_shared_preferences: dependency: "direct main" description: @@ -912,10 +960,10 @@ packages: dependency: "direct dev" description: name: pedantic_mono - sha256: f06b0d77589c9af90a54867a39761ebad9f867a746a270982cdd6ee370b2ea27 + sha256: "1637a362bbc2eee00ee9314509463c0ec03e6495109583491a5f848448e6d12d" url: "https://pub.dev" source: hosted - version: "1.22.0" + version: "1.23.0" permission_handler: dependency: "direct main" description: @@ -1004,6 +1052,14 @@ packages: url: "https://pub.dev" source: hosted version: "4.2.4" + prompts: + dependency: transitive + description: + name: prompts + sha256: "3773b845e85a849f01e793c4fc18a45d52d7783b4cb6c0569fad19f9d0a774a1" + url: "https://pub.dev" + source: hosted + version: "2.0.0" pub_semver: dependency: transitive description: @@ -1012,6 +1068,22 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" + pub_updater: + dependency: transitive + description: + name: pub_updater + sha256: b06600619c8c219065a548f8f7c192b3e080beff95488ed692780f48f69c0625 + url: "https://pub.dev" + source: hosted + version: "0.3.1" + pubspec: + dependency: transitive + description: + name: pubspec + sha256: f534a50a2b4d48dc3bc0ec147c8bd7c304280fff23b153f3f11803c4d49d927e + url: "https://pub.dev" + source: hosted + version: "2.3.0" pubspec_parse: dependency: transitive description: @@ -1020,6 +1092,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.3" + quiver: + dependency: transitive + description: + name: quiver + sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 + url: "https://pub.dev" + source: hosted + version: "3.2.1" retrofit: dependency: "direct main" description: @@ -1361,14 +1441,14 @@ packages: path: "packages/topo_map" relative: true source: path - version: "1.0.0" + version: "1.0.1" topojson: dependency: "direct main" description: path: "packages/topojson" relative: true source: path - version: "1.0.0" + version: "1.0.1" tuple: dependency: transitive description: @@ -1385,6 +1465,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.2" + uri: + dependency: transitive + description: + name: uri + sha256: "889eea21e953187c6099802b7b4cf5219ba8f3518f604a1033064d45b1b8268a" + url: "https://pub.dev" + source: hosted + version: "1.0.0" url_launcher_linux: dependency: transitive description: @@ -1497,6 +1585,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.1.2" + yaml_edit: + dependency: transitive + description: + name: yaml_edit + sha256: "1579d4a0340a83cf9e4d580ea51a16329c916973bffd5bd4b45e911b25d46bfd" + url: "https://pub.dev" + source: hosted + version: "2.1.1" sdks: - dart: ">=3.0.5 <4.0.0" + dart: ">=3.0.0 <4.0.0" flutter: ">=3.7.0" diff --git a/pubspec.yaml b/pubspec.yaml index d1ec22539..7585bb099 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,10 +2,10 @@ name: eqmonitor description: An earthquake monitoring Application publish_to: "none" -version: 2.0.0+1020 +version: 2.1.0 environment: - sdk: ">=3.0.3 <4.0.0" + sdk: ">=3.0.0 <4.0.0" dependencies: app_settings: ^4.2.0 @@ -81,7 +81,8 @@ dev_dependencies: go_router_builder: ^2.0.0 json_serializable: ^6.6.2 material_button_assist: ^1.0.0 - pedantic_mono: ^1.21.1 + melos: ^3.1.1 + pedantic_mono: ^1.23.0 retrofit_generator: ^6.0.0+3 riverpod_generator: ^2.2.1 riverpod_lint: ^1.3.1 diff --git a/pubspec_overrides.yaml b/pubspec_overrides.yaml new file mode 100644 index 000000000..c661452ea --- /dev/null +++ b/pubspec_overrides.yaml @@ -0,0 +1,14 @@ +# melos_managed_dependency_overrides: eq_map,eqapi_schema,extensions,lat_lng,topo_map,topojson +dependency_overrides: + eq_map: + path: packages/eq_map + eqapi_schema: + path: packages/eqapi_schema + extensions: + path: packages/extensions + lat_lng: + path: packages/lat_lng + topo_map: + path: packages/topo_map + topojson: + path: packages/topojson diff --git a/util/shell/format.sh b/util/shell/format.sh new file mode 100755 index 000000000..a9af1ea2a --- /dev/null +++ b/util/shell/format.sh @@ -0,0 +1,12 @@ +#!/bin/bash +files=$(find lib -name "*.dart" -not \( -name "*.*freezed.dart" -o -name "*.*g.dart" -o -name "*.gen.dart" \)) +echo "Formatting files: $files" +for file in "$files"; do + # limit jobs to 5 + if [ "$(jobs -r | wc -l)" -ge 5 ]; then + wait "$(jobs -r -p | head -1)" + fi + dart fix --apply "$file" & +done +wait +dart format "$files"