From 8b8b073fd9a0bf940f82cafb593752b00cbbd30f Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Wed, 13 Nov 2024 19:42:51 +0100 Subject: [PATCH] Temporarily downgrade rspack to workaround broken live reload See https://github.com/facebook/docusaurus/issues/10664 --- package.json | 7 ++-- yarn.lock | 92 ++++++++++++++++++++++++++-------------------------- 2 files changed, 51 insertions(+), 48 deletions(-) diff --git a/package.json b/package.json index 9331a40597..b3bc78be50 100755 --- a/package.json +++ b/package.json @@ -35,6 +35,10 @@ "markdownlint-cli2": "^0.14.0", "prettier": "^3.3.3" }, + "resolutions": { + "@rspack/core": "1.0.14" + }, + "packageManager": "yarn@4.0.2", "browserslist": { "production": [ ">0.2%", @@ -46,6 +50,5 @@ "last 1 firefox version", "last 1 safari version" ] - }, - "packageManager": "yarn@4.0.2" + } } diff --git a/yarn.lock b/yarn.lock index 00329ae07a..85187316df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2554,82 +2554,82 @@ __metadata: languageName: node linkType: hard -"@rspack/binding-darwin-arm64@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-darwin-arm64@npm:1.1.0" +"@rspack/binding-darwin-arm64@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-darwin-arm64@npm:1.0.14" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rspack/binding-darwin-x64@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-darwin-x64@npm:1.1.0" +"@rspack/binding-darwin-x64@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-darwin-x64@npm:1.0.14" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rspack/binding-linux-arm64-gnu@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-linux-arm64-gnu@npm:1.1.0" +"@rspack/binding-linux-arm64-gnu@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-linux-arm64-gnu@npm:1.0.14" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rspack/binding-linux-arm64-musl@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-linux-arm64-musl@npm:1.1.0" +"@rspack/binding-linux-arm64-musl@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-linux-arm64-musl@npm:1.0.14" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rspack/binding-linux-x64-gnu@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-linux-x64-gnu@npm:1.1.0" +"@rspack/binding-linux-x64-gnu@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-linux-x64-gnu@npm:1.0.14" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rspack/binding-linux-x64-musl@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-linux-x64-musl@npm:1.1.0" +"@rspack/binding-linux-x64-musl@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-linux-x64-musl@npm:1.0.14" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rspack/binding-win32-arm64-msvc@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-win32-arm64-msvc@npm:1.1.0" +"@rspack/binding-win32-arm64-msvc@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-win32-arm64-msvc@npm:1.0.14" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rspack/binding-win32-ia32-msvc@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-win32-ia32-msvc@npm:1.1.0" +"@rspack/binding-win32-ia32-msvc@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-win32-ia32-msvc@npm:1.0.14" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rspack/binding-win32-x64-msvc@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding-win32-x64-msvc@npm:1.1.0" +"@rspack/binding-win32-x64-msvc@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding-win32-x64-msvc@npm:1.0.14" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@rspack/binding@npm:1.1.0": - version: 1.1.0 - resolution: "@rspack/binding@npm:1.1.0" - dependencies: - "@rspack/binding-darwin-arm64": "npm:1.1.0" - "@rspack/binding-darwin-x64": "npm:1.1.0" - "@rspack/binding-linux-arm64-gnu": "npm:1.1.0" - "@rspack/binding-linux-arm64-musl": "npm:1.1.0" - "@rspack/binding-linux-x64-gnu": "npm:1.1.0" - "@rspack/binding-linux-x64-musl": "npm:1.1.0" - "@rspack/binding-win32-arm64-msvc": "npm:1.1.0" - "@rspack/binding-win32-ia32-msvc": "npm:1.1.0" - "@rspack/binding-win32-x64-msvc": "npm:1.1.0" +"@rspack/binding@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/binding@npm:1.0.14" + dependencies: + "@rspack/binding-darwin-arm64": "npm:1.0.14" + "@rspack/binding-darwin-x64": "npm:1.0.14" + "@rspack/binding-linux-arm64-gnu": "npm:1.0.14" + "@rspack/binding-linux-arm64-musl": "npm:1.0.14" + "@rspack/binding-linux-x64-gnu": "npm:1.0.14" + "@rspack/binding-linux-x64-musl": "npm:1.0.14" + "@rspack/binding-win32-arm64-msvc": "npm:1.0.14" + "@rspack/binding-win32-ia32-msvc": "npm:1.0.14" + "@rspack/binding-win32-x64-msvc": "npm:1.0.14" dependenciesMeta: "@rspack/binding-darwin-arm64": optional: true @@ -2649,16 +2649,16 @@ __metadata: optional: true "@rspack/binding-win32-x64-msvc": optional: true - checksum: 4b339affc42a4806b3357f3af92dacabf462b469f44f320e2223eabf00881fefb9f87df229defb7586dcfbe572397247272259e426c50a2a2353e32a5b14ad52 + checksum: e8e6f99327486276d69a5c497aa0708f090c5ed29c62f605c0d6e4958f8f3486ef261257071b2e25895d548562bd0e93c4ac46601418ea6f0330e9ac9290290a languageName: node linkType: hard -"@rspack/core@npm:^1.0.14": - version: 1.1.0 - resolution: "@rspack/core@npm:1.1.0" +"@rspack/core@npm:1.0.14": + version: 1.0.14 + resolution: "@rspack/core@npm:1.0.14" dependencies: "@module-federation/runtime-tools": "npm:0.5.1" - "@rspack/binding": "npm:1.1.0" + "@rspack/binding": "npm:1.0.14" "@rspack/lite-tapable": "npm:1.0.1" caniuse-lite: "npm:^1.0.30001616" peerDependencies: @@ -2666,7 +2666,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: eda0765868c01c8b759afb1439b33be7881a16a3b27a864e6eac8a9fe5ed6697da9abd36621316edbc881c697661cda76ac3be408b079b4a43590f711b735e4b + checksum: c65feb69d7765b3232df2e937d2aeb56529544751c2d75c637a4e124deb6a54c170ad6eafd36ee3cbd671c661d2361543dc7af9920bbe1d82dde60d33113df4c languageName: node linkType: hard