From 41ab94bc8029cc14bec667fe597e885f53e1efc7 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Sat, 5 Aug 2023 11:30:24 -0400 Subject: [PATCH] docs: added Babel to Dependency Version Upgrades --- .../Dependency_Version_Upgrades.mdx | 10 +++ package.json | 12 ++-- yarn.lock | 61 ++++++++++++------- 3 files changed, 56 insertions(+), 27 deletions(-) diff --git a/docs/maintenance/Dependency_Version_Upgrades.mdx b/docs/maintenance/Dependency_Version_Upgrades.mdx index 25903f3f5352..2da6e3d6dab6 100644 --- a/docs/maintenance/Dependency_Version_Upgrades.mdx +++ b/docs/maintenance/Dependency_Version_Upgrades.mdx @@ -3,6 +3,16 @@ id: dependency-version-upgrades title: Dependency Version Upgrades --- +## Babel + +Our published packages only depend on `@babel/*` packages as devDependencies. +You can generally upgrade those dependencies with: + +1. `yarn add -DW @babel/code-frame @babel/core @babel/eslint-parser @babel/parser @babel/types` +2. `npx nx run ast-spec:test -u` + +The fixtures under `packages/ast-spec/` describe how the files are parsed under both Babel and our (TSESTree) parser. + ## ESLint The typescript-eslint repository contains four kinds of version ranges for the `eslint` package: diff --git a/package.json b/package.json index cd6d2e250b10..7779b5cb65ff 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,8 @@ "@actions/core": "^1.10.0", "@actions/github": "^5.1.1", "@babel/code-frame": "^7.22.5", - "@babel/core": "^7.22.8", - "@babel/eslint-parser": "^7.22.7", + "@babel/core": "^7.22.9", + "@babel/eslint-parser": "^7.22.9", "@babel/parser": "^7.22.7", "@babel/types": "^7.22.5", "@nrwl/nx-cloud": "16.1.1", @@ -70,8 +70,8 @@ "@types/babel__core": "^7.20.1", "@types/debug": "^4.1.8", "@types/is-glob": "^4.0.2", - "@types/jest-specific-snapshot": "^0.5.6", "@types/jest": "29.5.3", + "@types/jest-specific-snapshot": "^0.5.6", "@types/marked": "^5.0.0", "@types/natural-compare": "^1.4.1", "@types/ncp": "^2.0.5", @@ -83,8 +83,8 @@ "cross-fetch": "^4.0.0", "cspell": "^6.31.1", "downlevel-dts": ">=0.11.0", - "eslint-plugin-deprecation": "^1.4.1", "eslint": "^8.44.0", + "eslint-plugin-deprecation": "^1.4.1", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-eslint-plugin": "^5.1.0", "eslint-plugin-import": "^2.27.5", @@ -97,18 +97,18 @@ "execa": "7.1.1", "glob": "^10.3.3", "husky": "^8.0.3", + "jest": "29.6.2", "jest-diff": "^29.6.1", "jest-snapshot": "^29.6.1", "jest-specific-snapshot": "^8.0.0", - "jest": "29.6.2", "lerna": "7.1.4", "lint-staged": "^13.2.3", "make-dir": "^4.0.0", "markdownlint-cli": "^0.35.0", "ncp": "^2.0.0", "netlify": "^13.1.9", - "nx-cloud": "16.1.1", "nx": "16.5.3", + "nx-cloud": "16.1.1", "patch-package": "^7.0.0", "prettier": "^2.8.4", "pretty-format": "^29.6.1", diff --git a/yarn.lock b/yarn.lock index 42169d148750..8043d39e3acf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -196,7 +196,7 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== -"@babel/core@*", "@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.15.0", "@babel/core@^7.15.5", "@babel/core@^7.18.6", "@babel/core@^7.22.8": +"@babel/core@*", "@babel/core@^7.11.1", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.15.0", "@babel/core@^7.15.5", "@babel/core@^7.18.6", "@babel/core@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.9.tgz#bd96492c68822198f33e8a256061da3cf391f58f" integrity sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w== @@ -239,7 +239,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/eslint-parser@*", "@babel/eslint-parser@^7.22.7": +"@babel/eslint-parser@*", "@babel/eslint-parser@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.22.9.tgz#75f8aa978d1e76c87cc6f26c1ea16ae58804d390" integrity sha512-xdMkt39/nviO/4vpVdrEYPwXCsYIXSSAr6mC7WQsNIlGnuxKyKE7GZjalcnbSWiC4OXGNNN3UQPeHfjSC6sTDA== @@ -3634,10 +3634,12 @@ "@svgr/plugin-svgo" "^6.2.0" "@swc/core-android-arm-eabi@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-android-arm64@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-darwin-arm64@1.3.70": version "1.3.70" @@ -3650,25 +3652,32 @@ integrity sha512-GMFJ65E18zQC80t0os+TZvI+8lbRuitncWVge/RXmXbVLPRcdykP4EJ87cqzcG5Ah0z18/E0T+ixD6jHRisrYQ== "@swc/core-freebsd-x64@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-linux-arm-gnueabihf@1.3.70": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-linux-arm-gnueabihf@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-linux-arm64-gnu@1.3.70": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-linux-arm64-gnu@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-linux-arm64-musl@1.3.70": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-linux-arm64-musl@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-linux-x64-gnu@1.3.70": version "1.3.70" @@ -3681,16 +3690,20 @@ integrity sha512-HoOsPJbt361KGKaivAK0qIiYARkhzlxeAfvF5NlnKxkIMOZpQ46Lwj3tR0VWohKbrhS+cYKFlVuDi5XnDkx0XA== "@swc/core-win32-arm64-msvc@1.3.70": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-win32-arm64-msvc@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-win32-ia32-msvc@1.3.70": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-win32-ia32-msvc@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@swc/core-win32-x64-msvc@1.3.70": version "1.3.70" @@ -3852,10 +3865,12 @@ "@types/ms" "*" "@types/eslint-scope@^3.7.3": - version "1.0.0" + version "0.0.0" + uid "" "@types/eslint-scope@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@types/eslint-visitor-keys@*": version "3.3.0" @@ -3865,16 +3880,20 @@ eslint-visitor-keys "*" "@types/eslint@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@types/estree@0.0.39": - version "1.0.0" + version "0.0.0" + uid "" "@types/estree@^1.0.0": - version "1.0.0" + version "0.0.0" + uid "" "@types/estree@link:./tools/dummypkg": - version "1.0.0" + version "0.0.0" + uid "" "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18": version "4.17.28" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy