From f59a3bd7f27f24f3c678faa0948bbd70db4092e1 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Tue, 20 Feb 2024 18:18:53 +0100 Subject: [PATCH] build: don't explicitly install ts eslint parser (#5311) @typescript-eslint/parser is a transitory dependency, don't explicitly install it so it doesn't conflict with other requirements. --- dependencies/package-lock.json | 8 +++++++- dependencies/package.json | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dependencies/package-lock.json b/dependencies/package-lock.json index 4fa69f76..feda2347 100644 --- a/dependencies/package-lock.json +++ b/dependencies/package-lock.json @@ -14,7 +14,6 @@ "@react-native/eslint-config": "^0.73.2", "@stoplight/spectral-cli": "^6.11.0", "@typescript-eslint/eslint-plugin": "^7.0.0", - "@typescript-eslint/parser": "^6.20.0", "asl-validator": "^3.8.2", "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4", @@ -6980,6 +6979,7 @@ "version": "6.20.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "6.20.0", "@typescript-eslint/types": "6.20.0", @@ -7007,6 +7007,7 @@ "version": "6.20.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", + "peer": true, "dependencies": { "@typescript-eslint/types": "6.20.0", "@typescript-eslint/visitor-keys": "6.20.0" @@ -7023,6 +7024,7 @@ "version": "6.20.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", + "peer": true, "engines": { "node": "^16.0.0 || >=18.0.0" }, @@ -7035,6 +7037,7 @@ "version": "6.20.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", + "peer": true, "dependencies": { "@typescript-eslint/types": "6.20.0", "@typescript-eslint/visitor-keys": "6.20.0", @@ -7062,6 +7065,7 @@ "version": "6.20.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", + "peer": true, "dependencies": { "@typescript-eslint/types": "6.20.0", "eslint-visitor-keys": "^3.4.1" @@ -7078,6 +7082,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "peer": true, "dependencies": { "balanced-match": "^1.0.0" } @@ -7086,6 +7091,7 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "peer": true, "dependencies": { "brace-expansion": "^2.0.1" }, diff --git a/dependencies/package.json b/dependencies/package.json index 5a0719c9..92767c6b 100644 --- a/dependencies/package.json +++ b/dependencies/package.json @@ -9,7 +9,6 @@ "@react-native/eslint-config": "^0.73.2", "@stoplight/spectral-cli": "^6.11.0", "@typescript-eslint/eslint-plugin": "^7.0.0", - "@typescript-eslint/parser": "^6.20.0", "asl-validator": "^3.8.2", "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4",