Skip to content

Commit 0cd0c2a

Browse files
authored
chore: TypeScript 7.0.2; Bun 1.4.0 pins; dependabot bun (#17)
* chore(modem-stack): TypeScript 7.0.2; Bun 1.4.0 pins; dependabot bun * ci(modem-stack): pin Bun 1.4.0 * chore(deps): use Bun Dependabot updates * test(control): retain AST guards under TypeScript 7 * docs(modem-stack): document TypeScript 7 toolchain * docs(control): update Bun runtime references * chore: bump @ceralive/biome-config to published 2026.8.1
1 parent e272128 commit 0cd0c2a

15 files changed

Lines changed: 98 additions & 43 deletions

File tree

.bun-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.14
1+
1.4.0

.github/dependabot.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22
# Weekly, grouped, no auto-merge — per the CeraLive CI/CD standard.
3-
# github-actions (all workflows) + npm (the Bun workspace at the repo root).
3+
# github-actions (all workflows) + Bun (the workspace at the repo root).
44
updates:
55
- package-ecosystem: "github-actions"
66
directory: "/"
@@ -10,14 +10,10 @@ updates:
1010
github-actions:
1111
patterns: ["*"]
1212

13-
- package-ecosystem: "npm"
13+
- package-ecosystem: "bun"
1414
directory: "/"
1515
schedule:
1616
interval: "weekly"
1717
groups:
18-
npm:
18+
bun:
1919
patterns: ["*"]
20-
# TypeScript 7 is explicitly out of scope; never propose a semver-major TS bump.
21-
ignore:
22-
- dependency-name: "typescript"
23-
update-types: ["version-update:semver-major"]

.github/workflows/ci-bun.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- uses: oven-sh/setup-bun@v2
4242
with:
43-
bun-version: 1.3.14
43+
bun-version: 1.4.0
4444

4545
# Node 26 is the CeraLive CI baseline AND the runtime the standalone consumer
4646
# fixture asserts on: `scripts/verify-consumers.ts` refuses anything but 26.x, so

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
118118
- uses: oven-sh/setup-bun@v2
119119
with:
120-
bun-version: 1.3.14
120+
bun-version: 1.4.0
121121

122122
- uses: actions/setup-node@v7
123123
with:
@@ -260,7 +260,7 @@ jobs:
260260
261261
- uses: oven-sh/setup-bun@v2
262262
with:
263-
bun-version: 1.3.14
263+
bun-version: 1.4.0
264264

265265
- uses: actions/setup-node@v7
266266
with:

AGENTS.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,10 +1283,17 @@ rationale, source cites, and the open gates are recorded in `docs/FM350-DECISION
12831283

12841284
## WORKSPACE / TOOLCHAIN
12851285

1286-
- **Bun 1.3.14** (`.bun-version`, `packageManager` in `package.json`). `control/` + `cli/`
1286+
- **Bun 1.4.0** (`.bun-version`, `packageManager` in `package.json`). `control/` + `cli/`
12871287
are Bun workspace members.
1288-
- **Strict TypeScript** incl. `exactOptionalPropertyTypes` — a single repo-root
1289-
`tsconfig.json` covers both members (`bun run typecheck``tsc --noEmit`).
1288+
- **Strict TypeScript 7.0.2** incl. `exactOptionalPropertyTypes` — the repo-root
1289+
`tsconfig.json` is the workspace checker (`bun run typecheck``tsc --noEmit`) for both
1290+
members. `control/tsconfig.json` extends it only to give editors the same types for the
1291+
package's AST guard tests. The root config's explicit `types` entry preserves Bun globals;
1292+
its DEV-ONLY `paths` map is resolved relative to that config and deliberately has no
1293+
`baseUrl`, which TypeScript 7 removed.
1294+
- **AST guard compatibility:** `@typescript/typescript6` is a test-only compiler-API shim for
1295+
source-shape guards. TypeScript 7's native `tsc` remains the workspace checker and emitted
1296+
package compiler; the shim never reaches `control/dist` or the published tarball.
12901297
- **Biome** via `@ceralive/biome-config` (repo-root `biome.json` extends it). `bun run lint`.
12911298
- **Bun test** (`bun test`) discovers `*.test.ts` across both members.
12921299
- **Node 26** for the standalone consumer fixtures (`control/fixtures/`). Point

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ modem-stack/
4949
└── POLICY.md no-fork gate + upstream-contribution-first policy
5050
```
5151

52-
`control/` and `cli/` form a single **Bun** workspace (Bun 1.3.14, strict TypeScript,
52+
`control/` and `cli/` form a single **Bun** workspace (Bun 1.4.0, strict TypeScript 7.0.2,
5353
Biome via `@ceralive/biome-config`). `packaging/` is built in a bookworm container.
54+
The two AST-backed source-shape guard tests use the test-only TypeScript 6 compiler-API
55+
compatibility package; workspace typechecking and package emit remain TypeScript 7.
5456

5557
## Develop
5658

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.5.8/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.5.9/schema.json",
33
"extends": ["@ceralive/biome-config"],
44
"files": {
55
"includes": ["**", "!**/node_modules", "!**/dist", "!**/test-results"]

bun.lock

Lines changed: 62 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/smoke/build-binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# Cross-compile the bench CLI and the smoke harness for amd64 + arm64.
33
#
4-
# Bun 1.3.14 cross-compiles with `--compile --target=bun-linux-<x64|arm64>` (verified:
4+
# Bun 1.4.0 cross-compiles with `--compile --target=bun-linux-<x64|arm64>` (verified:
55
# the target flag downloads the matching bun runtime and emits a standalone ELF for that
66
# architecture). Outputs land in cli/dist/ (gitignored).
77
set -euo pipefail

control/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tree; see [Shape gate](#shape-gate).
1616
npm install @ceralive/modem-control # or: bun add @ceralive/modem-control
1717
```
1818

19-
ESM only (`"type": "module"`). Node 26 and Bun 1.3 are the runtimes the published
19+
ESM only (`"type": "module"`). Node 26 and Bun 1.4 are the runtimes the published
2020
tarball is exercised against on every CI run.
2121

2222
## Public entry points

0 commit comments

Comments
 (0)