Rollup merge of #144315 - lolbinarycat:bootstrap-dist-package.json, r=Kobzol
bootstrap: add package.json and package-lock.json to dist tarball
this ensures that js-related tests can still be run from within such a dist tarball.
followup to rust-lang/rust#142924
r? ```````@Kobzol```````
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs
index 39e4fb2..c8a54ad 100644
--- a/src/bootstrap/src/core/build_steps/dist.rs
+++ b/src/bootstrap/src/core/build_steps/dist.rs
@@ -1068,6 +1068,8 @@ fn run(self, builder: &Builder<'_>) -> GeneratedTarball {
"bootstrap.example.toml",
"configure",
"license-metadata.json",
+ "package-lock.json",
+ "package.json",
"x",
"x.ps1",
"x.py",