diff --git a/.changeset/brave-tigers-occur.md b/.changeset/brave-tigers-occur.md new file mode 100644 index 000000000..f52a9ef2d --- /dev/null +++ b/.changeset/brave-tigers-occur.md @@ -0,0 +1,5 @@ +--- +"@rnx-kit/metro-serializer-esbuild": patch +--- + +Bump esbuild to 0.18 to include a number of `tsconfig.json` related fixes (see https://github.com/evanw/esbuild/releases/tag/v0.18.0) diff --git a/packages/esbuild-plugin-import-path-remapper/package.json b/packages/esbuild-plugin-import-path-remapper/package.json index e68f22499..879b93b7d 100644 --- a/packages/esbuild-plugin-import-path-remapper/package.json +++ b/packages/esbuild-plugin-import-path-remapper/package.json @@ -22,7 +22,7 @@ }, "devDependencies": { "@rnx-kit/scripts": "*", - "esbuild": "^0.17.0", + "esbuild": "^0.18.0", "eslint": "^8.0.0", "jest": "^29.2.1", "prettier": "^2.8.0", diff --git a/packages/metro-serializer-esbuild/package.json b/packages/metro-serializer-esbuild/package.json index 8350bc677..4c1cbb0d0 100644 --- a/packages/metro-serializer-esbuild/package.json +++ b/packages/metro-serializer-esbuild/package.json @@ -24,7 +24,7 @@ "@rnx-kit/console": "^1.0.11", "@rnx-kit/tools-node": "^2.0.0", "@rnx-kit/tools-react-native": "^1.3.1", - "esbuild": "^0.17.0", + "esbuild": "^0.18.0", "esbuild-plugin-lodash": "^1.2.0", "fast-glob": "^3.2.7", "semver": "^7.0.0" diff --git a/scripts/align-deps-preset.js b/scripts/align-deps-preset.js index ff06c8b21..dc38571a4 100644 --- a/scripts/align-deps-preset.js +++ b/scripts/align-deps-preset.js @@ -31,7 +31,7 @@ const profile = { }, esbuild: { name: "esbuild", - version: "^0.17.0", + version: "^0.18.0", }, eslint: { name: "eslint", diff --git a/scripts/package.json b/scripts/package.json index a494ca918..423496633 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "depcheck": "^1.0.0", - "esbuild": "^0.17.0", + "esbuild": "^0.18.0", "eslint": "^8.0.0", "jest": "^29.2.1", "markdown-table": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 5595d6855..a4c307155 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1984,156 +1984,156 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/android-arm64@npm:0.17.18" +"@esbuild/android-arm64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/android-arm64@npm:0.18.2" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@esbuild/android-arm@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/android-arm@npm:0.17.18" +"@esbuild/android-arm@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/android-arm@npm:0.18.2" conditions: os=android & cpu=arm languageName: node linkType: hard -"@esbuild/android-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/android-x64@npm:0.17.18" +"@esbuild/android-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/android-x64@npm:0.18.2" conditions: os=android & cpu=x64 languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/darwin-arm64@npm:0.17.18" +"@esbuild/darwin-arm64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/darwin-arm64@npm:0.18.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/darwin-x64@npm:0.17.18" +"@esbuild/darwin-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/darwin-x64@npm:0.18.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/freebsd-arm64@npm:0.17.18" +"@esbuild/freebsd-arm64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/freebsd-arm64@npm:0.18.2" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/freebsd-x64@npm:0.17.18" +"@esbuild/freebsd-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/freebsd-x64@npm:0.18.2" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-arm64@npm:0.17.18" +"@esbuild/linux-arm64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-arm64@npm:0.18.2" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-arm@npm:0.17.18" +"@esbuild/linux-arm@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-arm@npm:0.18.2" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-ia32@npm:0.17.18" +"@esbuild/linux-ia32@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-ia32@npm:0.18.2" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-loong64@npm:0.17.18" +"@esbuild/linux-loong64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-loong64@npm:0.18.2" conditions: os=linux & cpu=loong64 languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-mips64el@npm:0.17.18" +"@esbuild/linux-mips64el@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-mips64el@npm:0.18.2" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-ppc64@npm:0.17.18" +"@esbuild/linux-ppc64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-ppc64@npm:0.18.2" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-riscv64@npm:0.17.18" +"@esbuild/linux-riscv64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-riscv64@npm:0.18.2" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-s390x@npm:0.17.18" +"@esbuild/linux-s390x@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-s390x@npm:0.18.2" conditions: os=linux & cpu=s390x languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/linux-x64@npm:0.17.18" +"@esbuild/linux-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/linux-x64@npm:0.18.2" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/netbsd-x64@npm:0.17.18" +"@esbuild/netbsd-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/netbsd-x64@npm:0.18.2" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/openbsd-x64@npm:0.17.18" +"@esbuild/openbsd-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/openbsd-x64@npm:0.18.2" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/sunos-x64@npm:0.17.18" +"@esbuild/sunos-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/sunos-x64@npm:0.18.2" conditions: os=sunos & cpu=x64 languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/win32-arm64@npm:0.17.18" +"@esbuild/win32-arm64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/win32-arm64@npm:0.18.2" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/win32-ia32@npm:0.17.18" +"@esbuild/win32-ia32@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/win32-ia32@npm:0.18.2" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.17.18": - version: 0.17.18 - resolution: "@esbuild/win32-x64@npm:0.17.18" +"@esbuild/win32-x64@npm:0.18.2": + version: 0.18.2 + resolution: "@esbuild/win32-x64@npm:0.18.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3539,7 +3539,7 @@ __metadata: resolution: "@rnx-kit/esbuild-plugin-import-path-remapper@workspace:packages/esbuild-plugin-import-path-remapper" dependencies: "@rnx-kit/scripts": "*" - esbuild: ^0.17.0 + esbuild: ^0.18.0 eslint: ^8.0.0 jest: ^29.2.1 prettier: ^2.8.0 @@ -3747,7 +3747,7 @@ __metadata: "@types/metro-config": ^0.76.0 "@types/metro-transform-worker": ^0.76.0 "@types/semver": ^7.0.0 - esbuild: ^0.17.0 + esbuild: ^0.18.0 esbuild-plugin-lodash: ^1.2.0 eslint: ^8.0.0 fast-glob: ^3.2.7 @@ -3945,7 +3945,7 @@ __metadata: dependencies: "@types/jest": ^29.2.1 depcheck: ^1.0.0 - esbuild: ^0.17.0 + esbuild: ^0.18.0 eslint: ^8.0.0 jest: ^29.2.1 markdown-table: ^3.0.0 @@ -6798,32 +6798,32 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.17.0": - version: 0.17.18 - resolution: "esbuild@npm:0.17.18" - dependencies: - "@esbuild/android-arm": 0.17.18 - "@esbuild/android-arm64": 0.17.18 - "@esbuild/android-x64": 0.17.18 - "@esbuild/darwin-arm64": 0.17.18 - "@esbuild/darwin-x64": 0.17.18 - "@esbuild/freebsd-arm64": 0.17.18 - "@esbuild/freebsd-x64": 0.17.18 - "@esbuild/linux-arm": 0.17.18 - "@esbuild/linux-arm64": 0.17.18 - "@esbuild/linux-ia32": 0.17.18 - "@esbuild/linux-loong64": 0.17.18 - "@esbuild/linux-mips64el": 0.17.18 - "@esbuild/linux-ppc64": 0.17.18 - "@esbuild/linux-riscv64": 0.17.18 - "@esbuild/linux-s390x": 0.17.18 - "@esbuild/linux-x64": 0.17.18 - "@esbuild/netbsd-x64": 0.17.18 - "@esbuild/openbsd-x64": 0.17.18 - "@esbuild/sunos-x64": 0.17.18 - "@esbuild/win32-arm64": 0.17.18 - "@esbuild/win32-ia32": 0.17.18 - "@esbuild/win32-x64": 0.17.18 +"esbuild@npm:^0.18.0": + version: 0.18.2 + resolution: "esbuild@npm:0.18.2" + dependencies: + "@esbuild/android-arm": 0.18.2 + "@esbuild/android-arm64": 0.18.2 + "@esbuild/android-x64": 0.18.2 + "@esbuild/darwin-arm64": 0.18.2 + "@esbuild/darwin-x64": 0.18.2 + "@esbuild/freebsd-arm64": 0.18.2 + "@esbuild/freebsd-x64": 0.18.2 + "@esbuild/linux-arm": 0.18.2 + "@esbuild/linux-arm64": 0.18.2 + "@esbuild/linux-ia32": 0.18.2 + "@esbuild/linux-loong64": 0.18.2 + "@esbuild/linux-mips64el": 0.18.2 + "@esbuild/linux-ppc64": 0.18.2 + "@esbuild/linux-riscv64": 0.18.2 + "@esbuild/linux-s390x": 0.18.2 + "@esbuild/linux-x64": 0.18.2 + "@esbuild/netbsd-x64": 0.18.2 + "@esbuild/openbsd-x64": 0.18.2 + "@esbuild/sunos-x64": 0.18.2 + "@esbuild/win32-arm64": 0.18.2 + "@esbuild/win32-ia32": 0.18.2 + "@esbuild/win32-x64": 0.18.2 dependenciesMeta: "@esbuild/android-arm": optional: true @@ -6871,7 +6871,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 900b333f649fd89804216fb61fb5a0ffadc6dc37a2ec3b5981b588f72821676ea649a7c0ec785f0dbe6e774080b084c8af5f6ee7adbc1b138faf2a8c35e2c69c + checksum: 64d82cc5fa1280f1730f96fdb9a74a23effb01de63d020c99f9090ea792fe78199daf083e842eccd3a55ccbad3d1bafb2f4b86280b6c8ce203fa309f06312597 languageName: node linkType: hard