diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0cf424c..f2b9b32 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,2 @@ * @ricardoboss +/packages/kiota_serialization_json @joanne-ter-maat \ No newline at end of file diff --git a/Makefile b/Makefile index a385a11..aecc558 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -pub-get: pub-get-abstractions pub-get-http pub-get-serialization-text pub-get-serialization-form +pub-get: pub-get-abstractions pub-get-http pub-get-serialization-text pub-get-serialization-form pub-get-serialization-json pub-get-abstractions: cd packages/kiota_abstractions && dart pub get @@ -12,10 +12,13 @@ pub-get-serialization-text: pub-get-serialization-form: cd packages/kiota_serialization_form && dart pub get +pub-get-serialization-json: + cd packages/kiota_serialization_json && dart pub get + format: dart format packages -generate: generate-abstractions generate-http generate-serialization-form +generate: generate-abstractions generate-http generate-serialization-form generate-serialization-json generate-abstractions: cd packages/kiota_abstractions && dart run build_runner build --delete-conflicting-outputs @@ -26,7 +29,10 @@ generate-http: generate-serialization-form: cd packages/kiota_serialization_form && dart run build_runner build --delete-conflicting-outputs -test: test-abstractions test-http test-serialization-text test-serialization-form +generate-serialization-json: + cd packages/kiota_serialization_json && dart run build_runner build --delete-conflicting-outputs + +test: test-abstractions test-http test-serialization-text test-serialization-form test-serialization-json test-abstractions: pub-get-abstractions generate-abstractions cd packages/kiota_abstractions && dart test @@ -39,3 +45,6 @@ test-serialization-text: pub-get-serialization-text test-serialization-form: pub-get-serialization-form generate-serialization-form cd packages/kiota_serialization_form && dart test + +test-serialization-json: pub-get-serialization-json generate-serialization-json + cd packages/kiota_serialization_json && dart test \ No newline at end of file diff --git a/packages/kiota_serialization_json/pubspec.yaml b/packages/kiota_serialization_json/pubspec.yaml index b8a2779..a7d51cc 100644 --- a/packages/kiota_serialization_json/pubspec.yaml +++ b/packages/kiota_serialization_json/pubspec.yaml @@ -15,5 +15,6 @@ dependencies: uuid: ^4.4.2 dev_dependencies: + build_runner: ^2.4.9 strict: ^2.0.0 test: ^1.25.2