chore(server): keep the legacy service entry point to the npm package only (#11770)
Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
9130d932f4
commit
f328db30da
5 files changed
+25
-92
No files matched your search
@@ -389,7 +389,7 @@ const stageLauncherPackage = Effect.fn("stageLauncherPackage")(function* (input:
|
||||
// Older service updaters and launchers run this exact path with Node.
|
||||
// Keep it in the package so they can preflight and start the new executable.
|
||||
yield* fs.makeDirectory(path.join(stageDir, "dist"));
|
||||
yield* fs.writeFileString(path.join(stageDir, "dist/bin.mjs"), legacyCliLauncherScript("npm"));
|
||||
yield* fs.writeFileString(path.join(stageDir, "dist/bin.mjs"), legacyCliLauncherScript());
|
||||
const readme = yield* path.fromFileUrl(new URL("../apps/server/README.md", import.meta.url));
|
||||
if (yield* fs.exists(readme)) {
|
||||
yield* fs.copyFile(readme, path.join(stageDir, "README.md"));
|
||||
|
||||
Reference in new issue
Block a user