diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index e8a9ccf335..36fc89cf94 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -1,4 +1,4 @@ -# Created with package:mono_repo v6.6.1 +# Created with package:mono_repo v6.6.2 name: Dart CI on: push: @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable" @@ -30,37 +30,37 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: mono_repo self validate - run: dart pub global activate mono_repo 6.6.1 + run: dart pub global activate mono_repo 6.6.2 - name: mono_repo self validate run: dart pub global run mono_repo generate --validate job_002: - name: "analyze; Dart 3.1.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart analyze --fatal-infos .`" + name: "analyze; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze" restore-keys: | - 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;sdk:3.6.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngast_pub_upgrade name: ngast; dart pub upgrade run: dart pub upgrade @@ -118,26 +118,26 @@ jobs: needs: - job_001 job_003: - name: "analyze; Dart 3.1.0; PKGS: ngast, ngcompiler, ngdart, ngforms, ngrouter, ngtest; `dart format --output=none --set-exit-if-changed .`" + name: "analyze; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:format" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:format" restore-keys: | - 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;sdk:3.6.0;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngast_pub_upgrade name: ngast; dart pub upgrade run: dart pub upgrade @@ -199,7 +199,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze" @@ -209,12 +209,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngast_pub_upgrade name: ngast; dart pub upgrade run: dart pub upgrade @@ -276,7 +276,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngast-ngcompiler-ngdart-ngforms-ngrouter-ngtest;commands:analyze" @@ -286,12 +286,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngast_pub_upgrade name: ngast; dart pub upgrade run: dart pub upgrade @@ -349,26 +349,26 @@ jobs: needs: - job_001 job_006: - name: "build; Dart 3.1.0; PKG: _tests; `dart run build_runner build --fail-on-severe`" + name: "build; Dart 3.6.0; PKG: _tests; `dart run build_runner build --fail-on-severe`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:_tests;commands:command_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:_tests;commands:command_0" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:_tests - os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:_tests + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -385,26 +385,26 @@ jobs: - job_004 - job_005 job_007: - name: "build; Dart 3.1.0; PKG: ngforms; `dart run build_runner build --fail-on-severe`" + name: "build; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms;commands:command_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngforms;commands:command_0" restore-keys: | - 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;sdk:3.6.0;packages:ngforms + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngforms_pub_upgrade name: ngforms; dart pub upgrade run: dart pub upgrade @@ -421,26 +421,26 @@ jobs: - job_004 - job_005 job_008: - name: "build; Dart 3.1.0; PKG: ngrouter; `dart run build_runner build --fail-on-severe`" + name: "build; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter;commands:command_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngrouter;commands:command_0" restore-keys: | - 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;sdk:3.6.0;packages:ngrouter + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngrouter_pub_upgrade name: ngrouter; dart pub upgrade run: dart pub upgrade @@ -457,26 +457,26 @@ jobs: - job_004 - job_005 job_009: - name: "build; Dart 3.1.0; PKG: ngtest; `dart run build_runner build --fail-on-severe`" + name: "build; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest;commands:command_0" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngtest;commands:command_0" restore-keys: | - 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;sdk:3.6.0;packages:ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngtest_pub_upgrade name: ngtest; dart pub upgrade run: dart pub upgrade @@ -497,7 +497,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_tests;commands:command_0" @@ -507,12 +507,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -533,7 +533,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngforms;commands:command_0" @@ -543,12 +543,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngforms_pub_upgrade name: ngforms; dart pub upgrade run: dart pub upgrade @@ -569,7 +569,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngrouter;commands:command_0" @@ -579,12 +579,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngrouter_pub_upgrade name: ngrouter; dart pub upgrade run: dart pub upgrade @@ -605,7 +605,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngtest;commands:command_0" @@ -615,12 +615,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngtest_pub_upgrade name: ngtest; dart pub upgrade run: dart pub upgrade @@ -641,7 +641,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:_tests;commands:command_0" @@ -651,12 +651,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -677,7 +677,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngforms;commands:command_0" @@ -687,12 +687,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngforms_pub_upgrade name: ngforms; dart pub upgrade run: dart pub upgrade @@ -713,7 +713,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngrouter;commands:command_0" @@ -723,12 +723,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngrouter_pub_upgrade name: ngrouter; dart pub upgrade run: dart pub upgrade @@ -749,7 +749,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngtest;commands:command_0" @@ -759,12 +759,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngtest_pub_upgrade name: ngtest; dart pub upgrade run: dart pub upgrade @@ -781,26 +781,26 @@ jobs: - job_004 - job_005 job_018: - name: "unit_test; Dart 3.1.0; PKG: _tests; `dart run build_runner test --fail-on-severe -- -P browser`" + name: "unit_test; Dart 3.6.0; PKG: _tests; `dart run build_runner test --fail-on-severe -- -P browser`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:_tests;commands:command_2" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:_tests;commands:command_2" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:_tests - os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:_tests + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -829,26 +829,26 @@ jobs: - job_016 - job_017 job_019: - name: "unit_test; Dart 3.1.0; PKG: _tests; `dart test -P vm`" + name: "unit_test; Dart 3.6.0; PKG: _tests; `dart test -P vm`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:_tests;commands:command_1" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:_tests;commands:command_1" restore-keys: | - os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:_tests - os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0 + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:_tests + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -877,26 +877,26 @@ jobs: - job_016 - job_017 job_020: - name: "unit_test; Dart 3.1.0; PKG: ngast; `dart test -P ci`" + name: "unit_test; Dart 3.6.0; PKG: ngast; `dart test -P ci`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngast;commands:test" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngast;commands:test" restore-keys: | - 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;sdk:3.6.0;packages:ngast + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngast_pub_upgrade name: ngast; dart pub upgrade run: dart pub upgrade @@ -925,26 +925,26 @@ jobs: - job_016 - job_017 job_021: - name: "unit_test; Dart 3.1.0; PKG: ngcompiler; `dart test -P ci`" + name: "unit_test; Dart 3.6.0; PKG: ngcompiler; `dart test -P ci`" runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngcompiler;commands:test" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngcompiler;commands:test" restore-keys: | - 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;sdk:3.6.0;packages:ngcompiler + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngcompiler_pub_upgrade name: ngcompiler; dart pub upgrade run: dart pub upgrade @@ -973,26 +973,26 @@ jobs: - job_016 - job_017 job_022: - name: "unit_test; Dart 3.1.0; PKG: ngforms; `dart run build_runner test --fail-on-severe -- -P ci`" + name: "unit_test; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngforms;commands:command_3" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngforms;commands:command_3" restore-keys: | - 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;sdk:3.6.0;packages:ngforms + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngforms_pub_upgrade name: ngforms; dart pub upgrade run: dart pub upgrade @@ -1021,26 +1021,26 @@ jobs: - job_016 - job_017 job_023: - name: "unit_test; Dart 3.1.0; PKG: ngrouter; `dart run build_runner test --fail-on-severe -- -P ci`" + name: "unit_test; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngrouter;commands:command_3" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngrouter;commands:command_3" restore-keys: | - 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;sdk:3.6.0;packages:ngrouter + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngrouter_pub_upgrade name: ngrouter; dart pub upgrade run: dart pub upgrade @@ -1069,26 +1069,26 @@ jobs: - job_016 - job_017 job_024: - name: "unit_test; Dart 3.1.0; PKG: ngtest; `dart run build_runner test --fail-on-severe -- -P ci`" + name: "unit_test; Dart 3.6.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 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" - key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.1.0;packages:ngtest;commands:command_3" + key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:ngtest;commands:command_3" restore-keys: | - 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;sdk:3.6.0;packages:ngtest + os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0 os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: - sdk: "3.1.0" + sdk: "3.6.0" - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngtest_pub_upgrade name: ngtest; dart pub upgrade run: dart pub upgrade @@ -1121,7 +1121,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_tests;commands:command_2" @@ -1131,12 +1131,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -1169,7 +1169,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_tests;commands:command_1" @@ -1179,12 +1179,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -1217,7 +1217,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngast;commands:test" @@ -1227,12 +1227,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngast_pub_upgrade name: ngast; dart pub upgrade run: dart pub upgrade @@ -1265,7 +1265,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngcompiler;commands:test" @@ -1275,12 +1275,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngcompiler_pub_upgrade name: ngcompiler; dart pub upgrade run: dart pub upgrade @@ -1313,7 +1313,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngforms;commands:command_3" @@ -1323,12 +1323,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngforms_pub_upgrade name: ngforms; dart pub upgrade run: dart pub upgrade @@ -1361,7 +1361,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngrouter;commands:command_3" @@ -1371,12 +1371,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngrouter_pub_upgrade name: ngrouter; dart pub upgrade run: dart pub upgrade @@ -1409,7 +1409,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:ngtest;commands:command_3" @@ -1419,12 +1419,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: dev - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngtest_pub_upgrade name: ngtest; dart pub upgrade run: dart pub upgrade @@ -1457,7 +1457,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:_tests;commands:command_2" @@ -1467,12 +1467,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -1505,7 +1505,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:_tests;commands:command_1" @@ -1515,12 +1515,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: _tests_pub_upgrade name: _tests; dart pub upgrade run: dart pub upgrade @@ -1553,7 +1553,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngast;commands:test" @@ -1563,12 +1563,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngast_pub_upgrade name: ngast; dart pub upgrade run: dart pub upgrade @@ -1601,7 +1601,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngcompiler;commands:test" @@ -1611,12 +1611,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngcompiler_pub_upgrade name: ngcompiler; dart pub upgrade run: dart pub upgrade @@ -1649,7 +1649,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngforms;commands:command_3" @@ -1659,12 +1659,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngforms_pub_upgrade name: ngforms; dart pub upgrade run: dart pub upgrade @@ -1697,7 +1697,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngrouter;commands:command_3" @@ -1707,12 +1707,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngrouter_pub_upgrade name: ngrouter; dart pub upgrade run: dart pub upgrade @@ -1745,7 +1745,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache Pub hosted dependencies - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: "~/.pub-cache/hosted" key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:ngtest;commands:command_3" @@ -1755,12 +1755,12 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d + uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 with: sdk: stable - id: checkout name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - id: ngtest_pub_upgrade name: ngtest; dart pub upgrade run: dart pub upgrade diff --git a/_tests/pubspec.yaml b/_tests/pubspec.yaml index 94ee886575..21afcfec53 100644 --- a/_tests/pubspec.yaml +++ b/_tests/pubspec.yaml @@ -3,30 +3,32 @@ description: Tests for AngularDart. publish_to: none environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: build: ^2.4.1 - build_resolvers: ^2.4.1 - build_test: ^2.2.1 - collection: ^1.18.0 + build_resolvers: ^2.4.2 + build_test: ^2.2.2 + collection: ^1.19.1 glob: ^2.1.2 - js: ^0.6.7 - logging: ^1.2.0 - ngcompiler: ^3.0.0-dev.2 - ngdart: ^8.0.0-dev.3 + js: ^0.7.1 + logging: ^1.3.0 + ngcompiler: ^3.0.0-dev.3 + ngdart: ^8.0.0-dev.4 ngtest: ^5.0.0-dev.2 - source_gen: ^1.4.0 - test: ">=1.24.0 <1.25.0" + source_gen: ^1.5.0 + test: ^1.25.9 dev_dependencies: - 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.3 - package_config: ^2.1.0 - source_span: ^1.10.0 + analyzer: ^6.5.0 + build_runner: ^2.4.12 + build_web_compilers: ^4.0.11 + csslib: ^1.0.2 + lints: ^5.0.0 + meta: ^1.16.0 + mockito: ^5.4.4 + package_config: ^2.1.1 + source_span: ^1.10.1 term_glyph: ^1.2.1 diff --git a/_tests/pubspec_overrides.yaml b/_tests/pubspec_overrides.yaml deleted file mode 100644 index 11913f4d0c..0000000000 --- a/_tests/pubspec_overrides.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngcompiler,ngdart,ngtest -dependency_overrides: - ngast: - path: ../ngast - ngcompiler: - path: ../ngcompiler - ngdart: - path: ../ngdart - ngtest: - path: ../ngtest diff --git a/examples/hello_world/pubspec.yaml b/examples/hello_world/pubspec.yaml index b9aeeba154..841fc2a43f 100644 --- a/examples/hello_world/pubspec.yaml +++ b/examples/hello_world/pubspec.yaml @@ -1,13 +1,15 @@ name: examples_hello_world environment: - sdk: ">=3.0.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: # No strict dependencies, we always use dependency_overrides. ngdart: ^8.0.0-dev.4 dev_dependencies: - build_runner: ^2.4.6 - build_web_compilers: ^4.0.4 - lints: ^3.0.0 + build_runner: ^2.4.12 + build_web_compilers: ^4.0.11 + lints: ^5.0.0 diff --git a/examples/hello_world/pubspec_overrides.yaml b/examples/hello_world/pubspec_overrides.yaml deleted file mode 100644 index 44b7ff40ac..0000000000 --- a/examples/hello_world/pubspec_overrides.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngcompiler,ngdart -dependency_overrides: - ngast: - path: ../../ngast - ngcompiler: - path: ../../ngcompiler - ngdart: - path: ../../ngdart diff --git a/goldens/pubspec.yaml b/goldens/pubspec.yaml index 6e299fdf32..70d161efdd 100644 --- a/goldens/pubspec.yaml +++ b/goldens/pubspec.yaml @@ -3,17 +3,19 @@ description: Goldens for AngularDart. publish_to: none environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: - js: ^0.6.7 - meta: ^1.11.0 + js: ^0.7.1 + meta: ^1.16.0 ngdart: ^8.0.0-dev.4 dev_dependencies: - build_runner: ^2.4.6 - build_web_compilers: ^4.0.4 - dart_style: ^2.3.3 + build_runner: ^2.4.12 + build_web_compilers: ^4.0.11 + dart_style: ^2.3.7 glob: ^2.1.2 - lints: ^3.0.0 - path: ^1.8.3 + lints: ^5.0.0 + path: ^1.9.1 diff --git a/goldens/pubspec_overrides.yaml b/goldens/pubspec_overrides.yaml deleted file mode 100644 index d3a22b2c59..0000000000 --- a/goldens/pubspec_overrides.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngcompiler,ngdart -dependency_overrides: - ngast: - path: ../ngast - ngcompiler: - path: ../ngcompiler - ngdart: - path: ../ngdart diff --git a/ngast/lib/src/ast/content.dart b/ngast/lib/src/ast/content.dart index 69f23df213..2330c2c1ec 100644 --- a/ngast/lib/src/ast/content.dart +++ b/ngast/lib/src/ast/content.dart @@ -46,7 +46,7 @@ abstract mixin class EmbeddedContentAst implements StandaloneTemplateAst { /// /// May be null if and only if decorator 'select' is defined, /// but no value is assigned. - /// If 'select' is not defined at all (simple ), then the value + /// If 'select' is not defined at all (simple ``), then the value /// will default to '*'. String? get selector; @@ -58,7 +58,7 @@ abstract mixin class EmbeddedContentAst implements StandaloneTemplateAst { /// Reference assignment. ReferenceAst? get reference; - /// that is paired to this . + /// `` that is paired to this ``. CloseElementAst get closeComplement; set closeComplement(CloseElementAst closeComplement); diff --git a/ngast/lib/src/expression/micro/scanner.dart b/ngast/lib/src/expression/micro/scanner.dart index 93460a7f5f..34121b2706 100644 --- a/ngast/lib/src/expression/micro/scanner.dart +++ b/ngast/lib/src/expression/micro/scanner.dart @@ -55,8 +55,6 @@ class NgMicroScanner { return _scanLetAssignment(); case _NgMicroScannerState.scanLetIdentifier: return _scanLetIdentifier(); - default: - throw _unexpected(); } } diff --git a/ngast/lib/src/recovery_protocol/angular_analyzer_protocol.dart b/ngast/lib/src/recovery_protocol/angular_analyzer_protocol.dart index 895fd4f947..fc0af88a6a 100644 --- a/ngast/lib/src/recovery_protocol/angular_analyzer_protocol.dart +++ b/ngast/lib/src/recovery_protocol/angular_analyzer_protocol.dart @@ -1,4 +1,4 @@ -part of angular_ast.src.recovery_protocol.recovery_protocol; +part of 'recovery_protocol.dart'; class NgAnalyzerRecoveryProtocol extends RecoveryProtocol { @override diff --git a/ngast/lib/src/recovery_protocol/recovery_protocol.dart b/ngast/lib/src/recovery_protocol/recovery_protocol.dart index b35ae37e08..283038cc0f 100644 --- a/ngast/lib/src/recovery_protocol/recovery_protocol.dart +++ b/ngast/lib/src/recovery_protocol/recovery_protocol.dart @@ -1,5 +1,3 @@ -library angular_ast.src.recovery_protocol.recovery_protocol; - import '../parser/reader.dart'; import '../scanner.dart'; import '../token/tokens.dart'; diff --git a/ngast/lib/src/scanner.dart b/ngast/lib/src/scanner.dart index 4c0e853381..88ef4d0cb9 100644 --- a/ngast/lib/src/scanner.dart +++ b/ngast/lib/src/scanner.dart @@ -1206,8 +1206,8 @@ class NgScanner { } /// For consistency purposes: -/// Element `Open` indicates -/// Element `Close` indicates +/// Element `Open` indicates `` +/// Element `Close` indicates `` /// /// Start indicates the left bracket (< or or />) diff --git a/ngast/lib/src/token/lexeme.dart b/ngast/lib/src/token/lexeme.dart index 088bf3a4b1..129e5cd87e 100644 --- a/ngast/lib/src/token/lexeme.dart +++ b/ngast/lib/src/token/lexeme.dart @@ -1,4 +1,4 @@ -part of ngast.src.token.tokens; +part of 'tokens.dart'; /// A [NgSimpleToken] that has a custom lexeme, i.e. not predefined by type. /// diff --git a/ngast/lib/src/token/token_types.dart b/ngast/lib/src/token/token_types.dart index ccec7e7569..ba8e2665d2 100644 --- a/ngast/lib/src/token/token_types.dart +++ b/ngast/lib/src/token/token_types.dart @@ -1,4 +1,4 @@ -part of ngast.src.token.tokens; +part of 'tokens.dart'; /// The types of tokens that can be returned by the NgStringTokenizer enum NgSimpleTokenType { diff --git a/ngast/lib/src/token/tokens.dart b/ngast/lib/src/token/tokens.dart index c4fa59fd4f..ea7443232b 100644 --- a/ngast/lib/src/token/tokens.dart +++ b/ngast/lib/src/token/tokens.dart @@ -1,5 +1,3 @@ -library ngast.src.token.tokens; - part 'lexeme.dart'; part 'token_types.dart'; diff --git a/ngast/pubspec.yaml b/ngast/pubspec.yaml index d8b52d21b2..f32bed899b 100644 --- a/ngast/pubspec.yaml +++ b/ngast/pubspec.yaml @@ -4,16 +4,18 @@ version: 3.0.0-dev.2 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: - charcode: ^1.3.1 - collection: ^1.18.0 - meta: ^1.11.0 - source_span: ^1.10.0 - string_scanner: ^1.2.0 + charcode: ^1.4.0 + collection: ^1.19.1 + meta: ^1.16.0 + source_span: ^1.10.1 + string_scanner: ^1.4.0 dev_dependencies: - lints: ^2.1.0 - path: ^1.8.3 - test: ">=1.24.0 <1.25.0" + lints: ^5.0.0 + path: ^1.9.1 + test: ^1.25.9 diff --git a/ngast/test/random_generator_test/random_tester.dart b/ngast/test/random_generator_test/random_tester.dart index 79577b91b7..09259de3ca 100644 --- a/ngast/test/random_generator_test/random_tester.dart +++ b/ngast/test/random_generator_test/random_tester.dart @@ -80,8 +80,6 @@ NgSimpleTokenType generateRandomSimple(State state) { case State.text: var i = rng.nextInt(textMap.length); return textMap[i]; - default: - return NgSimpleTokenType.unexpectedChar; } } @@ -144,8 +142,6 @@ String generateHtmlString() { sb.write('lorem ipsum'); } break; - default: - sb.write(''); } } return sb.toString(); diff --git a/ngcompiler/lib/v1/cli.dart b/ngcompiler/lib/v1/cli.dart index 5eeca83cab..6e8f7c3b51 100644 --- a/ngcompiler/lib/v1/cli.dart +++ b/ngcompiler/lib/v1/cli.dart @@ -6,7 +6,7 @@ /// /// **NOTE**: This is not an externally stable API. Use at your own risk. @experimental -library angular_compiler.cli; +library; import 'package:meta/meta.dart'; diff --git a/ngcompiler/lib/v1/src/compiler/analyzed_class.dart b/ngcompiler/lib/v1/src/compiler/analyzed_class.dart index 9edb63c26f..7f9972bfbb 100644 --- a/ngcompiler/lib/v1/src/compiler/analyzed_class.dart +++ b/ngcompiler/lib/v1/src/compiler/analyzed_class.dart @@ -241,36 +241,37 @@ class _TypeResolver extends ast.AstVisitor { _implicitReceiverType = classElement.thisType; @override - DartType visitBinary(ast.Binary ast, _) { + DartType visitBinary(ast.Binary ast, dynamic context) { // Special case for adding two strings together. if (ast.operator == '+' && - ast.left.visit(this, _) == _stringType && - ast.right.visit(this, _) == _stringType) { + ast.left.visit(this, context) == _stringType && + ast.right.visit(this, context) == _stringType) { return _stringType; } return _dynamicType; } @override - DartType visitConditional(ast.Conditional ast, _) => _dynamicType; + DartType visitConditional(ast.Conditional ast, context) => _dynamicType; @override - DartType visitEmptyExpr(ast.EmptyExpr ast, _) => _dynamicType; + DartType visitEmptyExpr(ast.EmptyExpr ast, dynamic context) => _dynamicType; @override - DartType visitFunctionCall(ast.FunctionCall ast, _) => _dynamicType; + DartType visitFunctionCall(ast.FunctionCall ast, dynamic context) => + _dynamicType; @override - DartType visitIfNull(ast.IfNull ast, _) => _dynamicType; + DartType visitIfNull(ast.IfNull ast, dynamic context) => _dynamicType; @override - DartType visitImplicitReceiver(ast.ImplicitReceiver ast, _) => + DartType visitImplicitReceiver(ast.ImplicitReceiver ast, dynamic context) => _implicitReceiverType; @override - DartType visitInterpolation(ast.Interpolation ast, _) { + DartType visitInterpolation(ast.Interpolation ast, dynamic context) { if (ast.expressions.length == 1) { - final type = ast.expressions[0].visit(this, _); + final type = ast.expressions[0].visit(this, context); if (_isPrimitive(type)) { return type; } @@ -280,36 +281,37 @@ class _TypeResolver extends ast.AstVisitor { } @override - DartType visitKeyedRead(ast.KeyedRead ast, _) => _dynamicType; + DartType visitKeyedRead(ast.KeyedRead ast, dynamic context) => _dynamicType; @override - DartType visitKeyedWrite(ast.KeyedWrite ast, _) => _dynamicType; + DartType visitKeyedWrite(ast.KeyedWrite ast, dynamic context) => _dynamicType; @override - DartType visitLiteralPrimitive(ast.LiteralPrimitive ast, _) => + DartType visitLiteralPrimitive(ast.LiteralPrimitive ast, dynamic context) => ast.value is String ? _stringType : _dynamicType; @override - DartType visitMethodCall(ast.MethodCall ast, _) { - var receiverType = ast.receiver.visit(this, _); + DartType visitMethodCall(ast.MethodCall ast, dynamic context) { + var receiverType = ast.receiver.visit(this, context); return _lookupMethodReturnType(receiverType, ast.name); } @override - DartType visitNamedExpr(ast.NamedExpr ast, _) => _dynamicType; + DartType visitNamedExpr(ast.NamedExpr ast, dynamic context) => _dynamicType; @override - DartType visitPipe(ast.BindingPipe ast, _) => _dynamicType; + DartType visitPipe(ast.BindingPipe ast, dynamic context) => _dynamicType; @override - DartType visitPrefixNot(ast.PrefixNot ast, _) => _dynamicType; + DartType visitPrefixNot(ast.PrefixNot ast, dynamic context) => _dynamicType; @override - DartType visitPostfixNotNull(ast.PostfixNotNull ast, _) => _dynamicType; + DartType visitPostfixNotNull(ast.PostfixNotNull ast, dynamic context) => + _dynamicType; @override - DartType visitPropertyRead(ast.PropertyRead ast, _) { - var receiverType = ast.receiver.visit(this, _); + DartType visitPropertyRead(ast.PropertyRead ast, dynamic context) { + var receiverType = ast.receiver.visit(this, context); if (identical(receiverType, _implicitReceiverType)) { // This may be a local variable. for (var variableName in _variables.keys) { @@ -322,28 +324,30 @@ class _TypeResolver extends ast.AstVisitor { } @override - DartType visitPropertyWrite(ast.PropertyWrite ast, _) => _dynamicType; + DartType visitPropertyWrite(ast.PropertyWrite ast, dynamic context) => + _dynamicType; @override - DartType visitSafeMethodCall(ast.SafeMethodCall ast, _) { - var receiverType = ast.receiver.visit(this, _); + DartType visitSafeMethodCall(ast.SafeMethodCall ast, dynamic context) { + var receiverType = ast.receiver.visit(this, context); return _lookupMethodReturnType(receiverType, ast.name); } @override - DartType visitSafePropertyRead(ast.SafePropertyRead ast, _) { - var receiverType = ast.receiver.visit(this, _); + DartType visitSafePropertyRead(ast.SafePropertyRead ast, dynamic context) { + var receiverType = ast.receiver.visit(this, context); return _lookupGetterReturnType(receiverType, ast.name); } @override - DartType visitStaticRead(ast.StaticRead ast, _) => + DartType visitStaticRead(ast.StaticRead ast, dynamic context) => ast.id.analyzedClass == null ? _dynamicType : ast.id.analyzedClass!.classElement.thisType; @override - DartType visitVariableRead(ast.VariableRead ast, _) => _dynamicType; + DartType visitVariableRead(ast.VariableRead ast, dynamic context) => + _dynamicType; /// Returns the return type of [getterName] on [receiverType], if it exists. /// diff --git a/ngcompiler/lib/v1/src/compiler/ast_directive_normalizer.dart b/ngcompiler/lib/v1/src/compiler/ast_directive_normalizer.dart index 32711a70e0..841d059f63 100644 --- a/ngcompiler/lib/v1/src/compiler/ast_directive_normalizer.dart +++ b/ngcompiler/lib/v1/src/compiler/ast_directive_normalizer.dart @@ -186,7 +186,7 @@ class AstDirectiveNormalizer { ]; } - /// Parse the template, and visit to find . + /// Parse the template, and visit to find ``. List _parseTemplate( String template, CompileTypeMetadata directiveType, diff --git a/ngcompiler/lib/v1/src/compiler/output/dart_emitter.dart b/ngcompiler/lib/v1/src/compiler/output/dart_emitter.dart index ab08bb89fe..246fdc0c81 100644 --- a/ngcompiler/lib/v1/src/compiler/output/dart_emitter.dart +++ b/ngcompiler/lib/v1/src/compiler/output/dart_emitter.dart @@ -409,8 +409,6 @@ class _DartEmitterVisitor extends AbstractEmitterVisitor return '.addAll'; case o.BuiltinMethod.subscribeObservable: return 'listen'; - default: - throw StateError('Unknown builtin method: $method'); } } @@ -621,8 +619,6 @@ class _DartEmitterVisitor extends AbstractEmitterVisitor case o.BuiltinTypeName.voidName: typeStr = 'void'; break; - default: - throw StateError('Unsupported builtin type ${type.name}'); } if (type.modifiers.contains(o.TypeModifier.nullableModifier)) { final suffix = emitNullSafeSyntax ? '?' : '/*?*/'; diff --git a/ngcompiler/lib/v1/src/compiler/output/path_util.dart b/ngcompiler/lib/v1/src/compiler/output/path_util.dart index 1da770cb0b..50b51baaea 100644 --- a/ngcompiler/lib/v1/src/compiler/output/path_util.dart +++ b/ngcompiler/lib/v1/src/compiler/output/path_util.dart @@ -1,6 +1,6 @@ import 'dart:math' as math; -/// Matches asset:// +/// Matches `asset://` final _assetUrlRe = RegExp(r'asset:([^\/]+)\/([^\/]+)\/(.+)'); const _pathSep = '/'; final _pathSepRe = RegExp(r'\/'); diff --git a/ngcompiler/lib/v1/src/compiler/stylesheet_compiler/shadow_css.dart b/ngcompiler/lib/v1/src/compiler/stylesheet_compiler/shadow_css.dart index 6416b14839..7ed910f954 100644 --- a/ngcompiler/lib/v1/src/compiler/stylesheet_compiler/shadow_css.dart +++ b/ngcompiler/lib/v1/src/compiler/stylesheet_compiler/shadow_css.dart @@ -216,8 +216,10 @@ SimpleSelectorSequence _createPseudoClassSelectorSequence(String name) { /// TODO(leonsenft): remove if/when csslib supports Selector Level 4 grammar. /// /// Grammar: +/// ``` /// = /// [ ? ]* +/// ``` class _ComplexSelector { List<_CompoundSelector> compoundSelectors = []; @@ -258,7 +260,9 @@ class _ComplexSelector { /// TODO(leonsenft): remove if/when csslib supports Selector Level 4 grammar. /// /// Grammar: +/// ``` /// = + +/// ``` /// /// The [combinator] precedes the compound selector when included in a /// complex selector. diff --git a/ngcompiler/lib/v1/src/compiler/template_ast.dart b/ngcompiler/lib/v1/src/compiler/template_ast.dart index f61f785a92..cdf4e271d3 100644 --- a/ngcompiler/lib/v1/src/compiler/template_ast.dart +++ b/ngcompiler/lib/v1/src/compiler/template_ast.dart @@ -254,7 +254,7 @@ class ElementAst implements TemplateAst { visitor.visitElement(this, context); } -/// A element which serves as a logical container for grouping. +/// A `` element which serves as a logical container for grouping. class NgContainerAst implements TemplateAst { final List children; @override @@ -499,7 +499,7 @@ enum ProviderAstType { builtin } -/// Position where content is to be projected (instance of in +/// Position where content is to be projected (instance of `` in /// a template). class NgContentAst implements TemplateAst { final int index; diff --git a/ngcompiler/lib/v1/src/compiler/template_parser/ast_template_parser.dart b/ngcompiler/lib/v1/src/compiler/template_parser/ast_template_parser.dart index b09c2156c8..7ce71272bb 100644 --- a/ngcompiler/lib/v1/src/compiler/template_parser/ast_template_parser.dart +++ b/ngcompiler/lib/v1/src/compiler/template_parser/ast_template_parser.dart @@ -250,7 +250,7 @@ class AstTemplateParser { /// compiler types, which includes transformation of internationalized nodes. class _BindDirectivesVisitor implements ast.TemplateAstVisitor { - /// A count of how many elements have been seen so far. + /// A count of how many `` elements have been seen so far. /// /// This is necessary so that we can assign a unique index to each one as we /// visit it. @@ -975,7 +975,7 @@ class _ParseContext { int? findNgContentIndex(CssSelector selector) { if (_ngContentIndexMatcher == null) return _wildcardNgContentIndex; var ngContentIndices = []; - _ngContentIndexMatcher!.match(selector, (selector, ngContentIndex) { + _ngContentIndexMatcher.match(selector, (selector, ngContentIndex) { matchedNgContentSelectors.add(selector); ngContentIndices.add(ngContentIndex); }); diff --git a/ngcompiler/lib/v1/src/compiler/view_compiler/expression_converter.dart b/ngcompiler/lib/v1/src/compiler/view_compiler/expression_converter.dart index b6bc3e133f..f2629c8a9e 100644 --- a/ngcompiler/lib/v1/src/compiler/view_compiler/expression_converter.dart +++ b/ngcompiler/lib/v1/src/compiler/view_compiler/expression_converter.dart @@ -151,7 +151,9 @@ class _AstToExpressionVisitor if (_metadata.template!.preserveWhitespace! || value.contains('\u00A0') || value.contains(ngSpace) || - !value.contains('\n')) return replaceNgSpace(value); + !value.contains('\n')) { + return replaceNgSpace(value); + } return replaceNgSpace(value.replaceAll('\n', '').trimLeft()); } @@ -161,7 +163,9 @@ class _AstToExpressionVisitor if (_metadata.template!.preserveWhitespace! || value.contains('\u00A0') || value.contains(ngSpace) || - !value.contains('\n')) return replaceNgSpace(value); + !value.contains('\n')) { + return replaceNgSpace(value); + } return replaceNgSpace(value.replaceAll('\n', '').trimRight()); } diff --git a/ngcompiler/lib/v1/src/compiler/view_compiler/update_statement_visitor.dart b/ngcompiler/lib/v1/src/compiler/view_compiler/update_statement_visitor.dart index 34449c413d..506ae6ca10 100644 --- a/ngcompiler/lib/v1/src/compiler/view_compiler/update_statement_visitor.dart +++ b/ngcompiler/lib/v1/src/compiler/view_compiler/update_statement_visitor.dart @@ -269,9 +269,6 @@ o.Expression _sanitizedValue( case TemplateSecurityContext.resourceUrl: method = SafeHtmlAdapters.sanitizeResourceUrl; break; - default: - throw ArgumentError('internal error, unexpected ' - 'TemplateSecurityContext $securityContext.'); } return o.importExpr(method).callFn([renderValue]); } diff --git a/ngcompiler/lib/v1/src/compiler/view_compiler/view_builder.dart b/ngcompiler/lib/v1/src/compiler/view_compiler/view_builder.dart index d81debb1c7..2fb7d6debf 100644 --- a/ngcompiler/lib/v1/src/compiler/view_compiler/view_builder.dart +++ b/ngcompiler/lib/v1/src/compiler/view_compiler/view_builder.dart @@ -601,8 +601,6 @@ o.Constructor? _createViewConstructor(CompileView view) { // Host views have no constructor parameters, thus don't require an // explicit constructor. return null; - default: - throw StateError('Unsupported $ViewType: ${view.viewType}'); } } @@ -687,8 +685,6 @@ o.Expression _createParentClassExpr(CompileView view) { return o.importExpr(Views.embeddedView, typeParams: typeArgs); case ViewType.host: return o.importExpr(Views.hostView, typeParams: typeArgs); - default: - throw StateError('Unsupported $ViewType: ${view.viewType}'); } } @@ -907,8 +903,6 @@ o.Statement? _generateInitStatement(CompileView view) { // Host views should have exactly one root node. view.rootNodesOrViewContainers.single, ]).toStmt(); - default: - throw StateError('Unsupported $ViewType: ${view.viewType}'); } } diff --git a/ngcompiler/lib/v2/analyzer.dart b/ngcompiler/lib/v2/analyzer.dart index 7bf01e57c9..51d10546ff 100644 --- a/ngcompiler/lib/v2/analyzer.dart +++ b/ngcompiler/lib/v2/analyzer.dart @@ -26,7 +26,7 @@ extension NullableDartType on DartType? { return type.nullabilitySuffix == NullabilitySuffix.question; } - /// A FutureOr can still be assigned null. + /// A `FutureOr` can still be assigned null. bool get _isFutureOrWithExplicitlyNullableValue => this!.isDartAsyncFutureOr && (this as ParameterizedType).typeArguments.first.isExplicitlyNullable; diff --git a/ngcompiler/pubspec.yaml b/ngcompiler/pubspec.yaml index 46ae31bb4a..78a2db4998 100644 --- a/ngcompiler/pubspec.yaml +++ b/ngcompiler/pubspec.yaml @@ -7,26 +7,28 @@ version: 3.0.0-dev.3 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: - analyzer: ^6.0.0 - args: ^2.4.2 + analyzer: ^6.5.0 + args: ^2.6.0 build: ^2.4.1 - code_builder: ^4.7.0 - collection: ^1.18.0 - csslib: ^1.0.0 - dart_style: ^2.3.2 - logging: ^1.2.0 - meta: ^1.11.0 + code_builder: ^4.10.1 + collection: ^1.19.1 + csslib: ^1.0.2 + dart_style: ^2.3.7 + logging: ^1.3.0 + meta: ^1.16.0 ngast: ^3.0.0-dev.2 ngdart: ^8.0.0-dev.4 - path: ^1.8.3 - source_gen: ^1.4.0 - source_span: ^1.10.0 + path: ^1.9.1 + source_gen: ^1.5.0 + source_span: ^1.10.1 dev_dependencies: - build_test: ^2.2.1 - lints: ^2.1.0 - package_config: ^2.1.0 - test: ">=1.24.0 <1.25.0" + build_test: ^2.2.2 + lints: ^5.0.0 + package_config: ^2.1.1 + test: ^1.25.9 diff --git a/ngcompiler/pubspec_overrides.yaml b/ngcompiler/pubspec_overrides.yaml deleted file mode 100644 index 6db1c59d6d..0000000000 --- a/ngcompiler/pubspec_overrides.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngdart -dependency_overrides: - ngast: - path: ../ngast - ngdart: - path: ../ngdart diff --git a/ngdart/lib/angular.dart b/ngdart/lib/angular.dart index b8eecb2b2c..297f37b162 100644 --- a/ngdart/lib/angular.dart +++ b/ngdart/lib/angular.dart @@ -15,7 +15,7 @@ /// [AngularDart guide]: https://webdev.dartlang.org/angular/guide /// [cheatsheet]: https://webdev.dartlang.org/angular/cheatsheet -library angular; +library; export 'src/bootstrap/run.dart' show runApp, runAppAsync; export 'src/common/directives.dart'; diff --git a/ngdart/lib/di.dart b/ngdart/lib/di.dart index f597b0fb64..cfca58a920 100644 --- a/ngdart/lib/di.dart +++ b/ngdart/lib/di.dart @@ -4,6 +4,8 @@ /// //third_party/dart/angular/lib/di.dart, which exports this file. /// /// See go/angular-di.dart-deprecated. +library; + export 'src/di/injector.dart' show Injector, InjectorFactory; export 'src/meta.dart' show diff --git a/ngdart/lib/experimental.dart b/ngdart/lib/experimental.dart index a1fd1b996a..4e3a37bff8 100644 --- a/ngdart/lib/experimental.dart +++ b/ngdart/lib/experimental.dart @@ -6,7 +6,7 @@ /// /// **Warning:** No API exposed as part of this package is considered stable. @experimental -library angular.experimental; +library; import 'package:meta/meta.dart'; import 'package:ngdart/angular.dart'; diff --git a/ngdart/lib/src/build.dart b/ngdart/lib/src/build.dart index 49057d0a31..04658d5552 100644 --- a/ngdart/lib/src/build.dart +++ b/ngdart/lib/src/build.dart @@ -7,7 +7,7 @@ /// This library is **not** intended to be imported by typical end-users unless /// you are creating a custom compilation pipeline. See documentation for /// details, and `build.yaml` for how these builders are configured by default. -library angular.builder; +library; import 'package:build/build.dart'; import 'package:ngcompiler/v1/angular_compiler.dart'; diff --git a/ngdart/lib/src/common/directives/ng_class.dart b/ngdart/lib/src/common/directives/ng_class.dart index 19ba422a90..643536e664 100644 --- a/ngdart/lib/src/common/directives/ng_class.dart +++ b/ngdart/lib/src/common/directives/ng_class.dart @@ -144,9 +144,9 @@ class NgClass implements DoCheck, OnDestroy { } } - /// If [rawClassVal] is an Iterable, it should only contain string values, - /// but it is OK if the Iterable itself is Iterable or - /// Iterable since we need to walk it in this method anyway. + /// If [rawClassVal] is an `Iterable`, it should only contain string values, + /// but it is OK if the `Iterable` itself is [Iterable] or + /// `Iterable` since we need to walk it in this method anyway. /// /// Likewise, if [rawClassVal] is a Map, its keys should all be strings. void _applyClasses(Object? /* Iterable | Map */ rawClassVal, bool isCleanup) { diff --git a/ngdart/lib/src/core/change_detection.dart b/ngdart/lib/src/core/change_detection.dart index a8340baa4e..0434c9598b 100644 --- a/ngdart/lib/src/core/change_detection.dart +++ b/ngdart/lib/src/core/change_detection.dart @@ -1,4 +1,5 @@ /// Change detection enables data binding in Angular. +library; export 'change_detection/change_detection.dart' show diff --git a/ngdart/lib/src/devtools.dart b/ngdart/lib/src/devtools.dart index 2a19b9322f..12e991ebfd 100644 --- a/ngdart/lib/src/devtools.dart +++ b/ngdart/lib/src/devtools.dart @@ -1,5 +1,5 @@ @JS() -library angular.src.devtools; +library; import 'dart:html' as html; diff --git a/ngdart/lib/src/meta.dart b/ngdart/lib/src/meta.dart index aa67dfb539..7c5304cd41 100644 --- a/ngdart/lib/src/meta.dart +++ b/ngdart/lib/src/meta.dart @@ -1,6 +1,3 @@ -// **DO NOT CHANGE**. The analyzer looks for this _specific name_. -library angular.meta; - export 'meta/change_detection_constants.dart'; export 'meta/change_detection_link.dart'; export 'meta/di_arguments.dart'; diff --git a/ngdart/lib/src/meta/lifecycle_hooks.dart b/ngdart/lib/src/meta/lifecycle_hooks.dart index 15d36b7d2f..3d1b092b1d 100644 --- a/ngdart/lib/src/meta/lifecycle_hooks.dart +++ b/ngdart/lib/src/meta/lifecycle_hooks.dart @@ -7,7 +7,7 @@ /// - `afterViewInit`, /// - `afterViewChecked`, /// - `onDestroy` (at the very end before destruction) -library lifecycle_hooks; +library; /// Implement this interface to get notified when any data-bound property of /// your directive is changed by the Angular framework. diff --git a/ngdart/lib/src/runtime/dom_helpers.dart b/ngdart/lib/src/runtime/dom_helpers.dart index aa702dc741..358fd35587 100644 --- a/ngdart/lib/src/runtime/dom_helpers.dart +++ b/ngdart/lib/src/runtime/dom_helpers.dart @@ -2,7 +2,7 @@ /// imports `dart:html` and `runtime.dart` is currently used on libraries /// that expect to only run on the command-line VM. @JS() -library angular.src.runtime.dom_helpers; +library; import 'dart:html' hide document; diff --git a/ngdart/lib/src/runtime/interpolate.dart b/ngdart/lib/src/runtime/interpolate.dart index 7faa60806d..bc6295107b 100644 --- a/ngdart/lib/src/runtime/interpolate.dart +++ b/ngdart/lib/src/runtime/interpolate.dart @@ -1,4 +1,5 @@ /// Functions that are used to process interpolations (e.g. `{{ ... }}`). +library; /// Fallback for an expression that has more than two successive interpolations. /// diff --git a/ngdart/lib/src/security/safe_html_adapter.dart b/ngdart/lib/src/security/safe_html_adapter.dart index ee4d990f75..c8f0216c9f 100644 --- a/ngdart/lib/src/security/safe_html_adapter.dart +++ b/ngdart/lib/src/security/safe_html_adapter.dart @@ -1,6 +1,7 @@ /// The top-level methods are intended to be used only by code generated by the /// compiler when it "sees" that a potential unsafe operation would otherwise be /// used (i.e. `
`). +library; import 'dom_sanitization_service.dart'; diff --git a/ngdart/lib/src/testability/js_api.dart b/ngdart/lib/src/testability/js_api.dart index 1da4f644c4..31cd9c5981 100644 --- a/ngdart/lib/src/testability/js_api.dart +++ b/ngdart/lib/src/testability/js_api.dart @@ -1,5 +1,5 @@ @JS() -library angular.src.testability.js_api; +library; import 'dart:html'; diff --git a/ngdart/lib/src/testability/testability.dart b/ngdart/lib/src/testability/testability.dart index 2895c9360a..b5d7c9b353 100644 --- a/ngdart/lib/src/testability/testability.dart +++ b/ngdart/lib/src/testability/testability.dart @@ -1,5 +1,5 @@ @JS() -library angular.src.testability; +library; import 'dart:async'; import 'dart:html' show Element; diff --git a/ngdart/pubspec.yaml b/ngdart/pubspec.yaml index ad3285d394..64b697e893 100644 --- a/ngdart/pubspec.yaml +++ b/ngdart/pubspec.yaml @@ -6,23 +6,25 @@ version: 8.0.0-dev.4 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: build: ^2.4.1 built_collection: ^5.1.1 - built_value: ^8.7.0 - collection: ^1.18.0 - intl: ^0.18.1 - js: ^0.6.7 - meta: ^1.11.0 + built_value: ^8.9.2 + collection: ^1.19.1 + intl: ^0.19.0 + js: ^0.7.1 + meta: ^1.16.0 ngcompiler: ^3.0.0-dev.3 stream_transform: ^2.1.0 dev_dependencies: - lints: ^2.1.0 + lints: ^5.0.0 # minimal versions to support null safety and class modifiers - build_runner: ^2.4.6 - build_web_compilers: ^4.0.4 + build_runner: ^2.4.12 + build_web_compilers: ^4.0.11 watcher: ^1.1.0 diff --git a/ngdart/pubspec_overrides.yaml b/ngdart/pubspec_overrides.yaml deleted file mode 100644 index 4bd94bc367..0000000000 --- a/ngdart/pubspec_overrides.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngcompiler -dependency_overrides: - ngast: - path: ../ngast - ngcompiler: - path: ../ngcompiler diff --git a/ngforms/lib/ngforms.dart b/ngforms/lib/ngforms.dart index fc115faa61..3799c099fd 100644 --- a/ngforms/lib/ngforms.dart +++ b/ngforms/lib/ngforms.dart @@ -5,7 +5,7 @@ /// /// This module is not included in the `angular` module; you must import the /// forms module explicitly. -library ngforms; // name the library so we can run dartdoc on it by name. +library; // name the library so we can run dartdoc on it by name. import 'src/directives/radio_control_value_accessor.dart' show RadioControlRegistry; diff --git a/ngforms/lib/src/directives/select_control_value_accessor.dart b/ngforms/lib/src/directives/select_control_value_accessor.dart index 733fad76c1..eacc4e27a8 100644 --- a/ngforms/lib/src/directives/select_control_value_accessor.dart +++ b/ngforms/lib/src/directives/select_control_value_accessor.dart @@ -96,7 +96,7 @@ class NgSelectOption implements OnDestroy { late final String id; NgSelectOption(HtmlElement element, @Optional() @Host() this._select) : _element = element as OptionElement { - if (_select != null) id = _select!._registerOption(); + if (_select != null) id = _select._registerOption(); } @Input('ngValue') diff --git a/ngforms/pubspec.yaml b/ngforms/pubspec.yaml index 9edcc41a9c..fd5776aa3e 100644 --- a/ngforms/pubspec.yaml +++ b/ngforms/pubspec.yaml @@ -6,17 +6,19 @@ version: 5.0.0-dev.3 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: - meta: ^1.11.0 + meta: ^1.16.0 ngdart: ^8.0.0-dev.4 dev_dependencies: - build_runner: ^2.4.6 - build_test: ^2.2.1 - build_web_compilers: ^4.0.4 - lints: ^2.1.0 - mockito: ^5.4.3 - ngtest: ^5.0.0-dev.3 - test: ">=1.24.0 <1.25.0" + build_runner: ^2.4.12 + build_test: ^2.2.2 + build_web_compilers: ^4.0.11 + lints: ^5.0.0 + mockito: ^5.4.4 + ngtest: ^5.0.0-dev.2 + test: ^1.25.9 diff --git a/ngforms/pubspec_overrides.yaml b/ngforms/pubspec_overrides.yaml deleted file mode 100644 index 11913f4d0c..0000000000 --- a/ngforms/pubspec_overrides.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngcompiler,ngdart,ngtest -dependency_overrides: - ngast: - path: ../ngast - ngcompiler: - path: ../ngcompiler - ngdart: - path: ../ngdart - ngtest: - path: ../ngtest diff --git a/ngrouter/lib/ngrouter.dart b/ngrouter/lib/ngrouter.dart index c108f9f02a..1f5a2aa1d2 100644 --- a/ngrouter/lib/ngrouter.dart +++ b/ngrouter/lib/ngrouter.dart @@ -1,6 +1,6 @@ /// Maps application URLs into application states, to support deep-linking and /// navigation. -library ngrouter; +library; export 'src/constants.dart' show diff --git a/ngrouter/pubspec.yaml b/ngrouter/pubspec.yaml index 0a5ec0cb96..74fef0244e 100644 --- a/ngrouter/pubspec.yaml +++ b/ngrouter/pubspec.yaml @@ -6,18 +6,20 @@ version: 4.0.0-dev.3 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: - collection: ^1.18.0 + collection: ^1.19.1 ngdart: ^8.0.0-dev.4 dev_dependencies: - async: ^2.11.0 - build_runner: ^2.4.6 - build_test: ^2.2.1 - build_web_compilers: ^4.0.4 - lints: ^2.1.0 - mockito: ^5.4.3 - ngtest: ^5.0.0-dev.3 - test: ">=1.24.0 <1.25.0" + async: ^2.12.0 + build_runner: ^2.4.12 + build_test: ^2.2.2 + build_web_compilers: ^4.0.11 + lints: ^5.0.0 + mockito: ^5.4.4 + ngtest: ^5.0.0-dev.2 + test: ^1.25.9 diff --git a/ngrouter/pubspec_overrides.yaml b/ngrouter/pubspec_overrides.yaml deleted file mode 100644 index 11913f4d0c..0000000000 --- a/ngrouter/pubspec_overrides.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngcompiler,ngdart,ngtest -dependency_overrides: - ngast: - path: ../ngast - ngcompiler: - path: ../ngcompiler - ngdart: - path: ../ngdart - ngtest: - path: ../ngtest diff --git a/ngrouter/test/lifecycle_test.dart b/ngrouter/test/lifecycle_test.dart index ba28974a50..8c4e09b4e7 100644 --- a/ngrouter/test/lifecycle_test.dart +++ b/ngrouter/test/lifecycle_test.dart @@ -523,8 +523,8 @@ class FirstReusableChildComponent extends RouterLifecycleLogger { ) : super('$FirstReusableChildComponent', instanceIds, lifecycleLog); @override - Future canReuse(_, __) async { - await super.canReuse(_, __); + Future canReuse(RouterState current, RouterState next) async { + await super.canReuse(current, next); return true; } } @@ -598,8 +598,8 @@ class ReusableParentComponent extends RouterLifecycleLogger { ) : super('$ReusableParentComponent', instanceIds, lifecycleLog); @override - Future canReuse(_, __) async { - await super.canReuse(_, __); + Future canReuse(RouterState current, RouterState next) async { + await super.canReuse(current, next); return true; } } @@ -669,8 +669,8 @@ class FirstReusableParentComponent extends RouterLifecycleLogger { ) : super('$FirstReusableParentComponent', instanceIds, lifecycleLog); @override - Future canReuse(_, __) async { - await super.canReuse(_, __); + Future canReuse(RouterState current, RouterState next) async { + await super.canReuse(current, next); return true; } } diff --git a/ngtest/lib/compatibility.dart b/ngtest/lib/compatibility.dart index 82b40de09e..feaa4083cf 100644 --- a/ngtest/lib/compatibility.dart +++ b/ngtest/lib/compatibility.dart @@ -4,7 +4,7 @@ /// `ngtest.dart` for any new code or for new users of this package. APIs /// may change at _any time_ without adhering strictly to sem-ver. @experimental -library angular_test.compatibility; +library; import 'package:meta/meta.dart'; diff --git a/ngtest/lib/ngtest.dart b/ngtest/lib/ngtest.dart index 0cd58c5b36..3d3396c3b5 100644 --- a/ngtest/lib/ngtest.dart +++ b/ngtest/lib/ngtest.dart @@ -1,4 +1,4 @@ -library angular_test; // name the library so we can run dartdoc on it by name. +library; // name the library so we can run dartdoc on it by name. export 'src/errors.dart' show TestAlreadyRunningError; export 'src/frontend.dart' diff --git a/ngtest/pubspec.yaml b/ngtest/pubspec.yaml index 60a4ceb721..ed7170430f 100644 --- a/ngtest/pubspec.yaml +++ b/ngtest/pubspec.yaml @@ -6,16 +6,18 @@ version: 5.0.0-dev.3 repository: https://github.com/angulardart-community/angular environment: - sdk: ">=3.1.0 <4.0.0" + sdk: ">=3.6.0 <4.0.0" + +resolution: workspace dependencies: - collection: ^1.18.0 - meta: ^1.11.0 + collection: ^1.19.1 + meta: ^1.16.0 ngdart: ^8.0.0-dev.4 dev_dependencies: - build_runner: ^2.4.6 - build_test: ^2.2.1 - build_web_compilers: ^4.0.4 - lints: ^2.1.0 - test: ">=1.24.0 <1.25.0" + build_runner: ^2.4.12 + build_test: ^2.2.2 + build_web_compilers: ^4.0.11 + lints: ^5.0.0 + test: ^1.25.9 diff --git a/ngtest/pubspec_overrides.yaml b/ngtest/pubspec_overrides.yaml deleted file mode 100644 index d3a22b2c59..0000000000 --- a/ngtest/pubspec_overrides.yaml +++ /dev/null @@ -1,8 +0,0 @@ -# melos_managed_dependency_overrides: ngast,ngcompiler,ngdart -dependency_overrides: - ngast: - path: ../ngast - ngcompiler: - path: ../ngcompiler - ngdart: - path: ../ngdart diff --git a/pubspec.yaml b/pubspec.yaml index a6f47c0c7b..9b43654bb3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,8 +1,22 @@ name: angular_workspace +publish_to: none environment: - sdk: '>=3.0.0 <4.0.0' + sdk: ">=3.6.0 <4.0.0" + +workspace: + - ngast + - ngcompiler + - ngdart + - ngforms + - ngrouter + - ngtest + + - examples/hello_world + + - _tests + - goldens dev_dependencies: - lints: ^2.1.0 - melos: ^3.2.0 + lints: ^5.1.0 + melos: ^6.2.0 diff --git a/tool/ci.sh b/tool/ci.sh index 52fcc1a779..8feb0b2841 100755 --- a/tool/ci.sh +++ b/tool/ci.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Created with package:mono_repo v6.6.1 +# Created with package:mono_repo v6.6.2 # Support built in commands on windows out of the box. diff --git a/tool/package_versions.yaml b/tool/package_versions.yaml index 384667a68c..d6344b5329 100644 --- a/tool/package_versions.yaml +++ b/tool/package_versions.yaml @@ -1,37 +1,37 @@ -sdk: ">=3.1.0 <4.0.0" +sdk: ">=3.6.0 <4.0.0" -analyzer: ^6.0.0 -args: ^2.4.2 -async: ^2.11.0 +analyzer: ^6.5.0 +args: ^2.6.0 +async: ^2.12.0 +build_resolvers: ^2.4.2 +build_runner: ^2.4.12 +build_test: ^2.2.2 +build_web_compilers: ^4.0.11 build: ^2.4.1 built_collection: ^5.1.1 -build_resolvers: ^2.4.1 -build_runner: ^2.4.6 -build_test: ^2.2.1 -built_value: ^8.7.0 -build_web_compilers: ^4.0.4 -charcode: ^1.3.1 -code_builder: ^4.7.0 -collection: ^1.18.0 -csslib: ^1.0.0 -dart_style: ^2.3.2 +built_value: ^8.9.2 +charcode: ^1.4.0 +code_builder: ^4.10.1 +collection: ^1.19.1 +csslib: ^1.0.2 +dart_style: ^2.3.7 glob: ^2.1.2 -intl: ^0.18.1 -js: ^0.6.7 -logging: ^1.2.0 -lints: ^2.1.0 -meta: ^1.11.0 -mockito: ^5.4.3 -ngast: ^3.0.0-dev.1 -ngcompiler: ^3.0.0-dev.2 -ngdart: ^8.0.0-dev.3 +intl: ^0.19.0 +js: ^0.7.1 +lints: ^5.0.0 +logging: ^1.3.0 +meta: ^1.16.0 +mockito: ^5.4.4 +ngast: ^3.0.0-dev.2 +ngcompiler: ^3.0.0-dev.3 +ngdart: ^8.0.0-dev.4 ngtest: ^5.0.0-dev.2 -package_config: ^2.1.0 -path: ^1.8.3 -source_gen: ^1.4.0 -source_span: ^1.10.0 -string_scanner: ^1.2.0 +package_config: ^2.1.1 +path: ^1.9.1 +source_gen: ^1.5.0 +source_span: ^1.10.1 stream_transform: ^2.1.0 +string_scanner: ^1.4.0 term_glyph: ^1.2.1 -test: ">=1.24.0 <1.25.0" +test: ^1.25.9 watcher: ^1.1.0 diff --git a/tool/update_versions.dart b/tool/update_versions.dart index 1fd8a2e528..c1c7765929 100644 --- a/tool/update_versions.dart +++ b/tool/update_versions.dart @@ -1,7 +1,5 @@ import 'dart:io'; -final packageFolderRe = RegExp('(_|ng)'); - final packageEntryRe = RegExp('^ (\\w+): (.+)\$', multiLine: true); void main() { @@ -24,19 +22,18 @@ void main() { return ' ${match[1]}: ${versions[match[1]]}'; } - var offset = Directory.current.path.length + 1; - - Directory.current.listSync().whereType().forEach((directory) { - var directoryName = directory.path.substring(offset); - - if (directoryName.startsWith(packageFolderRe)) { - var pubspecFile = File.fromUri(directory.uri.resolve('pubspec.yaml')); + void update(Directory directory) { + var pubspecFile = File.fromUri(directory.uri.resolve('pubspec.yaml')); - if (pubspecFile.existsSync()) { - var oldPubspec = pubspecFile.readAsStringSync(); - var newContent = oldPubspec.replaceAllMapped(packageEntryRe, replace); - pubspecFile.writeAsStringSync(newContent); - } + if (pubspecFile.existsSync()) { + var oldPubspec = pubspecFile.readAsStringSync(); + var newContent = oldPubspec.replaceAllMapped(packageEntryRe, replace); + pubspecFile.writeAsStringSync(newContent); } - }); + } + + Directory.current + .listSync(recursive: true) + .whereType() + .forEach(update); }