From 4b17ad04d767734488ea633d2f76a0e59e49b5f3 Mon Sep 17 00:00:00 2001 From: Olzhas Suleimen Date: Mon, 20 Nov 2023 13:25:16 +0600 Subject: [PATCH] Revert downgrade. --- .github/workflows/dart.yml | 100 ++++++++++++++++++------------------- _tests/pubspec.yaml | 6 +-- ngast/pubspec.yaml | 2 +- ngcompiler/pubspec.yaml | 4 +- ngdart/pubspec.yaml | 2 +- ngforms/pubspec.yaml | 4 +- ngrouter/pubspec.yaml | 4 +- ngtest/pubspec.yaml | 2 +- tool/package_versions.yaml | 6 +-- 9 files changed, 65 insertions(+), 65 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 55821cbb0f..f47594a0ac 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -41,23 +41,23 @@ jobs: - name: mono_repo self validate run: dart pub global run mono_repo generate --validate job_002: - name: "analyze; Dart 3.0.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart analyze --fatal-infos .`" + name: "analyze; Dart 3.1.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -118,23 +118,23 @@ jobs: needs: - job_001 job_003: - name: "analyze; Dart 3.0.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart format --output=none --set-exit-if-changed .`" + name: "analyze; Dart 3.1.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart format --output=none --set-exit-if-changed .`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:format" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:format" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -272,23 +272,23 @@ jobs: needs: - job_001 job_005: - name: "build; Dart 3.0.0; PKG: ngforms; `dart run build_runner build --fail-on-severe`" + name: "build; Dart 3.1.0; PKG: ngforms; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms;commands:command_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms;commands:command_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -307,23 +307,23 @@ jobs: - job_003 - job_004 job_006: - name: "build; Dart 3.0.0; PKG: ngrouter; `dart run build_runner build --fail-on-severe`" + name: "build; Dart 3.1.0; PKG: ngrouter; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter;commands:command_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter;commands:command_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -342,23 +342,23 @@ jobs: - job_003 - job_004 job_007: - name: "build; Dart 3.0.0; PKG: ngtest; `dart run build_runner build --fail-on-severe`" + name: "build; Dart 3.1.0; PKG: ngtest; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest;commands:command_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest;commands:command_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -482,23 +482,23 @@ jobs: - job_003 - job_004 job_011: - name: "unit_test; Dart 3.0.0; PKG: ngast; `dart test -P ci`" + name: "unit_test; Dart 3.1.0; PKG: ngast; `dart test -P ci`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast;commands:test" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast;commands:test" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngast - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -523,23 +523,23 @@ jobs: - job_009 - job_010 job_012: - name: "unit_test; Dart 3.0.0; PKG: ngcompiler; `dart test -P ci`" + name: "unit_test; Dart 3.1.0; PKG: ngcompiler; `dart test -P ci`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngcompiler;commands:test" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngcompiler;commands:test" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngcompiler - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngcompiler + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -564,23 +564,23 @@ jobs: - job_009 - job_010 job_013: - name: "unit_test; Dart 3.0.0; PKG: ngforms; `dart run build_runner test --fail-on-severe -- -P ci`" + name: "unit_test; Dart 3.1.0; PKG: ngforms; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms;commands:command_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms;commands:command_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngforms - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -605,23 +605,23 @@ jobs: - job_009 - job_010 job_014: - name: "unit_test; Dart 3.0.0; PKG: ngrouter; `dart run build_runner test --fail-on-severe -- -P ci`" + name: "unit_test; Dart 3.1.0; PKG: ngrouter; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter;commands:command_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter;commands:command_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngrouter - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 @@ -646,23 +646,23 @@ jobs: - job_009 - job_010 job_015: - name: "unit_test; Dart 3.0.0; PKG: ngtest; `dart run build_runner test --fail-on-severe -- -P ci`" + name: "unit_test; Dart 3.1.0; PKG: ngtest; `dart run build_runner test --fail-on-severe -- -P ci`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest;commands:command_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest;commands:command_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:ngtest - os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d with: - sdk: "3.0.0" + sdk: "3.1.0" - id: checkout name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 diff --git a/_tests/pubspec.yaml b/_tests/pubspec.yaml index 000488c15e..5b7b081430 100644 --- a/_tests/pubspec.yaml +++ b/_tests/pubspec.yaml @@ -3,7 +3,7 @@ description: Tests for AngularDart. publish_to: none environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.1.0 <4.0.0" dependencies: build: ^2.4.1 @@ -20,13 +20,13 @@ dependencies: test: ^1.24.4 dev_dependencies: - analyzer: ^5.11.0 + analyzer: ^6.0.0 build_runner: ^2.4.6 build_web_compilers: ^4.0.4 csslib: ^1.0.0 lints: ^2.1.0 meta: ^1.11.0 - mockito: ^5.4.2 + mockito: ^5.4.3 package_config: ^2.1.0 source_span: ^1.10.0 term_glyph: ^1.2.1 diff --git a/ngast/pubspec.yaml b/ngast/pubspec.yaml index 7369b0b547..8bff58d29d 100644 --- a/ngast/pubspec.yaml +++ b/ngast/pubspec.yaml @@ -4,7 +4,7 @@ version: 3.0.0-dev.1 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.1.0 <4.0.0" dependencies: charcode: ^1.3.1 diff --git a/ngcompiler/pubspec.yaml b/ngcompiler/pubspec.yaml index 70c0bbf856..f33b6a686f 100644 --- a/ngcompiler/pubspec.yaml +++ b/ngcompiler/pubspec.yaml @@ -7,10 +7,10 @@ version: 3.0.0-dev.2 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.1.0 <4.0.0" dependencies: - analyzer: ^5.11.0 + analyzer: ^6.0.0 args: ^2.4.2 build: ^2.4.1 code_builder: ^4.7.0 diff --git a/ngdart/pubspec.yaml b/ngdart/pubspec.yaml index 54562c4620..56c50d5628 100644 --- a/ngdart/pubspec.yaml +++ b/ngdart/pubspec.yaml @@ -6,7 +6,7 @@ version: 8.0.0-dev.3 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.1.0 <4.0.0" dependencies: build: ^2.4.1 diff --git a/ngforms/pubspec.yaml b/ngforms/pubspec.yaml index fc5df26d5a..7b51fabd74 100644 --- a/ngforms/pubspec.yaml +++ b/ngforms/pubspec.yaml @@ -6,7 +6,7 @@ version: 5.0.0-dev.2 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.1.0 <4.0.0" dependencies: meta: ^1.11.0 @@ -17,6 +17,6 @@ dev_dependencies: build_test: ^2.2.1 build_web_compilers: ^4.0.4 lints: ^2.1.0 - mockito: ^5.4.2 + mockito: ^5.4.3 ngtest: ^5.0.0-dev.2 test: ^1.24.4 diff --git a/ngrouter/pubspec.yaml b/ngrouter/pubspec.yaml index 8788c5d865..bc27a10d5b 100644 --- a/ngrouter/pubspec.yaml +++ b/ngrouter/pubspec.yaml @@ -6,7 +6,7 @@ version: 4.0.0-dev.2 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.1.0 <4.0.0" dependencies: collection: ^1.18.0 @@ -18,6 +18,6 @@ dev_dependencies: build_test: ^2.2.1 build_web_compilers: ^4.0.4 lints: ^2.1.0 - mockito: ^5.4.2 + mockito: ^5.4.3 ngtest: ^5.0.0-dev.2 test: ^1.24.4 diff --git a/ngtest/pubspec.yaml b/ngtest/pubspec.yaml index 1fe1f45c48..ae63d2b14c 100644 --- a/ngtest/pubspec.yaml +++ b/ngtest/pubspec.yaml @@ -6,7 +6,7 @@ version: 5.0.0-dev.2 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.1.0 <4.0.0" dependencies: collection: ^1.18.0 diff --git a/tool/package_versions.yaml b/tool/package_versions.yaml index 7e68c30499..6fff33e32e 100644 --- a/tool/package_versions.yaml +++ b/tool/package_versions.yaml @@ -1,6 +1,6 @@ -sdk: ">=3.0.0 <4.0.0" +sdk: ">=3.1.0 <4.0.0" -analyzer: ^5.11.0 +analyzer: ^6.0.0 args: ^2.4.2 async: ^2.11.0 build: ^2.4.1 @@ -21,7 +21,7 @@ js: ^0.6.7 logging: ^1.2.0 lints: ^2.1.0 meta: ^1.11.0 -mockito: ^5.4.2 +mockito: ^5.4.3 ngast: ^3.0.0-dev.1 ngcompiler: ^3.0.0-dev.2 ngdart: ^8.0.0-dev.3