Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 0 additions & 111 deletions melos.yaml

This file was deleted.

30 changes: 23 additions & 7 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ packages:
dependency: transitive
description:
name: cli_launcher
sha256: "5e7e0282b79e8642edd6510ee468ae2976d847a0a29b3916e85f5fa1bfe24005"
sha256: "17d2744fb9a254c49ec8eda582536abe714ea0131533e24389843a4256f82eac"
url: "https://pub.dev"
source: hosted
version: "0.3.1"
version: "0.3.2+1"
cli_util:
dependency: transitive
description:
Expand Down Expand Up @@ -236,10 +236,10 @@ packages:
dependency: transitive
description:
name: http
sha256: "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b"
sha256: "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.6.0"
http_parser:
dependency: transitive
description:
Expand Down Expand Up @@ -316,10 +316,10 @@ packages:
dependency: "direct dev"
description:
name: melos
sha256: "4280dc46bd5b741887cce1e67e5c1a6aaf3c22310035cf5bd33dceeeda62ed22"
sha256: ff2da25990d83b0db883eb257e4fa25eb78150a329e7bfab7a379499d0f5f6f7
url: "https://pub.dev"
source: hosted
version: "6.3.3"
version: "7.3.0"
meta:
dependency: transitive
description:
Expand All @@ -344,6 +344,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.9.1"
petitparser:
dependency: transitive
description:
name: petitparser
sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1"
url: "https://pub.dev"
source: hosted
version: "7.0.1"
platform:
dependency: transitive
description:
Expand Down Expand Up @@ -509,6 +517,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.1"
xml:
dependency: transitive
description:
name: xml
sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025"
url: "https://pub.dev"
source: hosted
version: "6.6.1"
yaml:
dependency: transitive
description:
Expand All @@ -526,5 +542,5 @@ packages:
source: hosted
version: "2.2.2"
sdks:
dart: ">=3.8.0 <4.0.0"
dart: ">=3.9.0 <4.0.0"
flutter: ">=3.27.0"
93 changes: 92 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,101 @@ dev_dependencies:
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter
melos: ^6.3.3
melos: ^7.3.0

flutter:
uses-material-design: true

assets:
- assets/icon_flutter.png

# Melos is this repository's CI/CD helper.
melos:
useRootAsPackage: true
categories:
app:
- "."

command:
bootstrap:
# It seems so that running "pub get" in parallel has some issues (like
# https://github.com/dart-lang/pub/issues/3404). Disabling this feature
# makes the CI much more stable.
runPubGetInParallel: false
usePubspecOverrides: true

scripts:
flutter-analyze:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
run: flutter analyze . --fatal-infos
exec:
concurrency: 1
description: |
Run `flutter analyze` in all packages.

format:
run: |
dart format .
description: |
Formats the code with dart format.

test:
run: flutter pub get && flutter test
exec:
concurrency: 1
failFast: true
description: Flutter test

flutter-build-android:
run: |
flutter pub get && flutter build apk && flutter build appbundle
exec:
concurrency: 1
failFast: true
description: Build the sample app for Android.

flutter-build-ios:
run: |
flutter pub get && flutter build ios --release --no-codesign
exec:
concurrency: 1
failFast: true
description: Build the sample app for iOS.

add-license-header:
# If you add here another --ignore flag, add it also to
# "check-license-header".
run: |
addlicense -f header_template.txt \
--ignore ".idea/**" \
--ignore "android/app/.cxx/**" \
--ignore "**/Pods/**" \
--ignore "**/.dart_tool/**" \
--ignore "build/**" \
--ignore "**/GeneratedPluginRegistrant.*" \
--ignore "**/flutter_export_environment.sh" \
--ignore "**/FlutterGeneratedPluginSwiftPackage/**" \
--ignore ".github/PULL_REQUEST_TEMPLATE.md" \
--ignore ".github/ISSUE_TEMPLATE/**" \
.
description: Add a license header to all necessary files.

check-license-header:
# If you add here another --ignore flag, add it also to
# "add-license-header".
run: |
addlicense -f header_template.txt \
--check \
--ignore ".idea/**" \
--ignore "android/app/.cxx/**" \
--ignore "**/Pods/**" \
--ignore "**/.dart_tool/**" \
--ignore "build/**" \
--ignore "**/GeneratedPluginRegistrant.*" \
--ignore "**/flutter_export_environment.sh" \
--ignore "**/FlutterGeneratedPluginSwiftPackage/**" \
--ignore ".github/PULL_REQUEST_TEMPLATE.md" \
--ignore ".github/ISSUE_TEMPLATE/**" \
.
description: Add a license header to all necessary files.
Loading