tests: Remove babel-plugin-rewire-ts.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-08 02:58:40 -08:00 committed by Tim Abbott
parent aab541bd4e
commit 2f2a207ae0
4 changed files with 1 additions and 11 deletions

View File

@ -119,7 +119,6 @@
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"babel-plugin-istanbul": "^7.0.0",
"babel-plugin-rewire-ts": "^1.4.0",
"callsites": "^3.1.0",
"cldr-annotations-derived-modern": "^45.0.0",
"cldr-annotations-modern": "^45.0.0",

View File

@ -365,9 +365,6 @@ importers:
babel-plugin-istanbul:
specifier: ^7.0.0
version: 7.0.0
babel-plugin-rewire-ts:
specifier: ^1.4.0
version: 1.4.0
callsites:
specifier: ^3.1.0
version: 3.1.0
@ -3048,9 +3045,6 @@ packages:
peerDependencies:
'@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
babel-plugin-rewire-ts@1.4.0:
resolution: {integrity: sha512-XVyyWMIx1fNSG42vbUaAro1LANLs/fBW6KurYaeoVjS2U8zLCaow7LKll6zjs1cwcqcbZK2v59zVouPs+JAqxw==}
babel-plugin-syntax-jsx@6.18.0:
resolution: {integrity: sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw==}
@ -12149,8 +12143,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
babel-plugin-rewire-ts@1.4.0: {}
babel-plugin-syntax-jsx@6.18.0: {}
bail@2.0.2: {}

View File

@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 319 # Last bumped for message-link class
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = (298, 1) # bumped 2024-11-05 to upgrade shfmt
PROVISION_VERSION = (299, 0) # bumped 2024-11-08 to remove babel-plugin-rewire-ts

View File

@ -40,7 +40,6 @@ require("@babel/register")({
],
plugins: [
...(process.env.USING_INSTRUMENTED_CODE ? [["istanbul", {exclude: []}]] : []),
"babel-plugin-rewire-ts",
["@babel/plugin-transform-modules-commonjs", {lazy: () => true}],
],
root: path.resolve(__dirname, "../.."),