-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into alestiago/remove-wear-e2e
- Loading branch information
Showing
264 changed files
with
8,507 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Every request must be reviewed and accepted by: | ||
|
||
* @VeryGoodOpenSource/codeowners | ||
* @VeryGoodOpenSource/codeowners |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,39 @@ | ||
- name: very_good_core | ||
- name: "product: very_good_core" | ||
color: "31E6FF" | ||
description: Changes that affect the Very Good Core template. | ||
aliases: [very_good_core] | ||
|
||
- name: very_good_dart_cli | ||
- name: "product: very_good_dart_cli" | ||
color: "03505A" | ||
description: Changes that affect the Very Good Dart CLI template. | ||
aliases: [very_good_dart_cli] | ||
|
||
- name: very_good_dart_package | ||
- name: "product: very_good_dart_package" | ||
color: "008799" | ||
description: Changes that affect the Very Good Dart Package template. | ||
aliases: [very_good_dart_package] | ||
|
||
- name: very_good_docs_site | ||
- name: "product: very_good_docs_site" | ||
color: "004699" | ||
description: Changes that affect the Very Good Docs Site template. | ||
aliases: [very_good_docs_site] | ||
|
||
- name: very_good_flame_game | ||
- name: "product: very_good_flame_game" | ||
color: "990900" | ||
description: Changes that affect the Very Good Flame Game template. | ||
aliases: [very_good_flame_game] | ||
|
||
- name: very_good_flutter_package | ||
- name: "product: very_good_flutter_package" | ||
color: "00C9C9" | ||
description: Changes that affect the Very Good Flutter Package template. | ||
aliases: [very_good_flutter_package] | ||
|
||
- name: very_good_wear_app | ||
- name: "product: very_good_flutter_plugin" | ||
color: "553DEC" | ||
description: Changes that affect the Very Good Flutter Plugin template. | ||
aliases: [very_good_flutter_plugin] | ||
|
||
- name: "product: very_good_wear_app" | ||
color: "1B03AD" | ||
description: Changes that affect the Very Good Wear App template. | ||
aliases: [very_good_wear_app] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: ♻️ Sync Labels | ||
|
||
on: | ||
push: | ||
paths: | ||
- .github/labels.yml | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
labels: | ||
name: ♻️ Sync labels | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: ⤵️ Check out code from GitHub | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🚀 Run Label Sync | ||
uses: srealmoreno/label-sync-action@v1 | ||
with: | ||
config-file: | | ||
.github/labels.yml | ||
https://raw.githubusercontent.com/VeryGoodOpenSource/.github/main/.github/labels.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
name: very_good_flutter_plugin | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
paths: | ||
- .github/workflows/very_good_flutter_plugin.yaml | ||
- "very_good_flutter_plugin/**" | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- .github/workflows/very_good_flutter_plugin.yaml | ||
- "very_good_flutter_plugin/**" | ||
branches: | ||
- main | ||
|
||
jobs: | ||
brick: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
flutter-version: | ||
# The version of Flutter to use should use the minimum Dart SDK version supported by the package, | ||
# refer to https://docs.flutter.dev/development/tools/sdk/releases. | ||
- "3.13.0" | ||
- "3.x" | ||
platform: | ||
- android | ||
- ios | ||
- linux | ||
- macos | ||
- web | ||
- windows | ||
|
||
steps: | ||
- name: 📚 Git Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🐦 Setup Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: ${{ matrix.flutter-version }} | ||
|
||
- name: 🧱 Mason Make | ||
run: | | ||
dart pub global activate mason_cli | ||
dart pub global activate very_good_cli | ||
rm -rf mason.yaml | ||
mason init | ||
mason add very_good_flutter_plugin --path very_good_flutter_plugin | ||
mason get | ||
mason make very_good_flutter_plugin -c very_good_flutter_plugin/config.json -o output --on-conflict overwrite --platforms ${{ matrix.platform }} | ||
- name: 📦 Install Dependencies | ||
run: very_good packages get --recursive output | ||
|
||
- name: ✨ Check Formatting | ||
if: false | ||
run: dart format --set-exit-if-changed output | ||
|
||
- name: 🕵️ Analyze | ||
if: false | ||
run: dart analyze --fatal-infos --fatal-warnings output | ||
|
||
- name: 🧪 Run Tests | ||
run: | | ||
cd output | ||
very_good test -j 4 --recursive --optimization --coverage --test-randomize-ordering-seed random | ||
- name: 📑 Combine Code Coverage | ||
run: | | ||
sudo apt-get -y install lcov | ||
very_good packages get --recursive very_good_flutter_plugin/tool/merge_coverage | ||
cd output | ||
dart run ../very_good_flutter_plugin/tool/merge_coverage/merge_coverage.dart | ||
- name: 📊 Check Code Coverage | ||
uses: VeryGoodOpenSource/very_good_coverage@v2 | ||
with: | ||
path: output/coverage/lcov.info | ||
# TODO(alestiago): Remove once the following is solved: | ||
# https://github.com/VeryGoodOpenSource/very_good_flutter_plugin/issues/158 | ||
min_coverage: 86 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.atom/ | ||
.idea/ | ||
.vscode/ | ||
|
||
.packages | ||
.pub/ | ||
.dart_tool/ | ||
pubspec.lock | ||
flutter_export_environment.sh | ||
coverage/ | ||
|
||
Podfile.lock | ||
Pods/ | ||
.symlinks/ | ||
**/Flutter/App.framework/ | ||
**/Flutter/ephemeral/ | ||
**/Flutter/Flutter.podspec | ||
**/Flutter/Flutter.framework/ | ||
**/Flutter/Generated.xcconfig | ||
**/Flutter/flutter_assets/ | ||
|
||
ServiceDefinitions.json | ||
xcuserdata/ | ||
**/DerivedData/ | ||
|
||
local.properties | ||
keystore.properties | ||
.gradle/ | ||
gradlew | ||
gradlew.bat | ||
gradle-wrapper.jar | ||
.flutter-plugins-dependencies | ||
*.iml | ||
|
||
generated_plugin_registrant.cc | ||
generated_plugin_registrant.h | ||
generated_plugin_registrant.dart | ||
GeneratedPluginRegistrant.java | ||
GeneratedPluginRegistrant.h | ||
GeneratedPluginRegistrant.m | ||
GeneratedPluginRegistrant.swift | ||
build/ | ||
.flutter-plugins | ||
|
||
.project | ||
.classpath | ||
.settings | ||
|
||
# Files and directories created by mason | ||
.mason/ | ||
mason-lock.json | ||
output/ | ||
|
||
# Files and directories created by MacOS | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# 0.6.0 | ||
|
||
- fix: flaky integrated tests | ||
- feat: upgrade to `very_good_analysis ^5.1.0` | ||
- feat: add fluttium test workflow | ||
- docs: add docs for integration tests | ||
|
||
# 0.5.0 | ||
|
||
- feat!: bump min Dart SDK to 3.0.0 | ||
|
||
# 0.4.0 | ||
|
||
- feat!: bump min Dart SDK to 2.19.0 | ||
|
||
# 0.3.3 | ||
|
||
- chore: fix generator run | ||
- fix: updated regex matching | ||
- chore: support dart sdk 2.18.0 | ||
|
||
# 0.3.2 | ||
|
||
- feat: update workflows, dependabot generation, add spellcheck | ||
- fix: integration tests | ||
- feat: use swift in iOS plugin | ||
|
||
# 0.3.1 | ||
|
||
- feat: upgrade to `very_good_analysis 4.0.0` | ||
|
||
# 0.3.0 | ||
|
||
- feat: upgrade to flutter 3.7.1 | ||
|
||
# 0.2.1 | ||
|
||
- fix: windows path resolution | ||
- feat: add ci concurrency group to workflow | ||
|
||
# 0.2.0 | ||
|
||
- **BREAKING** feat: add `publishable` flag (defaults to `false`) | ||
|
||
# 0.1.2 | ||
|
||
- docs: remove copyright header and license from generated code | ||
|
||
# 0.1.1 | ||
|
||
- feat: upgrade to Flutter 3.3.2 | ||
- feat: upgrade to very_good_analysis 3.1.0 | ||
|
||
# 0.1.0+1 | ||
|
||
- docs: minor README updates | ||
- add dependabot integration | ||
- fix broken link to very_good_analysis | ||
|
||
# 0.1.0 | ||
|
||
- feat: upgrade to Flutter 3.3.1 | ||
- feat: upgrade to very_good_analysis 3.0.2 | ||
- fix: dependabot integration | ||
|
||
# 0.0.1+1 | ||
|
||
- chore: remove duplicate images from README | ||
|
||
# 0.0.1 | ||
|
||
- feat: initial release 🎉 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 Very Good Ventures | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.