Skip to content

Commit

Permalink
refactor: removed ml folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolantean committed Sep 25, 2024
1 parent a329cf0 commit 2570525
Show file tree
Hide file tree
Showing 588 changed files with 31,563 additions and 14,993 deletions.
4 changes: 4 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"flutter": "3.22.1",
"flavors": {}
}
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.freezed.dart linguist-generated=true
*.g.dart linguist-generated=true
*.gr.dart linguist-generated=true
pubspec.lock linguist-generated=true
Gemfile.lock linguist-generated=true
46 changes: 46 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Support for pub is in beta, and thus, we are aware of some limitations. For example, security updates are not supported in this release but will be in the future.
#
# Other known limitations:
#
# - No support for updating git-dependencies
# - If the version found is ignored (by dependabot config) no update will happen (even if, an earlier version could be used)
# - No support for private package repositories

version: 2
enable-beta-ecosystems: true
updates:
- package-ecosystem: 'pub'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
commit-message:
prefix: 'chore: '
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
commit-message:
prefix: 'chore: '
- package-ecosystem: 'bundler'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
commit-message:
prefix: 'chore: '
- package-ecosystem: 'bundler'
directory: '/ios/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
commit-message:
prefix: 'chore: '
- package-ecosystem: 'bundler'
directory: '/android/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
commit-message:
prefix: 'chore: '
4 changes: 4 additions & 0 deletions .github/hooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

printf "\e[33;1m%s\e[0m\n" 'Running the Pre-push checks'
./scripts/checks.sh
15 changes: 15 additions & 0 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"LABEL": {
"name": "Title needs formatting",
"color": "EEEEEE"
},
"CHECKS": {
"prefixes": ["fix: ", "feat: ", "docs: ", "refactor: ", "test: ", "chore: "],
"ignoreLabels" : ["meta"]
},
"MESSAGES": {
"success": "All OK",
"failure": "Failing CI test",
"notice": ""
}
}
55 changes: 55 additions & 0 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Flutter CI
on:
pull_request:
push:
branches:
- main

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- uses: dart-lang/[email protected]
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Cache FVM & Flutter
uses: actions/cache@v3
with:
path: /home/runner/fvm/versions/
key: ${{ runner.os }}-${{ hashFiles('**/fvm_config.json') }}
- name: Cache pub cache
uses: actions/cache@v3
with:
path: /home/runner/.pub-cache/
key: ${{ runner.os }}-pub-cache
- name: Install FVM && Flutter
run: dart pub global activate fvm --verbose && fvm install --verbose && fvm use --force --verbose
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Activate arb_utils
run: |
dart pub global activate arb_utils 0.8.1
- name: Get dependencies
uses: maierj/[email protected]
with:
lane: 'fetch_dependencies'
- name: 'Run lints'
uses: maierj/[email protected]
with:
lane: 'lints'
- name: 'Check generated code'
uses: maierj/[email protected]
with:
lane: 'ensure_no_change_in_generated_code'
- name: 'Run tests'
uses: maierj/[email protected]
with:
lane: 'tests'
19 changes: 19 additions & 0 deletions .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "PR Title Checker"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: thehanimo/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
configuration_path: ".github/pr-title-checker-config.json"
54 changes: 52 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,66 @@
*.swp
.DS_Store
.atom/
build/
.buildlog/
.history
.svn/
migrate_working_dir/

# Mason
.mason/
mason-lock.json

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/*
android/.idea
!.idea/runConfigurations/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
.vscode/settings.json

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

# Environment files
*.env
*.env.default

# Fvm
.fvm/

# fastlane specific
**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output
.bundle/
vendor/bundle/

#intl
l10n_errors
11 changes: 11 additions & 0 deletions .idea/runConfigurations/main_dev.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/runConfigurations/main_prod.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/runConfigurations/main_staging.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: "a14f74ff3a1cbd521163c5f03d68113d50af93d3"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
- platform: web
create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3
base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.2
51 changes: 51 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ClientApp Staging",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": [
"--flavor=staging",
"--dart-define=ENV=staging"
]
},
{
"name": "ClientApp Production",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": [
"--flavor=production",
"--dart-define=ENV=production"
]
},
{
"name": "ClientApp (profile mode)",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": [
"--profile",
"--flavor=staging",
"--dart-define=ENV=staging",
],
},
{
"name": "ClientApp (release mode)",
"request": "launch",
"type": "dart",
"flutterMode": "release"
},
{
"name": "Integration Test",
"program": "integration_test/",
"request": "launch",
"type": "dart"
}
]
}
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source "https://rubygems.org"

gem "fastlane"
gem 'fastlane-plugin-flutter_version'
gem 'cocoapods'

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
Loading

0 comments on commit 2570525

Please sign in to comment.