From a64bfb71d818f54a0391f40b3e0592ab43d3b1bc Mon Sep 17 00:00:00 2001 From: Adrian Date: Mon, 18 Aug 2025 18:50:18 +0100 Subject: [PATCH 01/36] docs: add release instructions --- .github/workflows/publish.yml | 62 +++++++++++++++++++++++++++++++++++ RELEASING.md | 13 ++++++++ 2 files changed, 75 insertions(+) create mode 100644 .github/workflows/publish.yml create mode 100644 RELEASING.md diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..0b3e406 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,62 @@ +name: Publish to pub.dev + +on: + push: + tags: + - 'v*.*.*' + +jobs: + publish: + runs-on: ubuntu-latest + container: + image: dart:latest + + steps: + - uses: actions/checkout@v4 + + - name: Run tests for morphy + working-directory: morphy + run: | + dart pub get + dart pub run build_runner build --delete-conflicting-outputs + dart pub run test + + - name: Run tests for example + working-directory: example + run: | + dart pub get + dart pub run build_runner build --delete-conflicting-outputs + dart pub run test + + - name: Authenticate with pub.dev + env: + PUB_TOKEN: ${{ secrets.PUB_TOKEN }} + run: | + echo "$PUB_TOKEN" | dart pub token add https://pub.dev + + - name: Install jq + run: | + apt-get update && apt-get install -y jq + + - name: Ensure versions are bumped + run: | + for pkg in morphy_annotation morphy; do + local_ver=$(grep '^version:' "$pkg/pubspec.yaml" | awk '{print $2}') + remote_ver=$(curl -sS "https://pub.dev/api/packages/$pkg" | jq -r '.latest.version') + if [ "$local_ver" = "$remote_ver" ]; then + echo "::error file=$pkg/pubspec.yaml::Version $local_ver already published on pub.dev" + exit 1 + fi + done + + - name: Dry run publish morphy_annotation + run: dart pub publish --dry-run --directory=morphy_annotation + + - name: Publish morphy_annotation + run: dart pub publish --force --directory=morphy_annotation + + - name: Dry run publish morphy + run: dart pub publish --dry-run --directory=morphy + + - name: Publish morphy + run: dart pub publish --force --directory=morphy diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..4a52a26 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,13 @@ +# Releasing + +This project publishes `morphy` and `morphy_annotation` to pub.dev using a GitHub Actions workflow triggered by tags. + +1. Update the `version` fields in both `morphy/pubspec.yaml` and `morphy_annotation/pubspec.yaml`. +2. Commit and push the changes. +3. Tag the commit with the new version and push the tag, e.g.: + ```bash + git tag -a v1.4.1 -m "Release v1.4.1" + git push origin v1.4.1 + ``` +4. The `publish.yml` workflow will run tests and publish both packages automatically. +5. Check the Actions tab to confirm the release succeeded. From 2a29b0a0cd68e8b56601a2caa9911381d8b521d8 Mon Sep 17 00:00:00 2001 From: Adrian Date: Tue, 19 Aug 2025 08:31:37 +0100 Subject: [PATCH 02/36] chore: automate tests and releases --- .github/workflows/dart.yml | 17 ++++++++++------- .github/workflows/publish.yml | 17 +++++++++-------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 3684db2..99f4424 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -4,28 +4,31 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - container: - image: dart:latest - steps: - uses: actions/checkout@v4 + + - uses: dart-lang/setup-dart@v1 + with: + sdk: stable + - name: Setup morphy working-directory: ./morphy - run: | + run: | dart pub get dart pub run build_runner build --delete-conflicting-outputs + - name: Run tests morphy working-directory: ./morphy run: dart pub run test + - name: Setup example working-directory: ./example - run: | + run: | dart pub get dart pub run build_runner build --delete-conflicting-outputs + - name: Run tests Example working-directory: ./example run: dart pub run test - diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0b3e406..d19d2e3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,12 +8,17 @@ on: jobs: publish: runs-on: ubuntu-latest - container: - image: dart:latest steps: - uses: actions/checkout@v4 + - uses: dart-lang/setup-dart@v1 + with: + sdk: stable + + - name: Install jq + run: sudo apt-get update && sudo apt-get install -y jq + - name: Run tests for morphy working-directory: morphy run: | @@ -25,18 +30,14 @@ jobs: working-directory: example run: | dart pub get + dart pub run build_runner clean dart pub run build_runner build --delete-conflicting-outputs dart pub run test - name: Authenticate with pub.dev env: PUB_TOKEN: ${{ secrets.PUB_TOKEN }} - run: | - echo "$PUB_TOKEN" | dart pub token add https://pub.dev - - - name: Install jq - run: | - apt-get update && apt-get install -y jq + run: echo "$PUB_TOKEN" | dart pub token add https://pub.dev - name: Ensure versions are bumped run: | From 5128565011773838304d0f408f86ba6f2c9c4583 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 08:34:41 +0100 Subject: [PATCH 03/36] updated versions --- morphy/pubspec.yaml | 2 +- morphy_annotation/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 56e0e3d..55fae16 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -1,6 +1,6 @@ name: morphy description: Provides a clean class definition with extra functionality including; copy with, json serializable, tostring, equals that supports inheritance and polymorphism -version: 1.4.2 +version: 1.4.2+1 homepage: https://github.com/atreeon/morphy environment: diff --git a/morphy_annotation/pubspec.yaml b/morphy_annotation/pubspec.yaml index c64bfd2..116497f 100644 --- a/morphy_annotation/pubspec.yaml +++ b/morphy_annotation/pubspec.yaml @@ -1,6 +1,6 @@ name: morphy_annotation description: annotation for morphy which provides a clean class definition with extra functionality including; copy with, json serializable, tostring, equals that supports inheritance and polymorphism -version: 1.4.2 +version: 1.4.2+1 homepage: https://github.com/atreeon/morphy environment: From 6fa709f2547d7b959828f31abea02e5f50e72439 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 08:35:48 +0100 Subject: [PATCH 04/36] don't run tests on push, only pull request --- .github/workflows/dart.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 99f4424..40fb898 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -1,6 +1,7 @@ name: Dart CI -on: [push] +on: + pull_request: jobs: build: From abd6a229e192321c0281b0d1bc4614b23379721d Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 08:37:19 +0100 Subject: [PATCH 05/36] no need to dry publish the annotation --- .github/workflows/publish.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d19d2e3..697f2f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,9 +50,6 @@ jobs: fi done - - name: Dry run publish morphy_annotation - run: dart pub publish --dry-run --directory=morphy_annotation - - name: Publish morphy_annotation run: dart pub publish --force --directory=morphy_annotation From 65a47905afb281cff0a1d43b312a3eaf3220fad0 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 08:53:18 +0100 Subject: [PATCH 06/36] possible errors in the dart.yml github action file --- .github/workflows/dart.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 40fb898..539ea13 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -14,22 +14,27 @@ jobs: with: sdk: stable + - name: Setup annotation + working-directory: morphy_annotation + run: | + dart pub get + - name: Setup morphy - working-directory: ./morphy + working-directory: morphy run: | dart pub get dart pub run build_runner build --delete-conflicting-outputs - name: Run tests morphy - working-directory: ./morphy + working-directory: morphy run: dart pub run test - name: Setup example - working-directory: ./example + working-directory: example run: | dart pub get dart pub run build_runner build --delete-conflicting-outputs - name: Run tests Example - working-directory: ./example + working-directory: example run: dart pub run test From d24d23040e4eb0c11946bac369102df90dd49dd5 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:00:14 +0100 Subject: [PATCH 07/36] sdk version not found --- .github/workflows/dart.yml | 3 ++- .github/workflows/publish.yml | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 539ea13..cfa15a3 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -12,7 +12,8 @@ jobs: - uses: dart-lang/setup-dart@v1 with: - sdk: stable + sdk: "3.8.3" +# sdk: stable - name: Setup annotation working-directory: morphy_annotation diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 697f2f8..8f3f73a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,8 +14,7 @@ jobs: - uses: dart-lang/setup-dart@v1 with: - sdk: stable - + sdk: "3.8.3" - name: Install jq run: sudo apt-get update && sudo apt-get install -y jq From 1defea73917e426596cb35562548d96e8bc5b0c8 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:02:14 +0100 Subject: [PATCH 08/36] sdk: "3.8.2" --- .github/workflows/dart.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index cfa15a3..3e99a96 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -12,7 +12,7 @@ jobs: - uses: dart-lang/setup-dart@v1 with: - sdk: "3.8.3" + sdk: "3.8.2" # sdk: stable - name: Setup annotation diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f3f73a..f89579d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - uses: dart-lang/setup-dart@v1 with: - sdk: "3.8.3" + sdk: "3.8.2" - name: Install jq run: sudo apt-get update && sudo apt-get install -y jq From 72c48402ffee4988d7e473be8141e2ea27239e06 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:06:22 +0100 Subject: [PATCH 09/36] trying to setup using flutter instead --- .github/workflows/dart.yml | 13 ++++++++++--- .github/workflows/publish.yml | 10 ++++++++-- morphy/pubspec.yaml | 1 + 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 3e99a96..c5e48b5 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -10,10 +10,17 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@v1 + - name: Set up Flutter (macos) + uses: subosito/flutter-action@v2 with: - sdk: "3.8.2" -# sdk: stable + channel: stable #change this if we are a litte bit behind or have a custom version + flutter-version-file: morphy/pubspec.yaml + + +# - uses: dart-lang/setup-dart@v1 +# with: +# sdk: "3.8.2" +## sdk: stable - name: Setup annotation working-directory: morphy_annotation diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f89579d..0f0d3cb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,9 +12,15 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@v1 + - name: Set up Flutter (macos) + uses: subosito/flutter-action@v2 with: - sdk: "3.8.2" + channel: stable #change this if we are a litte bit behind or have a custom version + flutter-version-file: taskoptimistflutter/pubspec.yaml +# +# - uses: dart-lang/setup-dart@v1 +# with: +# sdk: "3.8.2" - name: Install jq run: sudo apt-get update && sudo apt-get install -y jq diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 55fae16..53f4bfb 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -5,6 +5,7 @@ homepage: https://github.com/atreeon/morphy environment: sdk: ">=3.8.0 <4.0.0" + flutter: 3.35.1 #dependency_overrides: # morphy_annotation: From 69bb41ca36e9f762c69605248f63d9e98bb839bb Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:09:13 +0100 Subject: [PATCH 10/36] clutching at straws! --- .github/workflows/dart.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index c5e48b5..24a3a83 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -27,6 +27,9 @@ jobs: run: | dart pub get + - name: Clean stale tool state + run: rm -rf .dart_tool/build .dart_tool/test .dart_tool/package_config.json + - name: Setup morphy working-directory: morphy run: | @@ -37,6 +40,9 @@ jobs: working-directory: morphy run: dart pub run test + - name: Clean stale tool state + run: rm -rf .dart_tool/build .dart_tool/test .dart_tool/package_config.json + - name: Setup example working-directory: example run: | From 50114ad079fe86878f74960bb2d747cf4bd4f4f2 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:16:27 +0100 Subject: [PATCH 11/36] clutching at straws x2! --- .github/workflows/dart.yml | 24 +++++++++--------------- morphy/pubspec.yaml | 1 - 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 24a3a83..7153985 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -10,12 +10,9 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Flutter (macos) - uses: subosito/flutter-action@v2 + - uses: dart-lang/setup-dart@v1 with: - channel: stable #change this if we are a litte bit behind or have a custom version - flutter-version-file: morphy/pubspec.yaml - + sdk: "3.5.3" # pick the exact version you want # - uses: dart-lang/setup-dart@v1 # with: @@ -27,28 +24,25 @@ jobs: run: | dart pub get - - name: Clean stale tool state - run: rm -rf .dart_tool/build .dart_tool/test .dart_tool/package_config.json - +# - name: Clean stale tool state +# run: rm -rf .dart_tool/build .dart_tool/test .dart_tool/package_config.json +# - name: Setup morphy working-directory: morphy run: | dart pub get - dart pub run build_runner build --delete-conflicting-outputs + dart run build_runner build - name: Run tests morphy working-directory: morphy - run: dart pub run test - - - name: Clean stale tool state - run: rm -rf .dart_tool/build .dart_tool/test .dart_tool/package_config.json + run: dart test - name: Setup example working-directory: example run: | dart pub get - dart pub run build_runner build --delete-conflicting-outputs + dart run build_runner build --delete-conflicting-outputs - name: Run tests Example working-directory: example - run: dart pub run test + run: dart test diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 53f4bfb..55fae16 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -5,7 +5,6 @@ homepage: https://github.com/atreeon/morphy environment: sdk: ">=3.8.0 <4.0.0" - flutter: 3.35.1 #dependency_overrides: # morphy_annotation: From 46ac426fc31784e2b08cadfaa4600c0819ac906a Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:18:30 +0100 Subject: [PATCH 12/36] clutching at straws x3! --- .github/workflows/dart.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 7153985..bce106a 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -12,7 +12,7 @@ jobs: - uses: dart-lang/setup-dart@v1 with: - sdk: "3.5.3" # pick the exact version you want + sdk: "3.8.3" # pick the exact version you want # - uses: dart-lang/setup-dart@v1 # with: @@ -31,7 +31,7 @@ jobs: working-directory: morphy run: | dart pub get - dart run build_runner build + dart run build_runner build --delete-conflicting-outputs - name: Run tests morphy working-directory: morphy From dad9af9cd2b485b298138817818513b36a890412 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:26:50 +0100 Subject: [PATCH 13/36] clutching at straws x4! --- morphy/pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 55fae16..4009207 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -24,5 +24,5 @@ dependencies: quiver: ^3.2.1 dev_dependencies: - build_runner: ^2.4.6 - test: ^1.24.8 + build_runner: ^2.7.0 + test: ^1.26.3 From 0f4259bf71462ef7a7c9dc2b37b73fcd49bdc6a9 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:30:24 +0100 Subject: [PATCH 14/36] clutching at straws x5! --- .github/workflows/dart.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index bce106a..aec1358 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -21,19 +21,20 @@ jobs: - name: Setup annotation working-directory: morphy_annotation - run: | - dart pub get + run: dart pub get # - name: Clean stale tool state # run: rm -rf .dart_tool/build .dart_tool/test .dart_tool/package_config.json # - - name: Setup morphy + - name: Morphy get working-directory: morphy - run: | - dart pub get - dart run build_runner build --delete-conflicting-outputs + run: dart pub get + + - name: Morphy build + working-directory: morphy + run: dart run build_runner build --delete-conflicting-outputs - - name: Run tests morphy + - name: Morphy test working-directory: morphy run: dart test From 3dc9d6c6d0350286379413516102cf6eb2a26c4f Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 09:32:02 +0100 Subject: [PATCH 15/36] removed the build file entirely from morphy pubspec and the dart.yml --- .github/workflows/dart.yml | 4 ---- morphy/pubspec.yaml | 1 - 2 files changed, 5 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index aec1358..16c0351 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -30,10 +30,6 @@ jobs: working-directory: morphy run: dart pub get - - name: Morphy build - working-directory: morphy - run: dart run build_runner build --delete-conflicting-outputs - - name: Morphy test working-directory: morphy run: dart test diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 4009207..4c94765 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -24,5 +24,4 @@ dependencies: quiver: ^3.2.1 dev_dependencies: - build_runner: ^2.7.0 test: ^1.26.3 From 3e1c0e9a19c01b0ccd8d1a65181ad1c25da4fec6 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 10:03:58 +0100 Subject: [PATCH 16/36] final straw clutch --- .github/workflows/dart.yml | 5 +++++ example/pubspec.yaml | 1 - morphy/CHANGELOG.md | 3 +++ morphy/pubspec.yaml | 3 +++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 16c0351..cb1faf1 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -14,6 +14,11 @@ jobs: with: sdk: "3.8.3" # pick the exact version you want + - run: | + dart --version + echo "DART_HOME: $DART_HOME" + ls -l "$DART_HOME/bin/snapshots" || true + # - uses: dart-lang/setup-dart@v1 # with: # sdk: "3.8.2" diff --git a/example/pubspec.yaml b/example/pubspec.yaml index c0ae20f..c281ece 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -8,7 +8,6 @@ dependency_overrides: path: ../morphy_annotation dependencies: - meta: any morphy_annotation: path: ../morphy_annotation diff --git a/morphy/CHANGELOG.md b/morphy/CHANGELOG.md index be9a001..dc22db5 100644 --- a/morphy/CHANGELOG.md +++ b/morphy/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.4.2+1 +- added an improved CI script + ## 1.4.2 - Use build 3.0.0-dev. - Use source_gen 3.0.0-dev. diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 4c94765..0f69554 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -11,6 +11,9 @@ environment: # path: ../morphy_annotation dependencies: +# morphy_annotation: ^1.4.2 + +# path: ../morphy_annotation # morphy_annotation: # git: # url: https://github.com/atreeon/morphy.git From 8e625958351dcfeb293ef2332f4a12d5172f8914 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 10:07:38 +0100 Subject: [PATCH 17/36] final straw clutch x1 --- .github/workflows/dart.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index cb1faf1..3a11909 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -12,7 +12,7 @@ jobs: - uses: dart-lang/setup-dart@v1 with: - sdk: "3.8.3" # pick the exact version you want + sdk: "3.8.2" # pick the exact version you want - run: | dart --version From 525d800fe8cdcd673f03579d56dbeed65d1e5db9 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 10:08:40 +0100 Subject: [PATCH 18/36] final straw clutch x2 --- .github/workflows/dart.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 3a11909..c5755da 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -14,6 +14,17 @@ jobs: with: sdk: "3.8.2" # pick the exact version you want + - name: Provide frontend_server snapshot for Dart 3.8.x + run: | + set -e + echo "DART_HOME: $DART_HOME" + # Grab a small Flutter to borrow the snapshot from (linux-x64) + curl -L https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.3-stable.tar.xz | tar -xJ + mkdir -p "$DART_HOME/bin/snapshots" + ln -sf "$PWD/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot" \ + "$DART_HOME/bin/snapshots/frontend_server.dart.snapshot" + ls -l "$DART_HOME/bin/snapshots" + - run: | dart --version echo "DART_HOME: $DART_HOME" From 922d2b582af10a2ad5d30597100b3b4292326767 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 10:09:54 +0100 Subject: [PATCH 19/36] final straw clutch x3 --- .github/workflows/dart.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index c5755da..7b764e2 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -5,7 +5,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: macos-latest steps: - uses: actions/checkout@v4 @@ -14,16 +14,16 @@ jobs: with: sdk: "3.8.2" # pick the exact version you want - - name: Provide frontend_server snapshot for Dart 3.8.x - run: | - set -e - echo "DART_HOME: $DART_HOME" - # Grab a small Flutter to borrow the snapshot from (linux-x64) - curl -L https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.3-stable.tar.xz | tar -xJ - mkdir -p "$DART_HOME/bin/snapshots" - ln -sf "$PWD/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot" \ - "$DART_HOME/bin/snapshots/frontend_server.dart.snapshot" - ls -l "$DART_HOME/bin/snapshots" +# - name: Provide frontend_server snapshot for Dart 3.8.x +# run: | +# set -e +# echo "DART_HOME: $DART_HOME" +# # Grab a small Flutter to borrow the snapshot from (linux-x64) +# curl -L https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.3-stable.tar.xz | tar -xJ +# mkdir -p "$DART_HOME/bin/snapshots" +# ln -sf "$PWD/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot" \ +# "$DART_HOME/bin/snapshots/frontend_server.dart.snapshot" +# ls -l "$DART_HOME/bin/snapshots" - run: | dart --version From 866fbe44c17bff5beefb04d0238fb06a793916a6 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 10:15:24 +0100 Subject: [PATCH 20/36] final straw clutch x4 --- .github/workflows/dart.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 7b764e2..1d9387b 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -12,7 +12,7 @@ jobs: - uses: dart-lang/setup-dart@v1 with: - sdk: "3.8.2" # pick the exact version you want + sdk: "3.8.0" # pick the exact version you want # - name: Provide frontend_server snapshot for Dart 3.8.x # run: | From 358a8e0a71cf18e6b5fe74aa3f9f4a32f53cd457 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 12:29:13 +0100 Subject: [PATCH 21/36] final straw clutch x5 --- .github/workflows/dart.yml | 114 +++++++++++++++++++++---------------- 1 file changed, 64 insertions(+), 50 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 1d9387b..4531473 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -1,61 +1,75 @@ -name: Dart CI +name: Build on: + push: + branches: [ master ] pull_request: +# schedule: +# - cron: "0 10 * * *" jobs: - build: - runs-on: macos-latest + morphy-ci: + runs-on: ubuntu-latest + + strategy: + matrix: + package: + - morphy + - morphy_annotation + - example + channel: [ stable ] + dependencies: [ get, downgrade ] + exclude: + - channel: stable + dependencies: downgrade steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - uses: dart-lang/setup-dart@v1 + # Use Flutter SDK (brings its own Dart + frontend_server) + - uses: subosito/flutter-action@v2 with: - sdk: "3.8.0" # pick the exact version you want - -# - name: Provide frontend_server snapshot for Dart 3.8.x -# run: | -# set -e -# echo "DART_HOME: $DART_HOME" -# # Grab a small Flutter to borrow the snapshot from (linux-x64) -# curl -L https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.3-stable.tar.xz | tar -xJ -# mkdir -p "$DART_HOME/bin/snapshots" -# ln -sf "$PWD/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot" \ -# "$DART_HOME/bin/snapshots/frontend_server.dart.snapshot" -# ls -l "$DART_HOME/bin/snapshots" - - - run: | - dart --version - echo "DART_HOME: $DART_HOME" - ls -l "$DART_HOME/bin/snapshots" || true - -# - uses: dart-lang/setup-dart@v1 -# with: -# sdk: "3.8.2" -## sdk: stable - - - name: Setup annotation - working-directory: morphy_annotation - run: dart pub get - -# - name: Clean stale tool state -# run: rm -rf .dart_tool/build .dart_tool/test .dart_tool/package_config.json -# - - name: Morphy get - working-directory: morphy - run: dart pub get - - - name: Morphy test - working-directory: morphy - run: dart test - - - name: Setup example - working-directory: example + channel: ${{ matrix.channel }} + cache: ${{ matrix.channel == 'stable' }} + + # (optional) remove example folder inside packages that don't need it; not + # necessary in your layout, but keeping parity with freezed pattern: + # - name: Removing example folder + # if: matrix.package != 'example' + # run: rm -rf example + # working-directory: ${{ matrix.package }} + + - name: Install dependencies + run: flutter pub ${{ matrix.dependencies }} + working-directory: ${{ matrix.package }} + + # Check formatting on stable (optional) + - name: Check format + if: matrix.channel == 'stable' + run: dart format --set-exit-if-changed . + working-directory: ${{ matrix.package }} + + # Run codegen only if build_runner is declared (same trick as freezed) + - name: Generate (build_runner) run: | - dart pub get - dart run build_runner build --delete-conflicting-outputs + if grep -q build_runner "pubspec.yaml"; then + dart pub run build_runner build --delete-conflicting-outputs + fi + working-directory: ${{ matrix.package }} + + # Analyze with Flutter’s analyzer (works for Dart & Flutter pkgs) + - name: Analyze + run: flutter analyze + working-directory: ${{ matrix.package }} - - name: Run tests Example - working-directory: example - run: dart test + # Choose test runner: + # - use flutter test for the Flutter example + # - use dart test for pure Dart packages + - name: Test + run: | + if grep -q "^name: example$" "pubspec.yaml"; then + flutter test -r expanded + else + dart test -r expanded + fi + working-directory: ${{ matrix.package }} From f7defd098e5eebf2602bb630d01001378752e12d Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 12:32:06 +0100 Subject: [PATCH 22/36] final straw clutch x5 --- .github/workflows/dart.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 4531473..27a7b61 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -43,13 +43,13 @@ jobs: run: flutter pub ${{ matrix.dependencies }} working-directory: ${{ matrix.package }} - # Check formatting on stable (optional) - - name: Check format - if: matrix.channel == 'stable' - run: dart format --set-exit-if-changed . - working-directory: ${{ matrix.package }} +# # Check formatting on stable (optional) +# - name: Check format +# if: matrix.channel == 'stable' +# run: dart format --set-exit-if-changed . +# working-directory: ${{ matrix.package }} - # Run codegen only if build_runner is declared (same trick as freezed) + # Run codegen only if build_runner is declared - name: Generate (build_runner) run: | if grep -q build_runner "pubspec.yaml"; then From 93ad3d512c3318960cf92be8cbf28ca93e813490 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 12:44:45 +0100 Subject: [PATCH 23/36] added dummy test to annotation --- morphy_annotation/pubspec.yaml | 1 + morphy_annotation/test/sample_test.dart | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 morphy_annotation/test/sample_test.dart diff --git a/morphy_annotation/pubspec.yaml b/morphy_annotation/pubspec.yaml index 116497f..a0ceaf8 100644 --- a/morphy_annotation/pubspec.yaml +++ b/morphy_annotation/pubspec.yaml @@ -11,6 +11,7 @@ dependencies: dartx: ^1.2.0 json_annotation: ^4.7.0 quiver: ^3.0.1 + test: ^1.26.3 diff --git a/morphy_annotation/test/sample_test.dart b/morphy_annotation/test/sample_test.dart new file mode 100644 index 0000000..cd8ec67 --- /dev/null +++ b/morphy_annotation/test/sample_test.dart @@ -0,0 +1,9 @@ +import 'package:test/test.dart'; + +void main() { + group("sample_test", () { + test("0 a", () { + expect(true, true); + }); + }); +} From da2a10ecbcd3998ef441a69d99f971d20c92eaf6 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 12:51:15 +0100 Subject: [PATCH 24/36] removed analyzer --- .github/workflows/dart.yml | 8 ++++---- morphy/lib/src/MorphyGenerator.dart | 4 ++-- morphy/lib/src/common/GeneratorForAnnotationX.dart | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 27a7b61..3aed19b 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -57,10 +57,10 @@ jobs: fi working-directory: ${{ matrix.package }} - # Analyze with Flutter’s analyzer (works for Dart & Flutter pkgs) - - name: Analyze - run: flutter analyze - working-directory: ${{ matrix.package }} +# # Analyze with Flutter’s analyzer (works for Dart & Flutter pkgs) +# - name: Analyze +# run: flutter analyze +# working-directory: ${{ matrix.package }} # Choose test runner: # - use flutter test for the Flutter example diff --git a/morphy/lib/src/MorphyGenerator.dart b/morphy/lib/src/MorphyGenerator.dart index f212fd2..05c8e6e 100644 --- a/morphy/lib/src/MorphyGenerator.dart +++ b/morphy/lib/src/MorphyGenerator.dart @@ -90,7 +90,7 @@ class MorphyGenerator extends GeneratorForAnnotationX NameType(x.name3!, x.bound?.getDisplayString(withNullability: true))).toList(), + (el as TypeParameterizedElement2).typeParameters2.map((TypeParameterElement2 x) => NameType(x.name3!, x.bound?.getDisplayString())).toList(), getAllFields(el.allSupertypes, el).where((x) => x.name != 'hashCode').toList(), true, ); @@ -111,7 +111,7 @@ class MorphyGenerator extends GeneratorForAnnotationX NameType(p.name3!, p.bound?.getDisplayString(withNullability: true))).toList(), + tparams.map((TypeParameterElement2 p) => NameType(p.name3!, p.bound?.getDisplayString())).toList(), getAllFields(cls.allSupertypes, cls).where((x) => x.name != 'hashCode').toList(), ); }) diff --git a/morphy/lib/src/common/GeneratorForAnnotationX.dart b/morphy/lib/src/common/GeneratorForAnnotationX.dart index 11683bc..1139fb6 100644 --- a/morphy/lib/src/common/GeneratorForAnnotationX.dart +++ b/morphy/lib/src/common/GeneratorForAnnotationX.dart @@ -36,7 +36,7 @@ import 'package:source_gen/src/output_helpers.dart'; abstract class GeneratorForAnnotationX extends Generator { const GeneratorForAnnotationX(); - TypeChecker get typeChecker => TypeChecker.fromRuntime(T); + TypeChecker get typeChecker => TypeChecker.typeNamed(T); @override FutureOr generate(LibraryReader library, BuildStep buildStep) async { From d0f2b9a5f9ff1c02a490731dec9725ed8e2fee5c Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 12:56:29 +0100 Subject: [PATCH 25/36] warm up added to dart.yml --- .github/workflows/dart.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 3aed19b..26f26ad 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -32,6 +32,12 @@ jobs: channel: ${{ matrix.channel }} cache: ${{ matrix.channel == 'stable' }} + # warm the cache so snapshots exist + - name: Warm Flutter cache + run: | + flutter --version + flutter precache --universal + # (optional) remove example folder inside packages that don't need it; not # necessary in your layout, but keeping parity with freezed pattern: # - name: Removing example folder From d6a5c793d19dda912798bd4760917a99d8adf3b1 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 13:03:40 +0100 Subject: [PATCH 26/36] updated test version --- example/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index c281ece..e7fcf33 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -15,7 +15,7 @@ dev_dependencies: morphy: path: ../morphy build_runner: ^2.4.6 - test: ^1.24.8 + test: ^1.26.3 json_serializable: ^6.10.0 json_annotation: ^4.9.0 From 214e78117a9c53225bfdb17c3a416f6d918d863b Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 13:07:20 +0100 Subject: [PATCH 27/36] downgraded test version --- example/pubspec.yaml | 2 +- morphy/pubspec.yaml | 2 +- morphy_annotation/pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index e7fcf33..c281ece 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -15,7 +15,7 @@ dev_dependencies: morphy: path: ../morphy build_runner: ^2.4.6 - test: ^1.26.3 + test: ^1.24.8 json_serializable: ^6.10.0 json_annotation: ^4.9.0 diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 0f69554..85ed6eb 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -27,4 +27,4 @@ dependencies: quiver: ^3.2.1 dev_dependencies: - test: ^1.26.3 + test: ^1.24.8 diff --git a/morphy_annotation/pubspec.yaml b/morphy_annotation/pubspec.yaml index a0ceaf8..c76039a 100644 --- a/morphy_annotation/pubspec.yaml +++ b/morphy_annotation/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: dartx: ^1.2.0 json_annotation: ^4.7.0 quiver: ^3.0.1 - test: ^1.26.3 + test: ^1.24.8 From 1e26c5adfeb8104eab14a24a02c439ec911eebfd Mon Sep 17 00:00:00 2001 From: adrianhill Date: Tue, 19 Aug 2025 13:19:29 +0100 Subject: [PATCH 28/36] last throw of dice --- example/pubspec.yaml | 7 ++++--- morphy/pubspec.yaml | 25 +++++++++++++------------ morphy_annotation/pubspec.yaml | 8 ++++---- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index c281ece..1e531c9 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -14,8 +14,9 @@ dependencies: dev_dependencies: morphy: path: ../morphy - build_runner: ^2.4.6 - test: ^1.24.8 - json_serializable: ^6.10.0 + build_runner: + test: ^1.21.0 + json_serializable: ^6.9.4 json_annotation: ^4.9.0 + diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index 85ed6eb..c106db7 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -6,11 +6,16 @@ homepage: https://github.com/atreeon/morphy environment: sdk: ">=3.8.0 <4.0.0" -#dependency_overrides: -# morphy_annotation: -# path: ../morphy_annotation - dependencies: + analyzer: ">=7.5.9 <8.0.0" + build: ^3.0.0 + source_gen: ^3.0.0 + morphy_annotation: ^1.4.2 + dartx: ^1.2.0 + +dev_dependencies: + test: ^1.21.0 + # morphy_annotation: ^1.4.2 # path: ../morphy_annotation @@ -19,12 +24,8 @@ dependencies: # url: https://github.com/atreeon/morphy.git # ref: toString2 # path: morphy_annotation - analyzer: ">=7.5.9 <8.0.0" - build: ^3.0.0 - source_gen: ^3.0.0 - morphy_annotation: ^1.4.2 - dartx: ^1.2.0 - quiver: ^3.2.1 -dev_dependencies: - test: ^1.24.8 +#dependency_overrides: +# morphy_annotation: +# path: ../morphy_annotation + diff --git a/morphy_annotation/pubspec.yaml b/morphy_annotation/pubspec.yaml index c76039a..170e89a 100644 --- a/morphy_annotation/pubspec.yaml +++ b/morphy_annotation/pubspec.yaml @@ -7,11 +7,11 @@ environment: sdk: ">=3.8.0 <4.0.0" dependencies: - collection: ^1.18.0 + collection: ^1.15.0 dartx: ^1.2.0 - json_annotation: ^4.7.0 - quiver: ^3.0.1 - test: ^1.24.8 + json_annotation: ^4.8.0 + quiver: ^3.2.2 + test: ^1.21.0 From e7ed5435eb22ba47d32b5039733c9f9947d8fc99 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 07:33:53 +0100 Subject: [PATCH 29/36] improve ChangeTo documentation --- .github/workflows/dart.yml | 2 +- example/test/ex37_changeTo_siblings_test.dart | 1 + morphy/README.md | 28 ++++++++++++++++++- morphy/pubspec.yaml | 2 +- morphy_annotation/pubspec.yaml | 2 +- 5 files changed, 31 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 26f26ad..cd8c6be 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: package: - - morphy - morphy_annotation + - morphy - example channel: [ stable ] dependencies: [ get, downgrade ] diff --git a/example/test/ex37_changeTo_siblings_test.dart b/example/test/ex37_changeTo_siblings_test.dart index 83b8143..9f2dfda 100644 --- a/example/test/ex37_changeTo_siblings_test.dart +++ b/example/test/ex37_changeTo_siblings_test.dart @@ -30,6 +30,7 @@ main() { SubA subA = SubA(x: "x"); SubB subB = subA.changeTo_SubB(z: "z"); + expect(subB.toString(), "(SubB-z:z|x:x)"); }); } diff --git a/morphy/README.md b/morphy/README.md index b7b7522..4811f1e 100644 --- a/morphy/README.md +++ b/morphy/README.md @@ -172,7 +172,33 @@ Sometimes you might want to turn a super class into a subclass (Pet into a Cat) expect(bagpussCat.whiskerLength, 13.75); expect(bagpussCat.runtimeType, Cat); -(subclass to super and sibling to sibling may also work. A later release will iron out any edge cases) +Or a sibling class into a sibling class (Cat into Dog) + + @Morphy(explicitSubTypes: [$Dog]) + abstract class $Cat implements $Pet { + ... + } + + var bagpussCat = Cat(whiskerLength: 13.75, name: "Bagpuss", age: 4); + + var colinDog = bagpussCat.changeTo_Dog(woofSound: "rowf"); + + expect(colinDog.woofSound, "rowf"); + expect(colinDog.runtimeType, Dog); + +Or a subclass into a super class (Cat into Pet) + + @Morphy(explicitSubTypes: [$Cat, $Dog]) + abstract class $Pet { + ... + } + + var bagpussCat = Cat(whiskerLength: 13.75, name: "Bagpuss", age: 4); + + var bagpussAsPet = bagpussCat.changeTo_Pet(); + + expect(bagpussAsPet.name, "Bagpuss"); + expect(bagpussAsPet.runtimeType, Pet); ### Convert object to Json diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index c106db7..a8d6f94 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -1,6 +1,6 @@ name: morphy description: Provides a clean class definition with extra functionality including; copy with, json serializable, tostring, equals that supports inheritance and polymorphism -version: 1.4.2+1 +version: 1.4.2+2 homepage: https://github.com/atreeon/morphy environment: diff --git a/morphy_annotation/pubspec.yaml b/morphy_annotation/pubspec.yaml index 170e89a..133e17a 100644 --- a/morphy_annotation/pubspec.yaml +++ b/morphy_annotation/pubspec.yaml @@ -1,6 +1,6 @@ name: morphy_annotation description: annotation for morphy which provides a clean class definition with extra functionality including; copy with, json serializable, tostring, equals that supports inheritance and polymorphism -version: 1.4.2+1 +version: 1.4.2+2 homepage: https://github.com/atreeon/morphy environment: From 58339cbaf4e48be10a8b05442c244af871d43a79 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 07:40:50 +0100 Subject: [PATCH 30/36] try again! --- .github/workflows/dart.yml | 53 +++++++++++++++----------------------- 1 file changed, 21 insertions(+), 32 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index cd8c6be..22c9419 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -4,8 +4,6 @@ on: push: branches: [ master ] pull_request: -# schedule: -# - cron: "0 10 * * *" jobs: morphy-ci: @@ -13,10 +11,7 @@ jobs: strategy: matrix: - package: - - morphy_annotation - - morphy - - example + package: [ morphy_annotation, morphy, example ] channel: [ stable ] dependencies: [ get, downgrade ] exclude: @@ -26,56 +21,50 @@ jobs: steps: - uses: actions/checkout@v5 - # Use Flutter SDK (brings its own Dart + frontend_server) - uses: subosito/flutter-action@v2 with: channel: ${{ matrix.channel }} cache: ${{ matrix.channel == 'stable' }} - # warm the cache so snapshots exist - name: Warm Flutter cache run: | flutter --version flutter precache --universal - # (optional) remove example folder inside packages that don't need it; not - # necessary in your layout, but keeping parity with freezed pattern: - # - name: Removing example folder - # if: matrix.package != 'example' - # run: rm -rf example - # working-directory: ${{ matrix.package }} - - name: Install dependencies run: flutter pub ${{ matrix.dependencies }} working-directory: ${{ matrix.package }} -# # Check formatting on stable (optional) -# - name: Check format -# if: matrix.channel == 'stable' -# run: dart format --set-exit-if-changed . -# working-directory: ${{ matrix.package }} + # Decide toolchain once and reuse + - name: Detect package type + id: detect + run: | + if grep -qE '^\s*flutter\s*:' pubspec.yaml || grep -qE 'sdk:\s*flutter' pubspec.yaml; then + echo "runner=flutter" >> "$GITHUB_OUTPUT" + else + echo "runner=dart" >> "$GITHUB_OUTPUT" + fi + working-directory: ${{ matrix.package }} - # Run codegen only if build_runner is declared - name: Generate (build_runner) + if: ${{ always() }} run: | - if grep -q build_runner "pubspec.yaml"; then - dart pub run build_runner build --delete-conflicting-outputs + if grep -qE '\bbuild_runner\b' pubspec.yaml; then + if [ "${{ steps.detect.outputs.runner }}" = "flutter" ]; then + flutter pub run build_runner build --delete-conflicting-outputs + else + dart run build_runner build --delete-conflicting-outputs + fi fi working-directory: ${{ matrix.package }} -# # Analyze with Flutter’s analyzer (works for Dart & Flutter pkgs) -# - name: Analyze -# run: flutter analyze -# working-directory: ${{ matrix.package }} - - # Choose test runner: - # - use flutter test for the Flutter example - # - use dart test for pure Dart packages - name: Test run: | - if grep -q "^name: example$" "pubspec.yaml"; then + if [ "${{ steps.detect.outputs.runner }}" = "flutter" ]; then + echo "Flutter package → flutter test" flutter test -r expanded else + echo "Pure Dart package → dart test" dart test -r expanded fi working-directory: ${{ matrix.package }} From 2f63bfb23fe591a7f3882bf77a8af84fb5f3896c Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 07:44:36 +0100 Subject: [PATCH 31/36] try again x2! --- .github/workflows/dart.yml | 56 +++++++++++++------------------------- 1 file changed, 19 insertions(+), 37 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 22c9419..e8b5a15 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -12,59 +12,41 @@ jobs: strategy: matrix: package: [ morphy_annotation, morphy, example ] - channel: [ stable ] dependencies: [ get, downgrade ] exclude: - - channel: stable - dependencies: downgrade + - dependencies: downgrade # optional: keep only 'get' if you don't really use downgrade steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v4 - - uses: subosito/flutter-action@v2 + # Standalone Dart SDK (no Flutter on PATH) + - uses: dart-lang/setup-dart@v1 with: - channel: ${{ matrix.channel }} - cache: ${{ matrix.channel == 'stable' }} + sdk: stable - - name: Warm Flutter cache - run: | - flutter --version - flutter precache --universal + # Cache pub packages for speed + - name: Cache Pub + uses: actions/cache@v4 + with: + path: ~/.pub-cache + key: pub-${{ runner.os }}-${{ matrix.package }}-${{ hashFiles(format('{0}/pubspec.lock', matrix.package)) }} + restore-keys: | + pub-${{ runner.os }}-${{ matrix.package }}- + pub-${{ runner.os }}- - name: Install dependencies - run: flutter pub ${{ matrix.dependencies }} - working-directory: ${{ matrix.package }} - - # Decide toolchain once and reuse - - name: Detect package type - id: detect - run: | - if grep -qE '^\s*flutter\s*:' pubspec.yaml || grep -qE 'sdk:\s*flutter' pubspec.yaml; then - echo "runner=flutter" >> "$GITHUB_OUTPUT" - else - echo "runner=dart" >> "$GITHUB_OUTPUT" - fi + run: dart pub ${{ matrix.dependencies }} working-directory: ${{ matrix.package }} + # Optional: run build_runner if present - name: Generate (build_runner) - if: ${{ always() }} run: | if grep -qE '\bbuild_runner\b' pubspec.yaml; then - if [ "${{ steps.detect.outputs.runner }}" = "flutter" ]; then - flutter pub run build_runner build --delete-conflicting-outputs - else - dart run build_runner build --delete-conflicting-outputs - fi + dart run build_runner build --delete-conflicting-outputs fi working-directory: ${{ matrix.package }} + # Tests (pure Dart) - name: Test - run: | - if [ "${{ steps.detect.outputs.runner }}" = "flutter" ]; then - echo "Flutter package → flutter test" - flutter test -r expanded - else - echo "Pure Dart package → dart test" - dart test -r expanded - fi + run: dart test -r expanded working-directory: ${{ matrix.package }} From 4ccfc6bb024e6cca700b12012bb3c728ebb4af04 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 08:00:35 +0100 Subject: [PATCH 32/36] update test versions --- .github/workflows/dart.yml | 71 ++++++++++++++++++++++++---------- example/pubspec.yaml | 2 +- morphy/pubspec.yaml | 2 +- morphy_annotation/pubspec.yaml | 2 +- 4 files changed, 53 insertions(+), 24 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index e8b5a15..cd8c6be 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -4,6 +4,8 @@ on: push: branches: [ master ] pull_request: +# schedule: +# - cron: "0 10 * * *" jobs: morphy-ci: @@ -11,42 +13,69 @@ jobs: strategy: matrix: - package: [ morphy_annotation, morphy, example ] + package: + - morphy_annotation + - morphy + - example + channel: [ stable ] dependencies: [ get, downgrade ] exclude: - - dependencies: downgrade # optional: keep only 'get' if you don't really use downgrade + - channel: stable + dependencies: downgrade steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - # Standalone Dart SDK (no Flutter on PATH) - - uses: dart-lang/setup-dart@v1 + # Use Flutter SDK (brings its own Dart + frontend_server) + - uses: subosito/flutter-action@v2 with: - sdk: stable + channel: ${{ matrix.channel }} + cache: ${{ matrix.channel == 'stable' }} - # Cache pub packages for speed - - name: Cache Pub - uses: actions/cache@v4 - with: - path: ~/.pub-cache - key: pub-${{ runner.os }}-${{ matrix.package }}-${{ hashFiles(format('{0}/pubspec.lock', matrix.package)) }} - restore-keys: | - pub-${{ runner.os }}-${{ matrix.package }}- - pub-${{ runner.os }}- + # warm the cache so snapshots exist + - name: Warm Flutter cache + run: | + flutter --version + flutter precache --universal + + # (optional) remove example folder inside packages that don't need it; not + # necessary in your layout, but keeping parity with freezed pattern: + # - name: Removing example folder + # if: matrix.package != 'example' + # run: rm -rf example + # working-directory: ${{ matrix.package }} - name: Install dependencies - run: dart pub ${{ matrix.dependencies }} + run: flutter pub ${{ matrix.dependencies }} working-directory: ${{ matrix.package }} - # Optional: run build_runner if present +# # Check formatting on stable (optional) +# - name: Check format +# if: matrix.channel == 'stable' +# run: dart format --set-exit-if-changed . +# working-directory: ${{ matrix.package }} + + # Run codegen only if build_runner is declared - name: Generate (build_runner) run: | - if grep -qE '\bbuild_runner\b' pubspec.yaml; then - dart run build_runner build --delete-conflicting-outputs + if grep -q build_runner "pubspec.yaml"; then + dart pub run build_runner build --delete-conflicting-outputs fi working-directory: ${{ matrix.package }} - # Tests (pure Dart) +# # Analyze with Flutter’s analyzer (works for Dart & Flutter pkgs) +# - name: Analyze +# run: flutter analyze +# working-directory: ${{ matrix.package }} + + # Choose test runner: + # - use flutter test for the Flutter example + # - use dart test for pure Dart packages - name: Test - run: dart test -r expanded + run: | + if grep -q "^name: example$" "pubspec.yaml"; then + flutter test -r expanded + else + dart test -r expanded + fi working-directory: ${{ matrix.package }} diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 1e531c9..a8fa19a 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -15,7 +15,7 @@ dev_dependencies: morphy: path: ../morphy build_runner: - test: ^1.21.0 + test: ^1.25.0 json_serializable: ^6.9.4 json_annotation: ^4.9.0 diff --git a/morphy/pubspec.yaml b/morphy/pubspec.yaml index a8d6f94..6ce1e15 100644 --- a/morphy/pubspec.yaml +++ b/morphy/pubspec.yaml @@ -14,7 +14,7 @@ dependencies: dartx: ^1.2.0 dev_dependencies: - test: ^1.21.0 + test: ^1.25.0 # morphy_annotation: ^1.4.2 diff --git a/morphy_annotation/pubspec.yaml b/morphy_annotation/pubspec.yaml index 133e17a..4e3bb58 100644 --- a/morphy_annotation/pubspec.yaml +++ b/morphy_annotation/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: dartx: ^1.2.0 json_annotation: ^4.8.0 quiver: ^3.2.2 - test: ^1.21.0 + test: ^1.25.0 From d9322e530318d56a491a647fd7e52fb957376bdb Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 08:10:05 +0100 Subject: [PATCH 33/36] moved test to dev_dependencies! --- example/pubspec.yaml | 2 +- morphy_annotation/pubspec.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index a8fa19a..ffabb11 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -14,7 +14,7 @@ dependencies: dev_dependencies: morphy: path: ../morphy - build_runner: + build_runner: ^2.7.0 test: ^1.25.0 json_serializable: ^6.9.4 json_annotation: ^4.9.0 diff --git a/morphy_annotation/pubspec.yaml b/morphy_annotation/pubspec.yaml index 4e3bb58..225c278 100644 --- a/morphy_annotation/pubspec.yaml +++ b/morphy_annotation/pubspec.yaml @@ -11,7 +11,6 @@ dependencies: dartx: ^1.2.0 json_annotation: ^4.8.0 quiver: ^3.2.2 - test: ^1.25.0 - - +dev_dependencies: + test: ^1.25.0 \ No newline at end of file From df1a37e89d7bd22a80310b5e1be385ebc8d43add Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 08:32:39 +0100 Subject: [PATCH 34/36] use dart test not flutter test --- .github/workflows/dart.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index cd8c6be..7424510 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -73,9 +73,11 @@ jobs: # - use dart test for pure Dart packages - name: Test run: | - if grep -q "^name: example$" "pubspec.yaml"; then - flutter test -r expanded - else dart test -r expanded - fi + +# if grep -q "^name: example$" "pubspec.yaml"; then +# flutter test -r expanded +# else +# dart test -r expanded +# fi working-directory: ${{ matrix.package }} From cb5c1d3d3e88b6383bbbdcffac3827141b4fc523 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 08:50:17 +0100 Subject: [PATCH 35/36] removed pubspec.lock --- .github/workflows/dart.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 7424510..51e0b21 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -73,11 +73,9 @@ jobs: # - use dart test for pure Dart packages - name: Test run: | + if grep -q '^flutter:' pubspec.yaml; then + flutter test -r expanded + else dart test -r expanded - -# if grep -q "^name: example$" "pubspec.yaml"; then -# flutter test -r expanded -# else -# dart test -r expanded -# fi + fi working-directory: ${{ matrix.package }} From 7c21e4e1f41536c62c62dbc1df08e39ba1518fc1 Mon Sep 17 00:00:00 2001 From: adrianhill Date: Thu, 28 Aug 2025 09:00:45 +0100 Subject: [PATCH 36/36] Remove pubspec.lock from version control --- example/pubspec.lock | 563 --------------------------------- morphy/pubspec.lock | 556 -------------------------------- morphy_annotation/pubspec.lock | 101 ------ 3 files changed, 1220 deletions(-) delete mode 100644 example/pubspec.lock delete mode 100644 morphy/pubspec.lock delete mode 100644 morphy_annotation/pubspec.lock diff --git a/example/pubspec.lock b/example/pubspec.lock deleted file mode 100644 index 8891e9e..0000000 --- a/example/pubspec.lock +++ /dev/null @@ -1,563 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49" - url: "https://pub.dev" - source: hosted - version: "65.0.0" - analyzer: - dependency: transitive - description: - name: analyzer - sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07 - url: "https://pub.dev" - source: hosted - version: "6.3.0" - args: - dependency: transitive - description: - name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 - url: "https://pub.dev" - source: hosted - version: "2.4.2" - async: - dependency: transitive - description: - name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" - url: "https://pub.dev" - source: hosted - version: "2.11.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - build: - dependency: transitive - description: - name: build - sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - build_config: - dependency: transitive - description: - name: build_config - sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 - url: "https://pub.dev" - source: hosted - version: "1.1.1" - build_daemon: - dependency: transitive - description: - name: build_daemon - sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1" - url: "https://pub.dev" - source: hosted - version: "4.0.1" - build_resolvers: - dependency: transitive - description: - name: build_resolvers - sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - build_runner: - dependency: "direct dev" - description: - name: build_runner - sha256: "10c6bcdbf9d049a0b666702cf1cee4ddfdc38f02a19d35ae392863b47519848b" - url: "https://pub.dev" - source: hosted - version: "2.4.6" - build_runner_core: - dependency: transitive - description: - name: build_runner_core - sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185 - url: "https://pub.dev" - source: hosted - version: "7.2.11" - built_collection: - dependency: transitive - description: - name: built_collection - sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" - url: "https://pub.dev" - source: hosted - version: "5.1.1" - built_value: - dependency: transitive - description: - name: built_value - sha256: "69acb7007eb2a31dc901512bfe0f7b767168be34cb734835d54c070bfa74c1b2" - url: "https://pub.dev" - source: hosted - version: "8.8.0" - characters: - dependency: transitive - description: - name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" - url: "https://pub.dev" - source: hosted - version: "1.3.0" - checked_yaml: - dependency: transitive - description: - name: checked_yaml - sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff - url: "https://pub.dev" - source: hosted - version: "2.0.3" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" - code_builder: - dependency: transitive - description: - name: code_builder - sha256: b2151ce26a06171005b379ecff6e08d34c470180ffe16b8e14b6d52be292b55f - url: "https://pub.dev" - source: hosted - version: "4.8.0" - collection: - dependency: transitive - description: - name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a - url: "https://pub.dev" - source: hosted - version: "1.18.0" - convert: - dependency: transitive - description: - name: convert - sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" - url: "https://pub.dev" - source: hosted - version: "3.1.1" - coverage: - dependency: transitive - description: - name: coverage - sha256: ac86d3abab0f165e4b8f561280ff4e066bceaac83c424dd19f1ae2c2fcd12ca9 - url: "https://pub.dev" - source: hosted - version: "1.7.1" - crypto: - dependency: transitive - description: - name: crypto - sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab - url: "https://pub.dev" - source: hosted - version: "3.0.3" - dart_style: - dependency: transitive - description: - name: dart_style - sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368" - url: "https://pub.dev" - source: hosted - version: "2.3.4" - dartx: - dependency: transitive - description: - name: dartx - sha256: "8b25435617027257d43e6508b5fe061012880ddfdaa75a71d607c3de2a13d244" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - file: - dependency: transitive - description: - name: file - sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" - url: "https://pub.dev" - source: hosted - version: "7.0.0" - fixnum: - dependency: transitive - description: - name: fixnum - sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - frontend_server_client: - dependency: transitive - description: - name: frontend_server_client - sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" - url: "https://pub.dev" - source: hosted - version: "3.2.0" - glob: - dependency: transitive - description: - name: glob - sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - graphs: - dependency: transitive - description: - name: graphs - sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 - url: "https://pub.dev" - source: hosted - version: "2.3.1" - http_multi_server: - dependency: transitive - description: - name: http_multi_server - sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" - url: "https://pub.dev" - source: hosted - version: "3.2.1" - http_parser: - dependency: transitive - description: - name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" - url: "https://pub.dev" - source: hosted - version: "4.0.2" - io: - dependency: transitive - description: - name: io - sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - js: - dependency: transitive - description: - name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 - url: "https://pub.dev" - source: hosted - version: "0.6.7" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 - url: "https://pub.dev" - source: hosted - version: "4.8.1" - logging: - dependency: transitive - description: - name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" - url: "https://pub.dev" - source: hosted - version: "0.12.16" - meta: - dependency: "direct main" - description: - name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 - url: "https://pub.dev" - source: hosted - version: "1.11.0" - mime: - dependency: transitive - description: - name: mime - sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e - url: "https://pub.dev" - source: hosted - version: "1.0.4" - morphy: - dependency: "direct main" - description: - path: "../morphy" - relative: true - source: path - version: "1.0.0" - morphy_annotation: - dependency: "direct overridden" - description: - path: "../morphy_annotation" - relative: true - source: path - version: "1.0.0" - node_preamble: - dependency: transitive - description: - name: node_preamble - sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" - url: "https://pub.dev" - source: hosted - version: "2.0.2" - package_config: - dependency: transitive - description: - name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - path: - dependency: transitive - description: - name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" - url: "https://pub.dev" - source: hosted - version: "1.8.3" - pool: - dependency: transitive - description: - name: pool - sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" - url: "https://pub.dev" - source: hosted - version: "1.5.1" - pub_semver: - dependency: transitive - description: - name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - pubspec_parse: - dependency: transitive - description: - name: pubspec_parse - sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367 - url: "https://pub.dev" - source: hosted - version: "1.2.3" - quiver: - dependency: transitive - description: - name: quiver - sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 - url: "https://pub.dev" - source: hosted - version: "3.2.1" - shelf: - dependency: transitive - description: - name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 - url: "https://pub.dev" - source: hosted - version: "1.4.1" - shelf_packages_handler: - dependency: transitive - description: - name: shelf_packages_handler - sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - shelf_static: - dependency: transitive - description: - name: shelf_static - sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e - url: "https://pub.dev" - source: hosted - version: "1.1.2" - shelf_web_socket: - dependency: transitive - description: - name: shelf_web_socket - sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - source_gen: - dependency: transitive - description: - name: source_gen - sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16 - url: "https://pub.dev" - source: hosted - version: "1.4.0" - source_map_stack_trace: - dependency: transitive - description: - name: source_map_stack_trace - sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - source_maps: - dependency: transitive - description: - name: source_maps - sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" - url: "https://pub.dev" - source: hosted - version: "0.10.12" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" - stream_transform: - dependency: transitive - description: - name: stream_transform - sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test: - dependency: "direct dev" - description: - name: test - sha256: a1f7595805820fcc05e5c52e3a231aedd0b72972cb333e8c738a8b1239448b6f - url: "https://pub.dev" - source: hosted - version: "1.24.9" - test_api: - dependency: transitive - description: - name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" - url: "https://pub.dev" - source: hosted - version: "0.6.1" - test_core: - dependency: transitive - description: - name: test_core - sha256: a757b14fc47507060a162cc2530d9a4a2f92f5100a952c7443b5cad5ef5b106a - url: "https://pub.dev" - source: hosted - version: "0.5.9" - time: - dependency: transitive - description: - name: time - sha256: "83427e11d9072e038364a5e4da559e85869b227cf699a541be0da74f14140124" - url: "https://pub.dev" - source: hosted - version: "2.1.3" - timing: - dependency: transitive - description: - name: timing - sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" - url: "https://pub.dev" - source: hosted - version: "1.0.1" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c - url: "https://pub.dev" - source: hosted - version: "1.3.2" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 - url: "https://pub.dev" - source: hosted - version: "13.0.0" - watcher: - dependency: transitive - description: - name: watcher - sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b - url: "https://pub.dev" - source: hosted - version: "2.4.0" - webkit_inspection_protocol: - dependency: transitive - description: - name: webkit_inspection_protocol - sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" - url: "https://pub.dev" - source: hosted - version: "1.2.1" - yaml: - dependency: transitive - description: - name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" - url: "https://pub.dev" - source: hosted - version: "3.1.2" -sdks: - dart: ">=3.1.3 <4.0.0" diff --git a/morphy/pubspec.lock b/morphy/pubspec.lock deleted file mode 100644 index 58ea64d..0000000 --- a/morphy/pubspec.lock +++ /dev/null @@ -1,556 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49" - url: "https://pub.dev" - source: hosted - version: "65.0.0" - analyzer: - dependency: "direct main" - description: - name: analyzer - sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07 - url: "https://pub.dev" - source: hosted - version: "6.3.0" - args: - dependency: transitive - description: - name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 - url: "https://pub.dev" - source: hosted - version: "2.4.2" - async: - dependency: transitive - description: - name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" - url: "https://pub.dev" - source: hosted - version: "2.11.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - build: - dependency: "direct main" - description: - name: build - sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - build_config: - dependency: transitive - description: - name: build_config - sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 - url: "https://pub.dev" - source: hosted - version: "1.1.1" - build_daemon: - dependency: transitive - description: - name: build_daemon - sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1" - url: "https://pub.dev" - source: hosted - version: "4.0.1" - build_resolvers: - dependency: transitive - description: - name: build_resolvers - sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - build_runner: - dependency: "direct dev" - description: - name: build_runner - sha256: "10c6bcdbf9d049a0b666702cf1cee4ddfdc38f02a19d35ae392863b47519848b" - url: "https://pub.dev" - source: hosted - version: "2.4.6" - build_runner_core: - dependency: transitive - description: - name: build_runner_core - sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185 - url: "https://pub.dev" - source: hosted - version: "7.2.11" - built_collection: - dependency: transitive - description: - name: built_collection - sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" - url: "https://pub.dev" - source: hosted - version: "5.1.1" - built_value: - dependency: transitive - description: - name: built_value - sha256: "723b4021e903217dfc445ec4cf5b42e27975aece1fc4ebbc1ca6329c2d9fb54e" - url: "https://pub.dev" - source: hosted - version: "8.7.0" - characters: - dependency: transitive - description: - name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" - url: "https://pub.dev" - source: hosted - version: "1.3.0" - checked_yaml: - dependency: transitive - description: - name: checked_yaml - sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff - url: "https://pub.dev" - source: hosted - version: "2.0.3" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" - code_builder: - dependency: transitive - description: - name: code_builder - sha256: "1be9be30396d7e4c0db42c35ea6ccd7cc6a1e19916b5dc64d6ac216b5544d677" - url: "https://pub.dev" - source: hosted - version: "4.7.0" - collection: - dependency: transitive - description: - name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a - url: "https://pub.dev" - source: hosted - version: "1.18.0" - convert: - dependency: transitive - description: - name: convert - sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" - url: "https://pub.dev" - source: hosted - version: "3.1.1" - coverage: - dependency: transitive - description: - name: coverage - sha256: ac86d3abab0f165e4b8f561280ff4e066bceaac83c424dd19f1ae2c2fcd12ca9 - url: "https://pub.dev" - source: hosted - version: "1.7.1" - crypto: - dependency: transitive - description: - name: crypto - sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab - url: "https://pub.dev" - source: hosted - version: "3.0.3" - dart_style: - dependency: transitive - description: - name: dart_style - sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55" - url: "https://pub.dev" - source: hosted - version: "2.3.2" - dartx: - dependency: "direct main" - description: - name: dartx - sha256: "8b25435617027257d43e6508b5fe061012880ddfdaa75a71d607c3de2a13d244" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - file: - dependency: transitive - description: - name: file - sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" - url: "https://pub.dev" - source: hosted - version: "7.0.0" - fixnum: - dependency: transitive - description: - name: fixnum - sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - frontend_server_client: - dependency: transitive - description: - name: frontend_server_client - sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" - url: "https://pub.dev" - source: hosted - version: "3.2.0" - glob: - dependency: transitive - description: - name: glob - sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - graphs: - dependency: transitive - description: - name: graphs - sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 - url: "https://pub.dev" - source: hosted - version: "2.3.1" - http_multi_server: - dependency: transitive - description: - name: http_multi_server - sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" - url: "https://pub.dev" - source: hosted - version: "3.2.1" - http_parser: - dependency: transitive - description: - name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" - url: "https://pub.dev" - source: hosted - version: "4.0.2" - io: - dependency: transitive - description: - name: io - sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - js: - dependency: transitive - description: - name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 - url: "https://pub.dev" - source: hosted - version: "0.6.7" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 - url: "https://pub.dev" - source: hosted - version: "4.8.1" - logging: - dependency: transitive - description: - name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" - url: "https://pub.dev" - source: hosted - version: "0.12.16" - meta: - dependency: transitive - description: - name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 - url: "https://pub.dev" - source: hosted - version: "1.11.0" - mime: - dependency: transitive - description: - name: mime - sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e - url: "https://pub.dev" - source: hosted - version: "1.0.4" - morphy_annotation: - dependency: "direct main" - description: - path: "../morphy_annotation" - relative: true - source: path - version: "1.0.0" - node_preamble: - dependency: transitive - description: - name: node_preamble - sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" - url: "https://pub.dev" - source: hosted - version: "2.0.2" - package_config: - dependency: transitive - description: - name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - path: - dependency: transitive - description: - name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" - url: "https://pub.dev" - source: hosted - version: "1.8.3" - pool: - dependency: transitive - description: - name: pool - sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" - url: "https://pub.dev" - source: hosted - version: "1.5.1" - pub_semver: - dependency: transitive - description: - name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - pubspec_parse: - dependency: transitive - description: - name: pubspec_parse - sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367 - url: "https://pub.dev" - source: hosted - version: "1.2.3" - quiver: - dependency: "direct main" - description: - name: quiver - sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 - url: "https://pub.dev" - source: hosted - version: "3.2.1" - shelf: - dependency: transitive - description: - name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 - url: "https://pub.dev" - source: hosted - version: "1.4.1" - shelf_packages_handler: - dependency: transitive - description: - name: shelf_packages_handler - sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - shelf_static: - dependency: transitive - description: - name: shelf_static - sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e - url: "https://pub.dev" - source: hosted - version: "1.1.2" - shelf_web_socket: - dependency: transitive - description: - name: shelf_web_socket - sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - source_gen: - dependency: "direct main" - description: - name: source_gen - sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16 - url: "https://pub.dev" - source: hosted - version: "1.4.0" - source_map_stack_trace: - dependency: transitive - description: - name: source_map_stack_trace - sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - source_maps: - dependency: transitive - description: - name: source_maps - sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" - url: "https://pub.dev" - source: hosted - version: "0.10.12" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" - stream_transform: - dependency: transitive - description: - name: stream_transform - sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test: - dependency: "direct dev" - description: - name: test - sha256: a1f7595805820fcc05e5c52e3a231aedd0b72972cb333e8c738a8b1239448b6f - url: "https://pub.dev" - source: hosted - version: "1.24.9" - test_api: - dependency: transitive - description: - name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" - url: "https://pub.dev" - source: hosted - version: "0.6.1" - test_core: - dependency: transitive - description: - name: test_core - sha256: a757b14fc47507060a162cc2530d9a4a2f92f5100a952c7443b5cad5ef5b106a - url: "https://pub.dev" - source: hosted - version: "0.5.9" - time: - dependency: transitive - description: - name: time - sha256: "83427e11d9072e038364a5e4da559e85869b227cf699a541be0da74f14140124" - url: "https://pub.dev" - source: hosted - version: "2.1.3" - timing: - dependency: transitive - description: - name: timing - sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" - url: "https://pub.dev" - source: hosted - version: "1.0.1" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c - url: "https://pub.dev" - source: hosted - version: "1.3.2" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 - url: "https://pub.dev" - source: hosted - version: "13.0.0" - watcher: - dependency: transitive - description: - name: watcher - sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b - url: "https://pub.dev" - source: hosted - version: "2.4.0" - webkit_inspection_protocol: - dependency: transitive - description: - name: webkit_inspection_protocol - sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" - url: "https://pub.dev" - source: hosted - version: "1.2.1" - yaml: - dependency: transitive - description: - name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" - url: "https://pub.dev" - source: hosted - version: "3.1.2" -sdks: - dart: ">=3.1.3 <4.0.0" diff --git a/morphy_annotation/pubspec.lock b/morphy_annotation/pubspec.lock deleted file mode 100644 index d8bdb50..0000000 --- a/morphy_annotation/pubspec.lock +++ /dev/null @@ -1,101 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - characters: - dependency: transitive - description: - name: characters - sha256: "9a462645329872f11cf4709edf4ae7b092bf60d3d6b6a072a39ab18311e04bb7" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - clock: - dependency: transitive - description: - name: clock - sha256: "6021e0172ab6e6eaa1d391afed0a99353921f00c54385c574dc53e55d67c092c" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - collection: - dependency: "direct main" - description: - name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a - url: "https://pub.dev" - source: hosted - version: "1.18.0" - crypto: - dependency: transitive - description: - name: crypto - sha256: cf75650c66c0316274e21d7c43d3dea246273af5955bd94e8184837cd577575c - url: "https://pub.dev" - source: hosted - version: "3.0.1" - dartx: - dependency: "direct main" - description: - name: dartx - sha256: "8b25435617027257d43e6508b5fe061012880ddfdaa75a71d607c3de2a13d244" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: "80c2989398773fa06e2457e9ff08580f24e9858b28462a722241cb53e5613478" - url: "https://pub.dev" - source: hosted - version: "0.12.12" - meta: - dependency: transitive - description: - name: meta - sha256: "5202fdd37b4da5fd14a237ed0a01cad6c1efd4c99b5b5a0d3c9237f3728c9485" - url: "https://pub.dev" - source: hosted - version: "1.7.0" - path: - dependency: transitive - description: - name: path - sha256: "2ad4cddff7f5cc0e2d13069f2a3f7a73ca18f66abd6f5ecf215219cdb3638edb" - url: "https://pub.dev" - source: hosted - version: "1.8.0" - quiver: - dependency: "direct main" - description: - name: quiver - sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 - url: "https://pub.dev" - source: hosted - version: "3.2.1" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - time: - dependency: transitive - description: - name: time - sha256: "267028bb7b3e87bbfd66876c6389d7101e4b14eb94fe863d3e008e497ca07844" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: "53bdf7e979cfbf3e28987552fd72f637e63f3c8724c9e56d9246942dc2fa36ee" - url: "https://pub.dev" - source: hosted - version: "1.3.0" -sdks: - dart: ">=3.1.3 <4.0.0"