Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
GitHub Sync (#711)
Browse files Browse the repository at this point in the history
* Minor pubspec updates:
- Add a version to logging dependency
- Remove deprecated authors field

Resolves warnings when publishing

PiperOrigin-RevId: 407228216

* Update charts_flutter for publishing
- Bump version
- Restore the pub-based charts_common dependency
- Address some publish warnings
- Add a minimum Flutter version of 2.5 (current stable)

Also fixes the example pubspec to indicate that it has been opted into NNBD

PiperOrigin-RevId: 407328863

Co-authored-by: Googler <noreply@google.com>
  • Loading branch information
stuartmorgan and Googler authored Nov 3, 2021
1 parent 555c9ab commit d6adb19
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
3 changes: 1 addition & 2 deletions charts_common/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: charts_common
version: 0.12.0
description: A common library for charting packages.
author: Charts Team <charts_flutter@google.com>
homepage: https://github.com/google/charts

environment:
Expand All @@ -10,7 +9,7 @@ environment:
dependencies:
collection: ^1.14.5
intl: ">=0.15.2 < 0.18.0"
logging: any
logging: ^1.0.2
meta: ^1.1.1
vector_math: ^2.0.8

Expand Down
4 changes: 3 additions & 1 deletion charts_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: example
description: Charts-Flutter Demo
environment:
sdk: '>=1.23.0 <3.0.0'
sdk: '>=2.12.0 <3.0.0'
flutter: '>=2.5.0'

dependencies:
charts_flutter:
path: ../
Expand Down
12 changes: 6 additions & 6 deletions charts_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: charts_flutter
version: 0.11.0
version: 0.12.0
description: Material Design charting library for flutter.
author: Charts Team <charts_flutter@google.com>
homepage: https://github.com/google/charts

environment:
sdk: '>=2.12.0 <3.0.0'
flutter: '>=2.5.0'

dependencies:
# Pointing this to a local path allows for pointing to the latest code
# in Github for open source development.
#
# The pub version of charts_flutter will point to the pub version of charts_common.
# The latest pub version is commented out and shown below as an example.
# charts_common: 0.12.0
charts_common:
path: ../charts_common/
charts_common: ^0.12.0
# charts_common:
# path: ../charts_common/
collection: ^1.14.5
flutter:
sdk: flutter
intl: ">=0.15.2 < 0.18.0"
logging: any
logging: ^1.0.2
meta: ^1.1.1


Expand Down

0 comments on commit d6adb19

Please sign in to comment.