fix(npm): preserve explicit setup versions (#465)

* fix(npm): refresh stale setup bootstraps

* fix(npm): preserve explicit setup versions

* docs: distinguish first-run and refresh setup
This commit is contained in:
morluto
2026-08-10 02:59:52 +08:00
committed by GitHub
parent ed4a62871f
commit 1783bf6dfd
13 changed files with 34 additions and 296 deletions
-8
View File
@@ -13,10 +13,6 @@ describe("executable dispatcher", () => {
await workspace.mkdir("dist");
await Promise.all([
copyFile("scripts/rea.mjs", join(scripts, "rea.mjs")),
copyFile(
"scripts/package-runner-bootstrap.mjs",
join(scripts, "package-runner-bootstrap.mjs"),
),
workspace.write(
"package.json",
JSON.stringify({ type: "module", version: "1.0.0" }),
@@ -72,10 +68,6 @@ describe("executable dispatcher", () => {
const scripts = await workspace.mkdir("scripts");
await Promise.all([
copyFile("scripts/rea.mjs", join(scripts, "rea.mjs")),
copyFile(
"scripts/package-runner-bootstrap.mjs",
join(scripts, "package-runner-bootstrap.mjs"),
),
workspace.write(
"package.json",
JSON.stringify({ type: "module", version: "1.0.0" }),