From 2b263f6acaf216298525f409e33373589f4567f9 Mon Sep 17 00:00:00 2001 From: Ricardo Boss Date: Thu, 5 Dec 2024 23:03:25 +0100 Subject: [PATCH] Changed path dependencies to use pub.dev and API compatible version ranges Also updated some dev dependencies --- .../microsoft_kiota_abstractions/pubspec.yaml | 2 +- packages/microsoft_kiota_bundle/pubspec.yaml | 20 +++++++------------ packages/microsoft_kiota_http/pubspec.yaml | 5 ++--- .../pubspec.yaml | 5 ++--- .../pubspec.yaml | 12 +++++------ .../pubspec.yaml | 16 +++++++-------- .../pubspec.yaml | 5 ++--- tooling/pubspec.yaml | 2 +- 8 files changed, 27 insertions(+), 40 deletions(-) diff --git a/packages/microsoft_kiota_abstractions/pubspec.yaml b/packages/microsoft_kiota_abstractions/pubspec.yaml index 63a9c93..6c3d413 100644 --- a/packages/microsoft_kiota_abstractions/pubspec.yaml +++ b/packages/microsoft_kiota_abstractions/pubspec.yaml @@ -21,6 +21,6 @@ dependencies: dev_dependencies: strict: ^2.1.0 - test: ^1.25.8 + test: ^1.25.12 mockito: ^5.4.4 build_runner: any diff --git a/packages/microsoft_kiota_bundle/pubspec.yaml b/packages/microsoft_kiota_bundle/pubspec.yaml index 5313be0..4dd0811 100644 --- a/packages/microsoft_kiota_bundle/pubspec.yaml +++ b/packages/microsoft_kiota_bundle/pubspec.yaml @@ -8,22 +8,16 @@ environment: sdk: '>=3.2.6 <4.0.0' dependencies: - microsoft_kiota_abstractions: - path: ../microsoft_kiota_abstractions - microsoft_kiota_http: - path: ../microsoft_kiota_http - microsoft_kiota_serialization_text: - path: ../microsoft_kiota_serialization_text - microsoft_kiota_serialization_form: - path: ../microsoft_kiota_serialization_form - microsoft_kiota_serialization_json: - path: ../microsoft_kiota_serialization_json - microsoft_kiota_serialization_multipart: - path: ../microsoft_kiota_serialization_multipart + microsoft_kiota_abstractions: '>=0.0.1 <1.0.0' + microsoft_kiota_http: '>=0.0.1 <1.0.0' + microsoft_kiota_serialization_text: '>=0.0.1 <1.0.0' + microsoft_kiota_serialization_form: '>=0.0.1 <1.0.0' + microsoft_kiota_serialization_json: '>=0.0.1 <1.0.0' + microsoft_kiota_serialization_multipart: '>=0.0.1 <1.0.0' dev_dependencies: strict: ^2.1.0 - test: ^1.25.8 + test: ^1.25.12 mockito: ^5.4.4 build_runner: any http: ^1.2.2 diff --git a/packages/microsoft_kiota_http/pubspec.yaml b/packages/microsoft_kiota_http/pubspec.yaml index f7c76db..85e9b1d 100644 --- a/packages/microsoft_kiota_http/pubspec.yaml +++ b/packages/microsoft_kiota_http/pubspec.yaml @@ -9,14 +9,13 @@ environment: sdk: '>=3.2.6 <4.0.0' dependencies: - microsoft_kiota_abstractions: - path: ../microsoft_kiota_abstractions + microsoft_kiota_abstractions: '>=0.0.1 <1.0.0' http: ^1.2.2 http_parser: ^4.0.2 uuid: ^4.5.1 dev_dependencies: strict: ^2.1.0 - test: ^1.25.8 + test: ^1.25.12 mockito: ^5.4.4 build_runner: any diff --git a/packages/microsoft_kiota_serialization_form/pubspec.yaml b/packages/microsoft_kiota_serialization_form/pubspec.yaml index 43a999a..30e494e 100644 --- a/packages/microsoft_kiota_serialization_form/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_form/pubspec.yaml @@ -9,12 +9,11 @@ environment: sdk: '>=3.2.6 <4.0.0' dependencies: - microsoft_kiota_abstractions: - path: ../microsoft_kiota_abstractions + microsoft_kiota_abstractions: '>=0.0.1 <1.0.0' uuid: ^4.5.1 dev_dependencies: build_runner: any strict: ^2.1.0 - test: ^1.25.8 + test: ^1.25.12 mockito: ^5.4.4 diff --git a/packages/microsoft_kiota_serialization_json/pubspec.yaml b/packages/microsoft_kiota_serialization_json/pubspec.yaml index 6643bef..b269e5a 100644 --- a/packages/microsoft_kiota_serialization_json/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_json/pubspec.yaml @@ -8,13 +8,11 @@ publish_to: 'none' environment: sdk: '>=3.2.6 <4.0.0' -# Add regular dependencies here. dependencies: - microsoft_kiota_abstractions: - path: ../microsoft_kiota_abstractions - uuid: ^4.4.2 + microsoft_kiota_abstractions: '>=0.0.1 <1.0.0' + uuid: ^4.5.1 dev_dependencies: - build_runner: ^2.4.9 - strict: ^2.0.0 - test: ^1.25.2 + build_runner: any + strict: ^2.1.0 + test: ^1.25.12 diff --git a/packages/microsoft_kiota_serialization_multipart/pubspec.yaml b/packages/microsoft_kiota_serialization_multipart/pubspec.yaml index 71928be..75e3242 100644 --- a/packages/microsoft_kiota_serialization_multipart/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_multipart/pubspec.yaml @@ -10,15 +10,13 @@ environment: dependencies: http: ^1.2.2 - microsoft_kiota_abstractions: - path: ../microsoft_kiota_abstractions - typed_data: ^1.3.2 - uuid: ^4.4.2 + microsoft_kiota_abstractions: '>=0.0.1 <1.0.0' + typed_data: ^1.4.0 + uuid: ^4.5.1 dev_dependencies: - build_runner: ^2.4.9 - microsoft_kiota_serialization_json: - path: ../microsoft_kiota_serialization_json/ + build_runner: any + microsoft_kiota_serialization_json: '>=0.0.1 <1.0.0' mockito: ^5.4.4 - strict: ^2.0.0 - test: ^1.25.2 + strict: ^2.1.0 + test: ^1.25.12 diff --git a/packages/microsoft_kiota_serialization_text/pubspec.yaml b/packages/microsoft_kiota_serialization_text/pubspec.yaml index 2b375df..1e5c1d2 100644 --- a/packages/microsoft_kiota_serialization_text/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_text/pubspec.yaml @@ -9,10 +9,9 @@ environment: sdk: '>=3.2.6 <4.0.0' dependencies: - microsoft_kiota_abstractions: - path: ../microsoft_kiota_abstractions + microsoft_kiota_abstractions: '>=0.0.1 <1.0.0' uuid: ^4.5.1 dev_dependencies: strict: ^2.1.0 - test: ^1.25.8 + test: ^1.25.12 diff --git a/tooling/pubspec.yaml b/tooling/pubspec.yaml index 34c8a3e..86ddd19 100644 --- a/tooling/pubspec.yaml +++ b/tooling/pubspec.yaml @@ -11,4 +11,4 @@ dependencies: dev_dependencies: lints: ">=3.0.0 <6.0.0" - test: ^1.24.0 + test: ^1.25.12