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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Terminal videos, written in TypeScript. Record a session live or script it, then
## Install

```sh
bun add -g termcut # Bun ≥ 1.4 · installs the `tcut` command
bun add -g termcut # Bun ≥ 1.4.1 · installs the `tcut` command
```

Or a standalone binary for macOS, Linux or Windows from [Releases](https://github.com/AmanVarshney01/tcut/releases) — all three are tested in CI.
Expand Down
2 changes: 1 addition & 1 deletion bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
"turbo": "^2.10.7",
"typescript": "catalog:"
},
"packageManager": "bun@1.4.0"
"packageManager": "bun@1.4.1"
}
2 changes: 1 addition & 1 deletion packages/tcut/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Terminal videos, written in TypeScript. Record a session live or script it, then
## Install

```sh
bun add -g termcut # Bun ≥ 1.4 · installs the `tcut` command
bun add -g termcut # Bun ≥ 1.4.1 · installs the `tcut` command
```

Or a standalone binary for macOS, Linux or Windows from [Releases](https://github.com/AmanVarshney01/tcut/releases) — all three are tested in CI.
Expand Down
4 changes: 2 additions & 2 deletions packages/tcut/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
"LICENSE"
],
"engines": {
"bun": ">=1.4.0"
"bun": ">=1.4.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Align all published guidance with the new Bun minimum

After tightening the engine requirement to Bun 1.4.1, users consulting packages/tcut/docs/llms.txt:4, packages/tcut/docs/REFERENCE.md:138, or the installation text in apps/web/src/routes/index.tsx:94 are still told that Bun 1.4 is supported. This leaves the public installation surfaces contradictory and can direct Bun 1.4.0 users to install a package whose declared engine excludes their runtime; update those remaining references together with this minimum.

Useful? React with 👍 / 👎.

},
"scripts": {
"demo": "bun src/cli.ts examples/demo.ts",
"typecheck": "bunx tsc --noEmit",
"test": "bun test",
"build:assets": "bun scripts/build-assets.ts",
"build": "bun run build:assets && bun build --compile --minify src/cli.ts --outfile dist/tcut",
"build": "bun run build:assets && bun build --compile --bytecode --minify src/cli.ts --outfile dist/tcut",
"build:all": "bun run build:assets && bun scripts/build-binaries.ts"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tcut/scripts/build-binaries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ for (const target of targets) {
const ext = target.includes("windows") ? ".exe" : "";
const outfile = path.join(dist, `tcut-${version}-${platform}${ext}`);
const proc = Bun.spawn(
["bun", "build", "--compile", "--minify", `--target=${target}`, path.join(root, "src", "cli.ts"), "--outfile", outfile],
["bun", "build", "--compile", "--bytecode", "--minify", `--target=${target}`, path.join(root, "src", "cli.ts"), "--outfile", outfile],
{ cwd: root, stdout: "ignore", stderr: "pipe" },
);
const code = await proc.exited;
Expand Down
Loading