diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 2c0674cb..c0a9463b 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -1,4 +1,4 @@ -# Created with package:mono_repo v6.5.0 +# Created with package:mono_repo v6.5.5 name: Dart CI on: push: @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable" @@ -26,14 +26,14 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: mono_repo self validate - run: dart pub global activate mono_repo 6.5.0 + run: dart pub global activate mono_repo 6.5.5 - name: mono_repo self validate run: dart pub global run mono_repo generate --validate job_002: @@ -41,7 +41,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/app;commands:format" @@ -51,12 +51,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_app_pub_upgrade name: packages/app; flutter pub upgrade run: flutter pub upgrade @@ -69,43 +69,75 @@ jobs: needs: - job_001 job_003: - name: "all; PKG: packages/dynamite; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + name: "all; PKG: packages/dynamite/dynamite; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite;commands:format" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite;commands:format" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - - id: packages_dynamite_pub_upgrade - name: packages/dynamite; dart pub upgrade + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + - id: packages_dynamite_dynamite_pub_upgrade + name: packages/dynamite/dynamite; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: packages/dynamite - - name: "packages/dynamite; dart format --output=none --set-exit-if-changed --line-length 120 ." + working-directory: packages/dynamite/dynamite + - name: "packages/dynamite/dynamite; dart format --output=none --set-exit-if-changed --line-length 120 ." run: "dart format --output=none --set-exit-if-changed --line-length 120 ." - if: "always() && steps.packages_dynamite_pub_upgrade.conclusion == 'success'" - working-directory: packages/dynamite + if: "always() && steps.packages_dynamite_dynamite_pub_upgrade.conclusion == 'success'" + working-directory: packages/dynamite/dynamite needs: - job_001 job_004: + name: "all; PKG: packages/dynamite/dynamite_runtime; `dart format --output=none --set-exit-if-changed --line-length 120 .`" + runs-on: ubuntu-latest + steps: + - name: Cache Pub hosted dependencies + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 + with: + path: "~/.pub-cache/hosted" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime;commands:format" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + - id: packages_dynamite_dynamite_runtime_pub_upgrade + name: packages/dynamite/dynamite_runtime; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: packages/dynamite/dynamite_runtime + - name: "packages/dynamite/dynamite_runtime; dart format --output=none --set-exit-if-changed --line-length 120 ." + run: "dart format --output=none --set-exit-if-changed --line-length 120 ." + if: "always() && steps.packages_dynamite_dynamite_runtime_pub_upgrade.conclusion == 'success'" + working-directory: packages/dynamite/dynamite_runtime + needs: + - job_001 + job_005: name: "all; PKG: packages/file_icons; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons;commands:format" @@ -115,12 +147,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_file_icons_pub_upgrade name: packages/file_icons; flutter pub upgrade run: flutter pub upgrade @@ -132,12 +164,12 @@ jobs: working-directory: packages/file_icons needs: - job_001 - job_005: + job_006: name: "all; PKG: packages/neon/neon; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon;commands:format" @@ -147,12 +179,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_pub_upgrade name: packages/neon/neon; flutter pub upgrade run: flutter pub upgrade @@ -164,12 +196,12 @@ jobs: working-directory: packages/neon/neon needs: - job_001 - job_006: + job_007: name: "all; PKG: packages/neon/neon_files; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_files;commands:format" @@ -179,12 +211,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_files_pub_upgrade name: packages/neon/neon_files; flutter pub upgrade run: flutter pub upgrade @@ -196,12 +228,12 @@ jobs: working-directory: packages/neon/neon_files needs: - job_001 - job_007: + job_008: name: "all; PKG: packages/neon/neon_news; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_news;commands:format" @@ -211,12 +243,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_news_pub_upgrade name: packages/neon/neon_news; flutter pub upgrade run: flutter pub upgrade @@ -228,12 +260,12 @@ jobs: working-directory: packages/neon/neon_news needs: - job_001 - job_008: + job_009: name: "all; PKG: packages/neon/neon_notes; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notes;commands:format" @@ -243,12 +275,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_notes_pub_upgrade name: packages/neon/neon_notes; flutter pub upgrade run: flutter pub upgrade @@ -260,12 +292,12 @@ jobs: working-directory: packages/neon/neon_notes needs: - job_001 - job_009: + job_010: name: "all; PKG: packages/neon/neon_notifications; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notifications;commands:format" @@ -275,12 +307,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_notifications_pub_upgrade name: packages/neon/neon_notifications; flutter pub upgrade run: flutter pub upgrade @@ -292,12 +324,12 @@ jobs: working-directory: packages/neon/neon_notifications needs: - job_001 - job_010: + job_011: name: "all; PKG: packages/nextcloud; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:format" @@ -307,12 +339,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_nextcloud_pub_upgrade name: packages/nextcloud; dart pub upgrade run: dart pub upgrade @@ -324,12 +356,12 @@ jobs: working-directory: packages/nextcloud needs: - job_001 - job_011: + job_012: name: "all; PKG: packages/settings; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings;commands:format" @@ -339,12 +371,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_settings_pub_upgrade name: packages/settings; flutter pub upgrade run: flutter pub upgrade @@ -356,12 +388,12 @@ jobs: working-directory: packages/settings needs: - job_001 - job_012: + job_013: name: "all; PKG: packages/sort_box; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:format" @@ -371,12 +403,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_sort_box_pub_upgrade name: packages/sort_box; dart pub upgrade run: dart pub upgrade @@ -388,12 +420,12 @@ jobs: working-directory: packages/sort_box needs: - job_001 - job_013: + job_014: name: "all; PKG: packages/spec_templates; `dart format --output=none --set-exit-if-changed --line-length 120 .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates;commands:format" @@ -403,12 +435,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_spec_templates_pub_upgrade name: packages/spec_templates; dart pub upgrade run: dart pub upgrade @@ -420,12 +452,12 @@ jobs: working-directory: packages/spec_templates needs: - job_001 - job_014: + job_015: name: "all; PKG: packages/app; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/app;commands:analyze_0" @@ -435,12 +467,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_app_pub_upgrade name: packages/app; flutter pub upgrade run: flutter pub upgrade @@ -452,12 +484,12 @@ jobs: working-directory: packages/app needs: - job_001 - job_015: + job_016: name: "all; PKG: packages/file_icons; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/file_icons;commands:analyze_0" @@ -467,12 +499,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_file_icons_pub_upgrade name: packages/file_icons; flutter pub upgrade run: flutter pub upgrade @@ -484,12 +516,12 @@ jobs: working-directory: packages/file_icons needs: - job_001 - job_016: + job_017: name: "all; PKG: packages/neon/neon; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon;commands:analyze_0" @@ -499,12 +531,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_pub_upgrade name: packages/neon/neon; flutter pub upgrade run: flutter pub upgrade @@ -516,12 +548,12 @@ jobs: working-directory: packages/neon/neon needs: - job_001 - job_017: + job_018: name: "all; PKG: packages/neon/neon_files; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_files;commands:analyze_0" @@ -531,12 +563,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_files_pub_upgrade name: packages/neon/neon_files; flutter pub upgrade run: flutter pub upgrade @@ -548,12 +580,12 @@ jobs: working-directory: packages/neon/neon_files needs: - job_001 - job_018: + job_019: name: "all; PKG: packages/neon/neon_news; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_news;commands:analyze_0" @@ -563,12 +595,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_news_pub_upgrade name: packages/neon/neon_news; flutter pub upgrade run: flutter pub upgrade @@ -580,12 +612,12 @@ jobs: working-directory: packages/neon/neon_news needs: - job_001 - job_019: + job_020: name: "all; PKG: packages/neon/neon_notes; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notes;commands:analyze_0" @@ -595,12 +627,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_notes_pub_upgrade name: packages/neon/neon_notes; flutter pub upgrade run: flutter pub upgrade @@ -612,12 +644,12 @@ jobs: working-directory: packages/neon/neon_notes needs: - job_001 - job_020: + job_021: name: "all; PKG: packages/neon/neon_notifications; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/neon/neon_notifications;commands:analyze_0" @@ -627,12 +659,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_neon_neon_notifications_pub_upgrade name: packages/neon/neon_notifications; flutter pub upgrade run: flutter pub upgrade @@ -644,12 +676,12 @@ jobs: working-directory: packages/neon/neon_notifications needs: - job_001 - job_021: + job_022: name: "all; PKG: packages/settings; `flutter analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/settings;commands:analyze_0" @@ -659,12 +691,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Flutter SDK - uses: subosito/flutter-action@dbf1fa04f4d2e52c33185153d06cdb5443aa189d + uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa with: channel: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_settings_pub_upgrade name: packages/settings; flutter pub upgrade run: flutter pub upgrade @@ -676,44 +708,76 @@ jobs: working-directory: packages/settings needs: - job_001 - job_022: - name: "all; PKG: packages/dynamite; `dart analyze --fatal-infos .`" + job_023: + name: "all; PKG: packages/dynamite/dynamite; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite;commands:analyze_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite;commands:analyze_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite os:ubuntu-latest;pub-cache-hosted;sdk:stable os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - - id: packages_dynamite_pub_upgrade - name: packages/dynamite; dart pub upgrade + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + - id: packages_dynamite_dynamite_pub_upgrade + name: packages/dynamite/dynamite; dart pub upgrade run: dart pub upgrade if: "always() && steps.checkout.conclusion == 'success'" - working-directory: packages/dynamite - - name: "packages/dynamite; dart analyze --fatal-infos ." + working-directory: packages/dynamite/dynamite + - name: "packages/dynamite/dynamite; dart analyze --fatal-infos ." run: dart analyze --fatal-infos . - if: "always() && steps.packages_dynamite_pub_upgrade.conclusion == 'success'" - working-directory: packages/dynamite + if: "always() && steps.packages_dynamite_dynamite_pub_upgrade.conclusion == 'success'" + working-directory: packages/dynamite/dynamite needs: - job_001 - job_023: + job_024: + name: "all; PKG: packages/dynamite/dynamite_runtime; `dart analyze --fatal-infos .`" + runs-on: ubuntu-latest + steps: + - name: Cache Pub hosted dependencies + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 + with: + path: "~/.pub-cache/hosted" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime;commands:analyze_1" + restore-keys: | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/dynamite/dynamite_runtime + os:ubuntu-latest;pub-cache-hosted;sdk:stable + os:ubuntu-latest;pub-cache-hosted + os:ubuntu-latest + - name: Setup Dart SDK + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f + with: + sdk: stable + - id: checkout + name: Checkout repository + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + - id: packages_dynamite_dynamite_runtime_pub_upgrade + name: packages/dynamite/dynamite_runtime; dart pub upgrade + run: dart pub upgrade + if: "always() && steps.checkout.conclusion == 'success'" + working-directory: packages/dynamite/dynamite_runtime + - name: "packages/dynamite/dynamite_runtime; dart analyze --fatal-infos ." + run: dart analyze --fatal-infos . + if: "always() && steps.packages_dynamite_dynamite_runtime_pub_upgrade.conclusion == 'success'" + working-directory: packages/dynamite/dynamite_runtime + needs: + - job_001 + job_025: name: "all; PKG: packages/nextcloud; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:analyze_1" @@ -723,12 +787,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_nextcloud_pub_upgrade name: packages/nextcloud; dart pub upgrade run: dart pub upgrade @@ -740,12 +804,12 @@ jobs: working-directory: packages/nextcloud needs: - job_001 - job_024: + job_026: name: "all; PKG: packages/sort_box; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:analyze_1" @@ -755,12 +819,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_sort_box_pub_upgrade name: packages/sort_box; dart pub upgrade run: dart pub upgrade @@ -772,12 +836,12 @@ jobs: working-directory: packages/sort_box needs: - job_001 - job_025: + job_027: name: "all; PKG: packages/spec_templates; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/spec_templates;commands:analyze_1" @@ -787,12 +851,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_spec_templates_pub_upgrade name: packages/spec_templates; dart pub upgrade run: dart pub upgrade @@ -804,12 +868,12 @@ jobs: working-directory: packages/spec_templates needs: - job_001 - job_026: + job_028: name: "all; PKG: packages/nextcloud; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/nextcloud;commands:test" @@ -819,12 +883,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_nextcloud_pub_upgrade name: packages/nextcloud; dart pub upgrade run: dart pub upgrade @@ -836,12 +900,12 @@ jobs: working-directory: packages/nextcloud needs: - job_001 - job_027: + job_029: name: "all; PKG: packages/sort_box; `dart test`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:packages/sort_box;commands:test" @@ -851,12 +915,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - id: packages_sort_box_pub_upgrade name: packages/sort_box; dart pub upgrade run: dart pub upgrade diff --git a/packages/dynamite/.gitignore b/packages/dynamite/dynamite/.gitignore similarity index 100% rename from packages/dynamite/.gitignore rename to packages/dynamite/dynamite/.gitignore diff --git a/packages/dynamite/analysis_options.yaml b/packages/dynamite/dynamite/analysis_options.yaml similarity index 100% rename from packages/dynamite/analysis_options.yaml rename to packages/dynamite/dynamite/analysis_options.yaml diff --git a/packages/dynamite/build.yaml b/packages/dynamite/dynamite/build.yaml similarity index 100% rename from packages/dynamite/build.yaml rename to packages/dynamite/dynamite/build.yaml diff --git a/packages/dynamite/lib/builder.dart b/packages/dynamite/dynamite/lib/builder.dart similarity index 100% rename from packages/dynamite/lib/builder.dart rename to packages/dynamite/dynamite/lib/builder.dart diff --git a/packages/dynamite/lib/dynamite.dart b/packages/dynamite/dynamite/lib/dynamite.dart similarity index 100% rename from packages/dynamite/lib/dynamite.dart rename to packages/dynamite/dynamite/lib/dynamite.dart diff --git a/packages/dynamite/lib/src/models/components.dart b/packages/dynamite/dynamite/lib/src/models/components.dart similarity index 100% rename from packages/dynamite/lib/src/models/components.dart rename to packages/dynamite/dynamite/lib/src/models/components.dart diff --git a/packages/dynamite/lib/src/models/components.g.dart b/packages/dynamite/dynamite/lib/src/models/components.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/components.g.dart rename to packages/dynamite/dynamite/lib/src/models/components.g.dart diff --git a/packages/dynamite/lib/src/models/discriminator.dart b/packages/dynamite/dynamite/lib/src/models/discriminator.dart similarity index 100% rename from packages/dynamite/lib/src/models/discriminator.dart rename to packages/dynamite/dynamite/lib/src/models/discriminator.dart diff --git a/packages/dynamite/lib/src/models/discriminator.g.dart b/packages/dynamite/dynamite/lib/src/models/discriminator.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/discriminator.g.dart rename to packages/dynamite/dynamite/lib/src/models/discriminator.g.dart diff --git a/packages/dynamite/lib/src/models/header.dart b/packages/dynamite/dynamite/lib/src/models/header.dart similarity index 100% rename from packages/dynamite/lib/src/models/header.dart rename to packages/dynamite/dynamite/lib/src/models/header.dart diff --git a/packages/dynamite/lib/src/models/header.g.dart b/packages/dynamite/dynamite/lib/src/models/header.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/header.g.dart rename to packages/dynamite/dynamite/lib/src/models/header.g.dart diff --git a/packages/dynamite/lib/src/models/info.dart b/packages/dynamite/dynamite/lib/src/models/info.dart similarity index 100% rename from packages/dynamite/lib/src/models/info.dart rename to packages/dynamite/dynamite/lib/src/models/info.dart diff --git a/packages/dynamite/lib/src/models/info.g.dart b/packages/dynamite/dynamite/lib/src/models/info.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/info.g.dart rename to packages/dynamite/dynamite/lib/src/models/info.g.dart diff --git a/packages/dynamite/lib/src/models/license.dart b/packages/dynamite/dynamite/lib/src/models/license.dart similarity index 100% rename from packages/dynamite/lib/src/models/license.dart rename to packages/dynamite/dynamite/lib/src/models/license.dart diff --git a/packages/dynamite/lib/src/models/license.g.dart b/packages/dynamite/dynamite/lib/src/models/license.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/license.g.dart rename to packages/dynamite/dynamite/lib/src/models/license.g.dart diff --git a/packages/dynamite/lib/src/models/media_type.dart b/packages/dynamite/dynamite/lib/src/models/media_type.dart similarity index 100% rename from packages/dynamite/lib/src/models/media_type.dart rename to packages/dynamite/dynamite/lib/src/models/media_type.dart diff --git a/packages/dynamite/lib/src/models/media_type.g.dart b/packages/dynamite/dynamite/lib/src/models/media_type.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/media_type.g.dart rename to packages/dynamite/dynamite/lib/src/models/media_type.g.dart diff --git a/packages/dynamite/lib/src/models/open_api.dart b/packages/dynamite/dynamite/lib/src/models/open_api.dart similarity index 100% rename from packages/dynamite/lib/src/models/open_api.dart rename to packages/dynamite/dynamite/lib/src/models/open_api.dart diff --git a/packages/dynamite/lib/src/models/open_api.g.dart b/packages/dynamite/dynamite/lib/src/models/open_api.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/open_api.g.dart rename to packages/dynamite/dynamite/lib/src/models/open_api.g.dart diff --git a/packages/dynamite/lib/src/models/operation.dart b/packages/dynamite/dynamite/lib/src/models/operation.dart similarity index 100% rename from packages/dynamite/lib/src/models/operation.dart rename to packages/dynamite/dynamite/lib/src/models/operation.dart diff --git a/packages/dynamite/lib/src/models/operation.g.dart b/packages/dynamite/dynamite/lib/src/models/operation.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/operation.g.dart rename to packages/dynamite/dynamite/lib/src/models/operation.g.dart diff --git a/packages/dynamite/lib/src/models/parameter.dart b/packages/dynamite/dynamite/lib/src/models/parameter.dart similarity index 100% rename from packages/dynamite/lib/src/models/parameter.dart rename to packages/dynamite/dynamite/lib/src/models/parameter.dart diff --git a/packages/dynamite/lib/src/models/parameter.g.dart b/packages/dynamite/dynamite/lib/src/models/parameter.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/parameter.g.dart rename to packages/dynamite/dynamite/lib/src/models/parameter.g.dart diff --git a/packages/dynamite/lib/src/models/path_item.dart b/packages/dynamite/dynamite/lib/src/models/path_item.dart similarity index 100% rename from packages/dynamite/lib/src/models/path_item.dart rename to packages/dynamite/dynamite/lib/src/models/path_item.dart diff --git a/packages/dynamite/lib/src/models/path_item.g.dart b/packages/dynamite/dynamite/lib/src/models/path_item.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/path_item.g.dart rename to packages/dynamite/dynamite/lib/src/models/path_item.g.dart diff --git a/packages/dynamite/lib/src/models/paths.dart b/packages/dynamite/dynamite/lib/src/models/paths.dart similarity index 100% rename from packages/dynamite/lib/src/models/paths.dart rename to packages/dynamite/dynamite/lib/src/models/paths.dart diff --git a/packages/dynamite/lib/src/models/request_body.dart b/packages/dynamite/dynamite/lib/src/models/request_body.dart similarity index 100% rename from packages/dynamite/lib/src/models/request_body.dart rename to packages/dynamite/dynamite/lib/src/models/request_body.dart diff --git a/packages/dynamite/lib/src/models/request_body.g.dart b/packages/dynamite/dynamite/lib/src/models/request_body.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/request_body.g.dart rename to packages/dynamite/dynamite/lib/src/models/request_body.g.dart diff --git a/packages/dynamite/lib/src/models/response.dart b/packages/dynamite/dynamite/lib/src/models/response.dart similarity index 100% rename from packages/dynamite/lib/src/models/response.dart rename to packages/dynamite/dynamite/lib/src/models/response.dart diff --git a/packages/dynamite/lib/src/models/response.g.dart b/packages/dynamite/dynamite/lib/src/models/response.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/response.g.dart rename to packages/dynamite/dynamite/lib/src/models/response.g.dart diff --git a/packages/dynamite/lib/src/models/responses.dart b/packages/dynamite/dynamite/lib/src/models/responses.dart similarity index 100% rename from packages/dynamite/lib/src/models/responses.dart rename to packages/dynamite/dynamite/lib/src/models/responses.dart diff --git a/packages/dynamite/lib/src/models/schema.dart b/packages/dynamite/dynamite/lib/src/models/schema.dart similarity index 100% rename from packages/dynamite/lib/src/models/schema.dart rename to packages/dynamite/dynamite/lib/src/models/schema.dart diff --git a/packages/dynamite/lib/src/models/schema.g.dart b/packages/dynamite/dynamite/lib/src/models/schema.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/schema.g.dart rename to packages/dynamite/dynamite/lib/src/models/schema.g.dart diff --git a/packages/dynamite/lib/src/models/security_requirement.dart b/packages/dynamite/dynamite/lib/src/models/security_requirement.dart similarity index 100% rename from packages/dynamite/lib/src/models/security_requirement.dart rename to packages/dynamite/dynamite/lib/src/models/security_requirement.dart diff --git a/packages/dynamite/lib/src/models/security_scheme.dart b/packages/dynamite/dynamite/lib/src/models/security_scheme.dart similarity index 100% rename from packages/dynamite/lib/src/models/security_scheme.dart rename to packages/dynamite/dynamite/lib/src/models/security_scheme.dart diff --git a/packages/dynamite/lib/src/models/security_scheme.g.dart b/packages/dynamite/dynamite/lib/src/models/security_scheme.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/security_scheme.g.dart rename to packages/dynamite/dynamite/lib/src/models/security_scheme.g.dart diff --git a/packages/dynamite/lib/src/models/server.dart b/packages/dynamite/dynamite/lib/src/models/server.dart similarity index 100% rename from packages/dynamite/lib/src/models/server.dart rename to packages/dynamite/dynamite/lib/src/models/server.dart diff --git a/packages/dynamite/lib/src/models/server.g.dart b/packages/dynamite/dynamite/lib/src/models/server.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/server.g.dart rename to packages/dynamite/dynamite/lib/src/models/server.g.dart diff --git a/packages/dynamite/lib/src/models/server_variable.dart b/packages/dynamite/dynamite/lib/src/models/server_variable.dart similarity index 100% rename from packages/dynamite/lib/src/models/server_variable.dart rename to packages/dynamite/dynamite/lib/src/models/server_variable.dart diff --git a/packages/dynamite/lib/src/models/server_variable.g.dart b/packages/dynamite/dynamite/lib/src/models/server_variable.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/server_variable.g.dart rename to packages/dynamite/dynamite/lib/src/models/server_variable.g.dart diff --git a/packages/dynamite/lib/src/models/tag.dart b/packages/dynamite/dynamite/lib/src/models/tag.dart similarity index 100% rename from packages/dynamite/lib/src/models/tag.dart rename to packages/dynamite/dynamite/lib/src/models/tag.dart diff --git a/packages/dynamite/lib/src/models/tag.g.dart b/packages/dynamite/dynamite/lib/src/models/tag.g.dart similarity index 100% rename from packages/dynamite/lib/src/models/tag.g.dart rename to packages/dynamite/dynamite/lib/src/models/tag.g.dart diff --git a/packages/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/dynamite/lib/src/openapi_builder.dart similarity index 99% rename from packages/dynamite/lib/src/openapi_builder.dart rename to packages/dynamite/dynamite/lib/src/openapi_builder.dart index 2c27fdfb..8e8663af 100644 --- a/packages/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/dynamite/lib/src/openapi_builder.dart @@ -68,7 +68,7 @@ class OpenAPIBuilder implements Builder { "import 'package:built_value/serializer.dart';", "import 'package:built_value/standard_json_plugin.dart';", "import 'package:cookie_jar/cookie_jar.dart';", - "import 'package:dynamite/content_string.dart';", + "import 'package:dynamite_runtime/content_string.dart';", "import 'package:universal_io/io.dart';", '', "export 'package:cookie_jar/cookie_jar.dart';", diff --git a/packages/dynamite/lib/src/type_result/base.dart b/packages/dynamite/dynamite/lib/src/type_result/base.dart similarity index 100% rename from packages/dynamite/lib/src/type_result/base.dart rename to packages/dynamite/dynamite/lib/src/type_result/base.dart diff --git a/packages/dynamite/lib/src/type_result/enum.dart b/packages/dynamite/dynamite/lib/src/type_result/enum.dart similarity index 100% rename from packages/dynamite/lib/src/type_result/enum.dart rename to packages/dynamite/dynamite/lib/src/type_result/enum.dart diff --git a/packages/dynamite/lib/src/type_result/list.dart b/packages/dynamite/dynamite/lib/src/type_result/list.dart similarity index 100% rename from packages/dynamite/lib/src/type_result/list.dart rename to packages/dynamite/dynamite/lib/src/type_result/list.dart diff --git a/packages/dynamite/lib/src/type_result/map.dart b/packages/dynamite/dynamite/lib/src/type_result/map.dart similarity index 100% rename from packages/dynamite/lib/src/type_result/map.dart rename to packages/dynamite/dynamite/lib/src/type_result/map.dart diff --git a/packages/dynamite/lib/src/type_result/object.dart b/packages/dynamite/dynamite/lib/src/type_result/object.dart similarity index 100% rename from packages/dynamite/lib/src/type_result/object.dart rename to packages/dynamite/dynamite/lib/src/type_result/object.dart diff --git a/packages/dynamite/lib/src/type_result/type_result.dart b/packages/dynamite/dynamite/lib/src/type_result/type_result.dart similarity index 100% rename from packages/dynamite/lib/src/type_result/type_result.dart rename to packages/dynamite/dynamite/lib/src/type_result/type_result.dart diff --git a/packages/dynamite/mono_pkg.yaml b/packages/dynamite/dynamite/mono_pkg.yaml similarity index 100% rename from packages/dynamite/mono_pkg.yaml rename to packages/dynamite/dynamite/mono_pkg.yaml diff --git a/packages/dynamite/pubspec.yaml b/packages/dynamite/dynamite/pubspec.yaml similarity index 100% rename from packages/dynamite/pubspec.yaml rename to packages/dynamite/dynamite/pubspec.yaml diff --git a/packages/dynamite/dynamite_runtime/.gitignore b/packages/dynamite/dynamite_runtime/.gitignore new file mode 100644 index 00000000..3cceda55 --- /dev/null +++ b/packages/dynamite/dynamite_runtime/.gitignore @@ -0,0 +1,7 @@ +# https://dart.dev/guides/libraries/private-files +# Created by `dart pub` +.dart_tool/ + +# Avoid committing pubspec.lock for library packages; see +# https://dart.dev/guides/libraries/private-files#pubspeclock. +pubspec.lock diff --git a/packages/dynamite/dynamite_runtime/analysis_options.yaml b/packages/dynamite/dynamite_runtime/analysis_options.yaml new file mode 100644 index 00000000..6549e762 --- /dev/null +++ b/packages/dynamite/dynamite_runtime/analysis_options.yaml @@ -0,0 +1,9 @@ +include: package:nit_picking/dart.yaml + +linter: + rules: + public_member_api_docs: false + +analyzer: + exclude: + - '**.g.dart' diff --git a/packages/dynamite/dynamite_runtime/lib/content_string.dart b/packages/dynamite/dynamite_runtime/lib/content_string.dart new file mode 100644 index 00000000..2a35d3d8 --- /dev/null +++ b/packages/dynamite/dynamite_runtime/lib/content_string.dart @@ -0,0 +1 @@ +export 'src/content_string.dart'; diff --git a/packages/dynamite/lib/src/helpers/content_string.dart b/packages/dynamite/dynamite_runtime/lib/src/content_string.dart similarity index 100% rename from packages/dynamite/lib/src/helpers/content_string.dart rename to packages/dynamite/dynamite_runtime/lib/src/content_string.dart diff --git a/packages/dynamite/lib/src/helpers/content_string.g.dart b/packages/dynamite/dynamite_runtime/lib/src/content_string.g.dart similarity index 100% rename from packages/dynamite/lib/src/helpers/content_string.g.dart rename to packages/dynamite/dynamite_runtime/lib/src/content_string.g.dart diff --git a/packages/dynamite/dynamite_runtime/mono_pkg.yaml b/packages/dynamite/dynamite_runtime/mono_pkg.yaml new file mode 100644 index 00000000..60bc3bfd --- /dev/null +++ b/packages/dynamite/dynamite_runtime/mono_pkg.yaml @@ -0,0 +1,7 @@ +sdk: + - stable + +stages: + - all: + - analyze: --fatal-infos . + - format: --output=none --set-exit-if-changed --line-length 120 . diff --git a/packages/dynamite/dynamite_runtime/pubspec.yaml b/packages/dynamite/dynamite_runtime/pubspec.yaml new file mode 100644 index 00000000..19882ef8 --- /dev/null +++ b/packages/dynamite/dynamite_runtime/pubspec.yaml @@ -0,0 +1,19 @@ +name: dynamite_runtime +description: Helper package for use with dynamite. +version: 1.0.0 + +environment: + sdk: '>=3.0.0 <4.0.0' + +dependencies: + built_value: ^8.5.0 + +dev_dependencies: + build_runner: ^2.4.2 + built_collection: ^5.1.1 + built_value_generator: ^8.5.0 + nit_picking: + git: + url: https://github.com/stack11/dart_nit_picking + ref: 0b2ee0d + test: ^1.24.2 diff --git a/packages/dynamite/test/content_string_test.dart b/packages/dynamite/dynamite_runtime/test/content_string_test.dart similarity index 99% rename from packages/dynamite/test/content_string_test.dart rename to packages/dynamite/dynamite_runtime/test/content_string_test.dart index 1be48a96..73e3d69c 100644 --- a/packages/dynamite/test/content_string_test.dart +++ b/packages/dynamite/dynamite_runtime/test/content_string_test.dart @@ -5,7 +5,7 @@ import 'dart:convert'; import 'package:built_collection/built_collection.dart'; import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; -import 'package:dynamite/content_string.dart'; +import 'package:dynamite_runtime/content_string.dart'; import 'package:test/test.dart'; part 'content_string_test.g.dart'; diff --git a/packages/dynamite/test/content_string_test.g.dart b/packages/dynamite/dynamite_runtime/test/content_string_test.g.dart similarity index 100% rename from packages/dynamite/test/content_string_test.g.dart rename to packages/dynamite/dynamite_runtime/test/content_string_test.g.dart diff --git a/packages/dynamite/lib/content_string.dart b/packages/dynamite/lib/content_string.dart deleted file mode 100644 index 5a9e69f3..00000000 --- a/packages/dynamite/lib/content_string.dart +++ /dev/null @@ -1 +0,0 @@ -export 'src/helpers/content_string.dart'; diff --git a/packages/nextcloud/pubspec.yaml b/packages/nextcloud/pubspec.yaml index 21785e38..4b720e05 100644 --- a/packages/nextcloud/pubspec.yaml +++ b/packages/nextcloud/pubspec.yaml @@ -1,5 +1,6 @@ name: nextcloud version: 1.0.0 +publish_to: none environment: sdk: '>=3.0.0 <4.0.0' @@ -10,8 +11,8 @@ dependencies: cookie_jar: ^4.0.2 crypto: ^3.0.3 crypton: ^2.0.5 - dynamite: - path: ../dynamite + dynamite_runtime: + path: ../dynamite/dynamite_runtime intl: ^0.18.0 universal_io: ^2.2.0 version: ^3.0.2 @@ -22,6 +23,8 @@ dev_dependencies: build_runner: ^2.4.2 built_value_generator: ^8.5.0 coverage: ^1.6.3 + dynamite: + path: ../dynamite/dynamite nit_picking: git: url: https://github.com/stack11/dart_nit_picking diff --git a/tool/ci.sh b/tool/ci.sh old mode 100755 new mode 100644 index a2a60c76..2b5a2db1 --- a/tool/ci.sh +++ b/tool/ci.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Created with package:mono_repo v6.5.0 +# Created with package:mono_repo v6.5.5 # Support built in commands on windows out of the box. # When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")