From 2b263f6acaf216298525f409e33373589f4567f9 Mon Sep 17 00:00:00 2001 From: Ricardo Boss Date: Thu, 5 Dec 2024 23:03:25 +0100 Subject: [PATCH 1/2] 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 From 4858ed72ee912ea5a64ccdbc75ac1603461e8036 Mon Sep 17 00:00:00 2001 From: Ricardo Boss Date: Thu, 5 Dec 2024 23:08:28 +0100 Subject: [PATCH 2/2] Removed publish_to: none and updated homepage/repository fields in preparation for repository move --- packages/microsoft_kiota_abstractions/pubspec.yaml | 5 ++--- packages/microsoft_kiota_bundle/pubspec.yaml | 6 +++--- packages/microsoft_kiota_http/pubspec.yaml | 5 ++--- packages/microsoft_kiota_serialization_form/pubspec.yaml | 5 ++--- packages/microsoft_kiota_serialization_json/pubspec.yaml | 7 +++---- .../microsoft_kiota_serialization_multipart/pubspec.yaml | 5 ++--- packages/microsoft_kiota_serialization_text/pubspec.yaml | 5 ++--- tooling/pubspec.yaml | 3 ++- 8 files changed, 18 insertions(+), 23 deletions(-) diff --git a/packages/microsoft_kiota_abstractions/pubspec.yaml b/packages/microsoft_kiota_abstractions/pubspec.yaml index 6c3d413..9d0b060 100644 --- a/packages/microsoft_kiota_abstractions/pubspec.yaml +++ b/packages/microsoft_kiota_abstractions/pubspec.yaml @@ -1,9 +1,8 @@ name: microsoft_kiota_abstractions description: "Provides interfaces and base classes for Dart Kiota clients." version: 0.0.1-pre.1 -homepage: https://github.com/kiota-community/dart_kiota/tree/main/packages/microsoft_kiota_abstractions -repository: https://github.com/kiota-community/dart_kiota -publish_to: 'none' +homepage: https://github.com/microsoft/dart_kiota/tree/main/packages/microsoft_kiota_abstractions +repository: https://github.com/microsoft/dart_kiota topics: - kiota diff --git a/packages/microsoft_kiota_bundle/pubspec.yaml b/packages/microsoft_kiota_bundle/pubspec.yaml index 4dd0811..fbd9178 100644 --- a/packages/microsoft_kiota_bundle/pubspec.yaml +++ b/packages/microsoft_kiota_bundle/pubspec.yaml @@ -1,8 +1,8 @@ name: microsoft_kiota_bundle +description: "Provides a bundle of all the default Kiota implementations for easy consumption." version: 0.0.1-pre.1 -homepage: https://github.com/kiota-community/dart_kiota/tree/main/packages/microsoft_kiota_bundle -repository: https://github.com/kiota-community/dart_kiota -publish_to: 'none' +homepage: https://github.com/microsoft/dart_kiota/tree/main/packages/microsoft_kiota_bundle +repository: https://github.com/microsoft/dart_kiota environment: sdk: '>=3.2.6 <4.0.0' diff --git a/packages/microsoft_kiota_http/pubspec.yaml b/packages/microsoft_kiota_http/pubspec.yaml index 85e9b1d..fa05e76 100644 --- a/packages/microsoft_kiota_http/pubspec.yaml +++ b/packages/microsoft_kiota_http/pubspec.yaml @@ -1,9 +1,8 @@ name: microsoft_kiota_http description: "Provides an implementation of a Kiota RequestAdapter that uses `http`." version: 0.0.1-pre.1 -homepage: https://github.com/kiota-community/dart_kiota/tree/main/packages/microsoft_kiota_http -repository: https://github.com/kiota-community/dart_kiota -publish_to: 'none' +homepage: https://github.com/microsoft/dart_kiota/tree/main/packages/microsoft_kiota_http +repository: https://github.com/microsoft/dart_kiota environment: sdk: '>=3.2.6 <4.0.0' diff --git a/packages/microsoft_kiota_serialization_form/pubspec.yaml b/packages/microsoft_kiota_serialization_form/pubspec.yaml index 30e494e..969750c 100644 --- a/packages/microsoft_kiota_serialization_form/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_form/pubspec.yaml @@ -1,9 +1,8 @@ name: microsoft_kiota_serialization_form description: "Provides parsing and serialization support for the `application/x-www-form-urlencoded` content type." version: 0.0.1-pre.1 -homepage: https://github.com/kiota-community/dart_kiota/tree/main/packages/microsoft_kiota_serialization_form -repository: https://github.com/kiota-community/dart_kiota -publish_to: 'none' +homepage: https://github.com/microsoft/dart_kiota/tree/main/packages/microsoft_kiota_serialization_form +repository: https://github.com/microsoft/dart_kiota environment: sdk: '>=3.2.6 <4.0.0' diff --git a/packages/microsoft_kiota_serialization_json/pubspec.yaml b/packages/microsoft_kiota_serialization_json/pubspec.yaml index b269e5a..6805cf5 100644 --- a/packages/microsoft_kiota_serialization_json/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_json/pubspec.yaml @@ -1,9 +1,8 @@ name: microsoft_kiota_serialization_json -description: Provides parsing and serialization support for the `application/json` content type. +description: "Provides parsing and serialization support for the `application/json` content type." version: 0.0.1-pre.1 -repository: https://github.com/ricardoboss/dart_kiota -homepage: https://github.com/ricardoboss/dart_kiota/tree/main/packages/microsoft_kiota_serialization_json -publish_to: 'none' +homepage: https://github.com/microsoft/dart_kiota/tree/main/packages/microsoft_kiota_serialization_json +repository: https://github.com/microsoft/dart_kiota environment: sdk: '>=3.2.6 <4.0.0' diff --git a/packages/microsoft_kiota_serialization_multipart/pubspec.yaml b/packages/microsoft_kiota_serialization_multipart/pubspec.yaml index 75e3242..2c7743a 100644 --- a/packages/microsoft_kiota_serialization_multipart/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_multipart/pubspec.yaml @@ -1,9 +1,8 @@ name: microsoft_kiota_serialization_multipart description: "Provides parsing and serialization support for the `multipart/form-data` content type." version: 0.0.1-pre.1 -homepage: https://github.com/kiota-community/dart_kiota/tree/main/packages/microsoft_kiota_serialization_multipart -repository: https://github.com/kiota-community/dart_kiota -publish_to: 'none' +homepage: https://github.com/microsoft/dart_kiota/tree/main/packages/microsoft_kiota_serialization_multipart +repository: https://github.com/microsoft/dart_kiota environment: sdk: '>=3.2.6 <4.0.0' diff --git a/packages/microsoft_kiota_serialization_text/pubspec.yaml b/packages/microsoft_kiota_serialization_text/pubspec.yaml index 1e5c1d2..0738c6a 100644 --- a/packages/microsoft_kiota_serialization_text/pubspec.yaml +++ b/packages/microsoft_kiota_serialization_text/pubspec.yaml @@ -1,9 +1,8 @@ name: microsoft_kiota_serialization_text description: "Provides parsing and serialization support for the `text/plain` content type." version: 0.0.1-pre.1 -homepage: https://github.com/kiota-community/dart_kiota/tree/main/packages/microsoft_kiota_serialization_text -repository: https://github.com/kiota-community/dart_kiota -publish_to: 'none' +homepage: https://github.com/microsoft/dart_kiota/tree/main/packages/microsoft_kiota_serialization_text +repository: https://github.com/microsoft/dart_kiota environment: sdk: '>=3.2.6 <4.0.0' diff --git a/tooling/pubspec.yaml b/tooling/pubspec.yaml index 86ddd19..e1cff2c 100644 --- a/tooling/pubspec.yaml +++ b/tooling/pubspec.yaml @@ -1,6 +1,7 @@ name: tooling -description: A sample command-line application. +description: "Tooling for the Dart Kiota packages" version: 1.0.0 +publish_to: "none" environment: sdk: ^3.4.3