fix: update sanity cors add copy#1095
Conversation
|
Claude finished @mwritter's task in 1m 26s —— View job Review
No blocking issues. A couple of minor notes: 1. Changeset summary is internal-flavored — 2. Inconsistent phrasing in the non-wildcard prompt ( Verified
|
📦 Bundle Stats —
|
| Metric | Value | vs main (a4419d2) |
|---|---|---|
| Internal (raw) | 2.1 KB | - |
| Internal (gzip) | 799 B | - |
| Bundled (raw) | 10.97 MB | - |
| Bundled (gzip) | 2.06 MB | - |
| Import time | 828ms | -3ms, -0.4% |
bin:sanity
| Metric | Value | vs main (a4419d2) |
|---|---|---|
| Internal (raw) | 1023 B | - |
| Internal (gzip) | 486 B | - |
| Bundled (raw) | 9.84 MB | - |
| Bundled (gzip) | 1.77 MB | - |
| Import time | 1.98s | -27ms, -1.4% |
🗺️ 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 (a4419d2f)
| Metric | Value | vs main (a4419d2) |
|---|---|---|
| Internal (raw) | 96.2 KB | - |
| Internal (gzip) | 22.5 KB | - |
| Bundled (raw) | 21.61 MB | - |
| Bundled (gzip) | 3.42 MB | - |
| Import time | 785ms | -13ms, -1.7% |
🗺️ 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 (a4419d2f)
| Metric | Value | vs main (a4419d2) |
|---|---|---|
| Internal (raw) | 976 B | - |
| Internal (gzip) | 507 B | - |
| Bundled (raw) | 50.7 KB | - |
| Bundled (gzip) | 12.6 KB | - |
| 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.
Coverage Delta
Comparing 1 changed file against main @ Overall Coverage
|
I think the wording is fine. |
Description
Update
sanity cors addcopy text to include 'Sanity App sdk app' wording alongside studio for clarity,corsapplies to both studios and sdk apps.Note
Low Risk
Copy-only change to interactive CLI prompts; no functional behavior or API interactions are modified.
Overview
Updates the
sanity cors addinteractive credentials warning text to explicitly mention apps built with the Sanity App SDK alongside studios (including the wildcard-origin warning).Adds a patch changeset for
@sanity/clireflecting the copy update.Reviewed by Cursor Bugbot for commit c455f70. Bugbot is set up for automated code reviews on this repo. Configure here.