From d53636ad5306c71faf82a206d8a83f5f1db12f9a Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 16 Feb 2026 14:07:21 -0800 Subject: [PATCH] [server/google_api] Update deps and docs --- server/google_apis/README.md | 10 ++++++---- server/google_apis/pubspec.yaml | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/server/google_apis/README.md b/server/google_apis/README.md index 51379d0..f763c2a 100644 --- a/server/google_apis/README.md +++ b/server/google_apis/README.md @@ -3,12 +3,14 @@ A Dart HTTP service meant to be deployed to [Cloud Firestore](https://firebase.google.com/products/firestore) features in [package:googleapis](https://pub.dev/packages/googleapis). -- Increments a counter stored in Cloud Firestore via a transaction. +- Increments a counter stored in Cloud Firestore via an atomic increment. - Based on [package:shelf](https://pub.dev/packages/shelf). -- Includes a number of useful APIs in `lib/helpers.dart` which can be copied and - used in other projects. - Follow instructions at https://cloud.google.com/run/docs/quickstarts/build-and-deploy to build and deploy on [Cloud Run](https://cloud.google.com/run). - To deploy this demo, you will also need to enable the - [Cloud Firestore API](https://console.cloud.google.com/apis/api/firestore.googleapis.com). + [Cloud Firestore API](https://console.cloud.google.com/apis/api/firestore.googleapis.com): + + ```sh + gcloud services enable firestore.googleapis.com + ``` diff --git a/server/google_apis/pubspec.yaml b/server/google_apis/pubspec.yaml index 2249119..1c80b37 100644 --- a/server/google_apis/pubspec.yaml +++ b/server/google_apis/pubspec.yaml @@ -5,11 +5,11 @@ environment: sdk: ^3.10.0 dependencies: - google_cloud: ^0.2.0 - googleapis: ^15.0.0 + google_cloud: ^0.3.0 + googleapis: ^16.0.0 googleapis_auth: ^2.0.0 - shelf: ^1.4.2 - shelf_router: ^1.1.4 + shelf: ^1.4.0 + shelf_router: ^1.0.0 dev_dependencies: lints: ^6.0.0