mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
* fix npm install on windows * try again * again * copy less file * revert changes * remove package.json from git * okay * now?
14 lines
301 B
TypeScript
14 lines
301 B
TypeScript
import { importBun, optimizeBun } from "../src/npm/install";
|
|
import { execFileSync } from "child_process";
|
|
|
|
importBun()
|
|
.then(bun => {
|
|
return execFileSync(bun, process.argv.slice(2), {
|
|
stdio: "inherit",
|
|
});
|
|
})
|
|
.catch(error => {
|
|
console.error(error);
|
|
process.exit(1);
|
|
});
|