This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-8-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d79af4b0db2627d7e0ed0550149779ccbe8378f9 Author: Jarek Potiuk <[email protected]> AuthorDate: Sun Jan 28 08:38:49 2024 +0100 Upgrade yarn stack in pre-commits (#37048) The openapi-typescripts 6.7.4 generates slightly different typescript output and fails pre-commit. Using that opportunity to upgrade the environment for typescript/www compilation. Upgrading yarn to latest version and adding openapi-typescript to the dependencies will trigger re-creation of pre-commit venvs and make it the same for everyone (cherry picked from commit 3b3494c16d8987489fdd2b8d5fdf685346e6afe1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47e03c2c04..e558331a86 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -801,7 +801,7 @@ repos: files: ^airflow/www/ entry: ./scripts/ci/pre_commit/pre_commit_compile_www_assets.py pass_filenames: false - additional_dependencies: ['[email protected]'] + additional_dependencies: ['[email protected]'] - id: compile-www-assets-dev name: Compile www assets in dev mode (manual) language: node @@ -810,7 +810,7 @@ repos: files: ^airflow/www/ entry: ./scripts/ci/pre_commit/pre_commit_compile_www_assets_dev.py pass_filenames: false - additional_dependencies: ['[email protected]'] + additional_dependencies: ['[email protected]'] - id: check-providers-init-file-missing name: Provider init file is missing pass_filenames: false @@ -1060,7 +1060,7 @@ repos: 'types_or': [javascript, ts, tsx, yaml, css, json] files: ^airflow/www/static/js/|^airflow/api_connexion/openapi/v1\.yaml$ entry: ./scripts/ci/pre_commit/pre_commit_www_lint.py - additional_dependencies: ['[email protected]'] + additional_dependencies: ['[email protected]', "openapi-typescript@>=6.7.4"] pass_filenames: false - id: check-tests-unittest-testcase name: Check that unit tests do not inherit from unittest.TestCase
