Skip to content

Commit

Permalink
Merge pull request #5 from leoafarias/chore/dependency-clean-up
Browse files Browse the repository at this point in the history
removed some dependencies and log
  • Loading branch information
leoafarias authored Apr 24, 2024
2 parents 61b85c7 + 825916b commit b1b719d
Show file tree
Hide file tree
Showing 27 changed files with 608 additions and 219 deletions.
16 changes: 9 additions & 7 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# This is a generated file; do not edit or check into version control.
file_picker=/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.1/
file_picker=/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.2/
flutter_plugin_android_lifecycle=/Users/leofarias/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.19/
integration_test=/Users/leofarias/fvm/versions/stable/packages/integration_test/
path_provider=/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider-2.1.3/
path_provider_android=/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/
path_provider_foundation=/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/
path_provider_linux=/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
path_provider_windows=/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/
screen_retriever=/Users/leofarias/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/
shared_preferences=/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences-2.2.3/
shared_preferences_android=/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.1/
shared_preferences_foundation=/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.3.5/
shared_preferences_linux=/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.3.2/
shared_preferences_web=/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_web-2.3.0/
shared_preferences_windows=/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.3.2/
sqflite=/Users/leofarias/.pub-cache/hosted/pub.dev/sqflite-2.3.3/
url_launcher=/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher-6.2.6/
url_launcher_android=/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.1/
url_launcher_ios=/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.5/
url_launcher_linux=/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_linux-3.1.1/
url_launcher_macos=/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_macos-3.1.0/
url_launcher_web=/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.1/
url_launcher_windows=/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.1/
window_manager=/Users/leofarias/.pub-cache/hosted/pub.dev/window_manager-0.3.8/
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"file_picker","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.1/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.3.5/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/sqflite-2.3.3/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"file_picker","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.1/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.19/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_android-2.2.1/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/sqflite-2.3.3/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"screen_retriever","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/","native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.3.5/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/sqflite-2.3.3/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"window_manager","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/window_manager-0.3.8/","native_build":true,"dependencies":["screen_retriever"]}],"linux":[{"name":"path_provider_linux","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]},{"name":"screen_retriever","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/","native_build":true,"dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.3.2/","native_build":false,"dependencies":["path_provider_linux"]},{"name":"window_manager","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/window_manager-0.3.8/","native_build":true,"dependencies":["screen_retriever"]}],"windows":[{"name":"path_provider_windows","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/","native_build":false,"dependencies":[]},{"name":"screen_retriever","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/","native_build":true,"dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.3.2/","native_build":false,"dependencies":["path_provider_windows"]},{"name":"window_manager","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/window_manager-0.3.8/","native_build":true,"dependencies":["screen_retriever"]}],"web":[{"name":"file_picker","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.1/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/shared_preferences_web-2.3.0/","dependencies":[]}]},"dependencyGraph":[{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"screen_retriever","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":[]},{"name":"window_manager","dependencies":["screen_retriever"]}],"date_created":"2024-04-22 22:40:55.247813","version":"3.19.5"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"file_picker","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.2/","native_build":true,"dependencies":[]},{"name":"integration_test","path":"/Users/leofarias/fvm/versions/stable/packages/integration_test/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/sqflite-2.3.3/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.5/","native_build":true,"dependencies":[]}],"android":[{"name":"file_picker","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.2/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.19/","native_build":true,"dependencies":[]},{"name":"integration_test","path":"/Users/leofarias/fvm/versions/stable/packages/integration_test/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/sqflite-2.3.3/","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.1/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_foundation","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"screen_retriever","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/sqflite-2.3.3/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_macos-3.1.0/","native_build":true,"dependencies":[]},{"name":"window_manager","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/window_manager-0.3.8/","native_build":true,"dependencies":["screen_retriever"]}],"linux":[{"name":"path_provider_linux","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]},{"name":"screen_retriever","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/","native_build":true,"dependencies":[]},{"name":"url_launcher_linux","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_linux-3.1.1/","native_build":true,"dependencies":[]},{"name":"window_manager","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/window_manager-0.3.8/","native_build":true,"dependencies":["screen_retriever"]}],"windows":[{"name":"path_provider_windows","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/","native_build":false,"dependencies":[]},{"name":"screen_retriever","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/screen_retriever-0.1.9/","native_build":true,"dependencies":[]},{"name":"url_launcher_windows","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.1/","native_build":true,"dependencies":[]},{"name":"window_manager","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/window_manager-0.3.8/","native_build":true,"dependencies":["screen_retriever"]}],"web":[{"name":"file_picker","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/file_picker-8.0.2/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/leofarias/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.1/","dependencies":[]}]},"dependencyGraph":[{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"integration_test","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"screen_retriever","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"window_manager","dependencies":["screen_retriever"]}],"date_created":"2024-04-24 12:07:07.636144","version":"3.19.6"}
9 changes: 8 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ on:
push:
branches:
- main
paths:
- "example/**"
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: FirebaseExtended/action-hosting-deploy@v0

