fix(deps): update runtime cli#1108
Conversation
|
Claude finished @runeb's task in 1m 21s —— View job ReviewNo blocking issues. The dep bump, changeset, and test stubbing all look correct. Changeset (
Dependency (
Test changes (
Minor (optional)
|
📦 Bundle Stats —
|
| Metric | Value | vs main (5b4d3c0) |
|---|---|---|
| Internal (raw) | 2.1 KB | - |
| Internal (gzip) | 799 B | - |
| Bundled (raw) | 10.97 MB | - |
| Bundled (gzip) | 2.06 MB | - |
| Import time | 838ms | +10ms, +1.2% |
bin:sanity
| Metric | Value | vs main (5b4d3c0) |
|---|---|---|
| Internal (raw) | 1023 B | - |
| Internal (gzip) | 486 B | - |
| Bundled (raw) | 9.84 MB | - |
| Bundled (gzip) | 1.77 MB | - |
| Import time | 1.97s | +3ms, +0.2% |
🗺️ View treemap · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
📦 Bundle Stats — @sanity/cli-core
Compared against main (5b4d3c08)
| Metric | Value | vs main (5b4d3c0) |
|---|---|---|
| Internal (raw) | 96.2 KB | - |
| Internal (gzip) | 22.5 KB | - |
| Bundled (raw) | 21.61 MB | - |
| Bundled (gzip) | 3.42 MB | - |
| Import time | 793ms | +1ms, +0.1% |
🗺️ View treemap · Artifacts
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
📦 Bundle Stats — create-sanity
Compared against main (5b4d3c08)
| Metric | Value | vs main (5b4d3c0) |
|---|---|---|
| Internal (raw) | 908 B | - |
| Internal (gzip) | 483 B | - |
| Bundled (raw) | 931 B | - |
| Bundled (gzip) | 491 B | - |
| Import time | ❌ ChildProcess denied: node | - |
Details
- Import time regressions over 10% are flagged with
⚠️ - Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.
|
This PR is needed to unblock the test failures on #1081 |
Coverage DeltaNo covered files changed in this PR. Overall Coverage
|
|
Picking #1111 |
Description
Bumps @sanity/runtime-cli from ^15.0.2 to ^15.1.1 and updates the init update-check tests to stub terminal window size when exercising TTY output.
This isolates the dependency that exposed the oclif screen-width assumption behind the failing Node 22/24 shards.
What to review
Review the package bump, generated lockfile update, and the checkForUpdates test setup/teardown around stdout/stderr.getWindowSize.
Testing
Note
Low Risk
Low risk patch-level dependency bump; main behavioral impact is improved terminal width detection in non-TTY environments, with test-only stubbing changes to keep update-check tests stable.
Overview
Updates
@sanity/clito use@sanity/runtime-cli@^15.1.1(and refreshespnpm-lock.yaml) to address terminal width detection issues in non-TTY environments.Adjusts
checkForUpdatesinit-hook tests to explicitly stub and later restoreprocess.stdout/stderr.getWindowSize, preventing failures when TTY-related screen-width APIs are assumed.Reviewed by Cursor Bugbot for commit 480129a. Bugbot is set up for automated code reviews on this repo. Configure here.