Skip to content

Commit

Permalink
Merge pull request #9 from kosukesaigusa/ci/test
Browse files Browse the repository at this point in the history
test: add decapitalize string test
  • Loading branch information
kosukesaigusa authored Dec 21, 2023
2 parents 73833db + 3d3ce57 commit c46c69a
Show file tree
Hide file tree
Showing 16 changed files with 181 additions and 143 deletions.
4 changes: 2 additions & 2 deletions .github/build.yaml → .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
pull_request:
schedule:
# runs the CI everyday at 10AM
- cron: "0 10 * * *"
- cron: '0 10 * * *'

jobs:
flutterfire_gen:
build:
runs-on: ubuntu-latest

strategy:
Expand Down
File renamed without changes.
48 changes: 24 additions & 24 deletions examples/todo/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "58826e40314219b223f4723dd4205845040161cdc2df3e6a1cdceed5d8165084"
sha256: eb376e9acf6938204f90eb3b1f00b578640d3188b4c8a8ec054f9f479af8d051
url: "https://pub.dev"
source: hosted
version: "63.0.0"
version: "64.0.0"
_flutterfire_internals:
dependency: transitive
description:
Expand All @@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: analyzer
sha256: f85566ec7b3d25cbea60f7dd4f157c5025f2f19233ca4feeed33b616c78a26a3
sha256: "69f54f967773f6c26c7dcb13e93d7ccee8b17a641689da39e878d5cf13b06893"
url: "https://pub.dev"
source: hosted
version: "6.1.0"
version: "6.2.0"
analyzer_plugin:
dependency: transitive
description:
Expand Down Expand Up @@ -77,18 +77,18 @@ packages:
dependency: transitive
description:
name: build_daemon
sha256: "5f02d73eb2ba16483e693f80bee4f088563a820e47d1027d4cdfe62b5bb43e65"
sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1"
url: "https://pub.dev"
source: hosted
version: "4.0.0"
version: "4.0.1"
build_resolvers:
dependency: transitive
description:
name: build_resolvers
sha256: "6c4dd11d05d056e76320b828a1db0fc01ccd376922526f8e9d6c796a5adbac20"
sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a"
url: "https://pub.dev"
source: hosted
version: "2.2.1"
version: "2.4.2"
build_runner:
dependency: "direct dev"
description:
Expand All @@ -101,10 +101,10 @@ packages:
dependency: transitive
description:
name: build_runner_core
sha256: "6d6ee4276b1c5f34f21fdf39425202712d2be82019983d52f351c94aafbc2c41"
sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185
url: "https://pub.dev"
source: hosted
version: "7.2.10"
version: "7.2.11"
built_collection:
dependency: transitive
description:
Expand All @@ -117,10 +117,10 @@ packages:
dependency: transitive
description:
name: built_value
sha256: "598a2a682e2a7a90f08ba39c0aaa9374c5112340f0a2e275f61b59389543d166"
sha256: c9aabae0718ec394e5bc3c7272e6bb0dc0b32201a08fe185ec1d8401d3e39309
url: "https://pub.dev"
source: hosted
version: "8.6.1"
version: "8.8.1"
characters:
dependency: transitive
description:
Expand Down Expand Up @@ -149,10 +149,10 @@ packages:
dependency: transitive
description:
name: cli_util
sha256: b8db3080e59b2503ca9e7922c3df2072cf13992354d5e944074ffa836fba43b7
sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19
url: "https://pub.dev"
source: hosted
version: "0.4.0"
version: "0.4.1"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -189,10 +189,10 @@ packages:
dependency: transitive
description:
name: code_builder
sha256: "4ad01d6e56db961d29661561effde45e519939fdaeb46c351275b182eac70189"
sha256: feee43a5c05e7b3199bb375a86430b8ada1b04104f2923d0e03cc01ca87b6d84
url: "https://pub.dev"
source: hosted
version: "4.5.0"
version: "4.9.0"
collection:
dependency: transitive
description:
Expand Down Expand Up @@ -245,10 +245,10 @@ packages:
dependency: transitive
description:
name: dart_style
sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55"
sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.3.4"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -481,10 +481,10 @@ packages:
dependency: transitive
description:
name: plugin_platform_interface
sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc"
sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8
url: "https://pub.dev"
source: hosted
version: "2.1.4"
version: "2.1.7"
pool:
dependency: transitive
description:
Expand Down Expand Up @@ -582,10 +582,10 @@ packages:
dependency: transitive
description:
name: source_gen
sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16
sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.5.0"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -678,10 +678,10 @@ packages:
dependency: transitive
description:
name: uuid
sha256: df5a4d8f22ee4ccd77f8839ac7cb274ebc11ef9adcce8b92be14b797fe889921
sha256: "22c94e5ad1e75f9934b766b53c742572ee2677c56bc871d850a57dad0f82127f"
url: "https://pub.dev"
source: hosted
version: "4.2.1"
version: "4.2.2"
vector_math:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion examples/todo/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
flutter: '>=3.10.0'

dependencies:
cloud_firestore: ^4.13.5
cloud_firestore: ^4.13.6
firebase_core: ^2.24.2
flutter:
sdk: flutter
Expand Down
13 changes: 6 additions & 7 deletions packages/flutterfire_gen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ environment:
flutter: '>=3.10.0'

dependencies:
analyzer: ^6.1.0
analyzer: ">=5.13.0 <7.0.0"
build: ^2.4.1
cloud_firestore: ^4.11.0
cloud_firestore: ^4.13.6
flutter:
sdk: flutter
flutterfire_gen_annotation: ^0.3.0-dev.1
flutterfire_gen_utils: ^0.3.0-dev.1
json_annotation: ^4.8.1
meta: ^1.9.1
path: ^1.8.3
source_gen: ^1.4.0
source_gen: ^1.5.0

dev_dependencies:
build_runner: ^2.4.6
flutter_test:
sdk: flutter
mockito: ^5.4.3
build_runner: ^2.4.7
mockito: ^5.4.4
test: ^1.21.0
12 changes: 12 additions & 0 deletions packages/flutterfire_gen/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,15 @@ dependency_overrides:
path: ../flutterfire_gen_annotation
flutterfire_gen_utils:
path: ../flutterfire_gen_utils

# pub downgrade:
# flutterfire_gen generated codes includes sealed class feature to ge formatted
dart_style: ^2.3.0
# build_runner 2.2.0 => glob 2.0.0 => file 6.0.0
# flutterfire_gen requires file: ^6.1.3
file: ^6.1.3
# analyzer 5.2.0 => pub_semver 2.0.0
# flutterfire_gen requires pub_semver: ^2.1.3
pub_semver: ^2.1.3
# watcher 1.0.0 extends, implements, or mixens sealed class 'FileSystemEvent'
watcher: ^1.1.0
7 changes: 0 additions & 7 deletions packages/flutterfire_gen/test/flutter_gen_test.dart

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/dart/element/nullability_suffix.dart';
import 'package:analyzer/dart/element/type.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutterfire_gen/src/utils/dart_type_util.dart';
import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:test/test.dart';

import 'dart_type_util_test.mocks.dart';

Expand Down
Loading

0 comments on commit c46c69a

Please sign in to comment.