- name: Setup Flutter
uses: subosito/flutter-action@v2

- name: Deploy Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks
with:
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
on: pull_request
on:
pull_request:
paths:
- "example/**"
permissions:
checks: write
contents: read
Expand All @@ -14,11 +17,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: FirebaseExtended/action-hosting-deploy@v0
- name: Setup Flutter
uses: subosito/flutter-action@v2

- name: Deploy Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks
with:
entryPoint: ./example
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SUPERDECK_DEV }}
expires: 30d
projectId: superdeck-dev
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Workflow

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v2

- name: Setup Flutter
uses: subosito/flutter-action@v2

- run: flutter pub get

- uses: invertase/github-action-dart-analyzer@v1
with:
fatal-infos: false

- run: flutter test
4 changes: 4 additions & 0 deletions example/linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
#include "generated_plugin_registrant.h"

#include <screen_retriever/screen_retriever_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
#include <window_manager/window_manager_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) screen_retriever_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin");
screen_retriever_plugin_register_with_registrar(screen_retriever_registrar);
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
g_autoptr(FlPluginRegistrar) window_manager_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
window_manager_plugin_register_with_registrar(window_manager_registrar);
Expand Down
1 change: 1 addition & 0 deletions example/linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

list(APPEND FLUTTER_PLUGIN_LIST
screen_retriever
url_launcher_linux
window_manager
)

Expand Down
2 changes: 2 additions & 0 deletions example/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ import path_provider_foundation
import screen_retriever
import shared_preferences_foundation
import sqflite
import url_launcher_macos
import window_manager

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
ScreenRetrieverPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin"))
}
6 changes: 6 additions & 0 deletions example/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ PODS:
- sqflite (0.0.3):
- Flutter
- FlutterMacOS
- url_launcher_macos (0.0.1):
- FlutterMacOS
- window_manager (0.2.0):
- FlutterMacOS

Expand All @@ -20,6 +22,7 @@ DEPENDENCIES:
- screen_retriever (from `Flutter/ephemeral/.symlinks/plugins/screen_retriever/macos`)
- shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`)
- sqflite (from `Flutter/ephemeral/.symlinks/plugins/sqflite/darwin`)
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
- window_manager (from `Flutter/ephemeral/.symlinks/plugins/window_manager/macos`)

EXTERNAL SOURCES:
Expand All @@ -33,6 +36,8 @@ EXTERNAL SOURCES:
:path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin
sqflite:
:path: Flutter/ephemeral/.symlinks/plugins/sqflite/darwin
url_launcher_macos:
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
window_manager:
:path: Flutter/ephemeral/.symlinks/plugins/window_manager/macos

Expand All @@ -42,6 +47,7 @@ SPEC CHECKSUMS:
screen_retriever: 59634572a57080243dd1bf715e55b6c54f241a38
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95
window_manager: 3a1844359a6295ab1e47659b1a777e36773cd6e8

PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367
Expand Down
Loading

0 comments on commit b1b719d

Please sign in to comment.