Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ try {
console.error(
"talent-agent requires the Bun runtime.\n\n" +
" Install it: curl -fsSL https://bun.sh/install | bash\n" +
" Learn more: https://bun.sh\n",
" Then restart your terminal (or run: source ~/.bashrc)\n",
);
process.exit(1);
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"files": [
"src",
"skills",
"bin"
"bin",
"scripts/postinstall.js"
],
"exports": {
".": "./src/lib.ts",
Expand Down
2 changes: 1 addition & 1 deletion scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ console.log("");
if (!hasBun) {
console.log(" Bun runtime is required but was not found.");
console.log(" Install it: curl -fsSL https://bun.sh/install | bash");
console.log(" Learn more: https://bun.sh");
console.log(" Then restart your terminal (or run: source ~/.bashrc)");
console.log("");
}

Expand Down
1 change: 1 addition & 0 deletions test/postinstall.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@ describe("scripts/postinstall.js", () => {

expect(stdout).toContain("Bun runtime is required but was not found");
expect(stdout).toContain("curl -fsSL https://bun.sh/install | bash");
expect(stdout).toContain("restart your terminal");
});
});