From 08791984c45d3c394b1d8901c5fc1b1ba19e241a Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Mon, 16 Oct 2023 16:56:19 -0700 Subject: [PATCH] fix: typescript real version --- example/BUILD.bazel | 2 ++ example/package.json | 2 +- example/pnpm-lock.yaml | 58 ++++++++++++++++++++---------------------- example/tools/BUILD | 2 ++ 4 files changed, 33 insertions(+), 31 deletions(-) diff --git a/example/BUILD.bazel b/example/BUILD.bazel index c2844cdf..a6c7c34a 100644 --- a/example/BUILD.bazel +++ b/example/BUILD.bazel @@ -27,6 +27,8 @@ py_console_script_binary( name = "flake8_w_bzlmod", pkg = "@pip//flake8:pkg", script = "flake8", + # Doesn't build without --enable_bzlmod + tags = ["manual"], ) # We can test that it works with: diff --git a/example/package.json b/example/package.json index eb6980a5..f89fea69 100644 --- a/example/package.json +++ b/example/package.json @@ -3,7 +3,7 @@ "eslint": "*", "@typescript-eslint/parser": "*", "@typescript-eslint/eslint-plugin": "*", - "typescript": "5.0", + "typescript": "5.2.2", "prettier": "^2.8.7", "prettier-plugin-sh": "^0.12.8", "prettier-plugin-sql": "^0.14.0" diff --git a/example/pnpm-lock.yaml b/example/pnpm-lock.yaml index 6d41462a..f9e97729 100644 --- a/example/pnpm-lock.yaml +++ b/example/pnpm-lock.yaml @@ -9,16 +9,16 @@ specifiers: prettier: ^2.8.7 prettier-plugin-sh: ^0.12.8 prettier-plugin-sql: ^0.14.0 - typescript: "5.0" + typescript: 5.2.2 devDependencies: - "@typescript-eslint/eslint-plugin": 5.59.1_2utyh6gct5glvuz6qwradubqqa - "@typescript-eslint/parser": 5.59.1_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/eslint-plugin": 5.59.1_s7tc7mfzw6pvu3se7cfx7zjaxi + "@typescript-eslint/parser": 5.59.1_xmsvftvx6yvzy57laf66jxvaua eslint: 8.39.0 prettier: 2.8.8_whkmnyg4gs3djzcukwmxxipg5m prettier-plugin-sh: 0.12.8_prettier@2.8.8 prettier-plugin-sql: 0.14.0_prettier@2.8.8 - typescript: 5.0.4 + typescript: 5.2.2 packages: /@eslint-community/eslint-utils/4.4.0_eslint@8.39.0: @@ -182,7 +182,7 @@ packages: } dev: true - /@typescript-eslint/eslint-plugin/5.59.1_2utyh6gct5glvuz6qwradubqqa: + /@typescript-eslint/eslint-plugin/5.59.1_s7tc7mfzw6pvu3se7cfx7zjaxi: resolution: { integrity: sha512-AVi0uazY5quFB9hlp2Xv+ogpfpk77xzsgsIEWyVS7uK/c7MZ5tw7ZPbapa0SbfkqE0fsAMkz5UwtgMLVk2BQAg==, @@ -199,23 +199,23 @@ packages: optional: true dependencies: "@eslint-community/regexpp": 4.5.0 - "@typescript-eslint/parser": 5.59.1_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/parser": 5.59.1_xmsvftvx6yvzy57laf66jxvaua "@typescript-eslint/scope-manager": 5.59.1 - "@typescript-eslint/type-utils": 5.59.1_iacogk7kkaymxepzhgcbytyi7q - "@typescript-eslint/utils": 5.59.1_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/type-utils": 5.59.1_xmsvftvx6yvzy57laf66jxvaua + "@typescript-eslint/utils": 5.59.1_xmsvftvx6yvzy57laf66jxvaua debug: 4.3.4 eslint: 8.39.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 semver: 7.5.0 - tsutils: 3.21.0_typescript@5.0.4 - typescript: 5.0.4 + tsutils: 3.21.0_typescript@5.2.2 + typescript: 5.2.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.59.1_iacogk7kkaymxepzhgcbytyi7q: + /@typescript-eslint/parser/5.59.1_xmsvftvx6yvzy57laf66jxvaua: resolution: { integrity: sha512-nzjFAN8WEu6yPRDizIFyzAfgK7nybPodMNFGNH0M9tei2gYnYszRDqVA0xlnRjkl7Hkx2vYrEdb6fP2a21cG1g==, @@ -232,10 +232,10 @@ packages: dependencies: "@typescript-eslint/scope-manager": 5.59.1 "@typescript-eslint/types": 5.59.1 - "@typescript-eslint/typescript-estree": 5.59.1_typescript@5.0.4 + "@typescript-eslint/typescript-estree": 5.59.1_typescript@5.2.2 debug: 4.3.4 eslint: 8.39.0 - typescript: 5.0.4 + typescript: 5.2.2 transitivePeerDependencies: - supports-color dev: true @@ -253,7 +253,7 @@ packages: "@typescript-eslint/visitor-keys": 5.59.1 dev: true - /@typescript-eslint/type-utils/5.59.1_iacogk7kkaymxepzhgcbytyi7q: + /@typescript-eslint/type-utils/5.59.1_xmsvftvx6yvzy57laf66jxvaua: resolution: { integrity: sha512-ZMWQ+Oh82jWqWzvM3xU+9y5U7MEMVv6GLioM3R5NJk6uvP47kZ7YvlgSHJ7ERD6bOY7Q4uxWm25c76HKEwIjZw==, @@ -268,12 +268,12 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/typescript-estree": 5.59.1_typescript@5.0.4 - "@typescript-eslint/utils": 5.59.1_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/typescript-estree": 5.59.1_typescript@5.2.2 + "@typescript-eslint/utils": 5.59.1_xmsvftvx6yvzy57laf66jxvaua debug: 4.3.4 eslint: 8.39.0 - tsutils: 3.21.0_typescript@5.0.4 - typescript: 5.0.4 + tsutils: 3.21.0_typescript@5.2.2 + typescript: 5.2.2 transitivePeerDependencies: - supports-color dev: true @@ -288,7 +288,7 @@ packages: engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dev: true - /@typescript-eslint/typescript-estree/5.59.1_typescript@5.0.4: + /@typescript-eslint/typescript-estree/5.59.1_typescript@5.2.2: resolution: { integrity: sha512-lYLBBOCsFltFy7XVqzX0Ju+Lh3WPIAWxYpmH/Q7ZoqzbscLiCW00LeYCdsUnnfnj29/s1WovXKh2gwCoinHNGA==, @@ -308,13 +308,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.0 - tsutils: 3.21.0_typescript@5.0.4 - typescript: 5.0.4 + tsutils: 3.21.0_typescript@5.2.2 + typescript: 5.2.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.59.1_iacogk7kkaymxepzhgcbytyi7q: + /@typescript-eslint/utils/5.59.1_xmsvftvx6yvzy57laf66jxvaua: resolution: { integrity: sha512-MkTe7FE+K1/GxZkP5gRj3rCztg45bEhsd8HYjczBuYm+qFHP5vtZmjx3B0yUCDotceQ4sHgTyz60Ycl225njmA==, @@ -330,7 +330,7 @@ packages: "@types/semver": 7.3.13 "@typescript-eslint/scope-manager": 5.59.1 "@typescript-eslint/types": 5.59.1 - "@typescript-eslint/typescript-estree": 5.59.1_typescript@5.0.4 + "@typescript-eslint/typescript-estree": 5.59.1_typescript@5.2.2 eslint: 8.39.0 eslint-scope: 5.1.1 semver: 7.5.0 @@ -1996,7 +1996,7 @@ packages: } dev: true - /tsutils/3.21.0_typescript@5.0.4: + /tsutils/3.21.0_typescript@5.2.2: resolution: { integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==, @@ -2008,7 +2008,7 @@ packages: typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" dependencies: tslib: 1.14.1 - typescript: 5.0.4 + typescript: 5.2.2 dev: true /type-check/0.4.0: @@ -2033,14 +2033,12 @@ packages: engines: { node: ">=10" } dev: true - /typescript/5.0.4: + /typescript/5.2.2: resolution: { - integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==, - registry: https://registry.npmjs.com/, - tarball: https://registry.npmjs.com/typescript/-/typescript-5.0.4.tgz, + integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==, } - engines: { node: ">=12.20" } + engines: { node: ">=14.17" } hasBin: true dev: true diff --git a/example/tools/BUILD b/example/tools/BUILD index f6946343..b1a4af25 100644 --- a/example/tools/BUILD +++ b/example/tools/BUILD @@ -34,6 +34,8 @@ py_console_script_binary( name = "black_w_bzlmod", pkg = "@pip//black:pkg", script = "black", + # Doesn't build without --enable_bzlmod + tags = ["manual"], ) # bazel run :black -- --help