Skip to content

chore(test-studio): update all dependencies to latest versions with caret ranges#12340

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/update-dependencies-in-test-studio
Draft

chore(test-studio): update all dependencies to latest versions with caret ranges#12340
Copilot wants to merge 3 commits intomainfrom
copilot/update-dependencies-in-test-studio

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 6, 2026

Updates all dependencies in dev/test-studio/package.json to their latest versions while consistently using ^ (caret) version ranges.

Caret prefix fixes

Four dependencies were pinned to exact versions instead of using ^ ranges:

  • @sanity/visual-editing: 5.1.0^5.3.0
  • @vercel/stega: 1.0.0^1.0.0
  • sanity-plugin-markdown: 8.0.4^8.0.5
  • babel-plugin-react-compiler: 1.0.0^1.0.0

Dependency updates

Patch/minor bumps: @portabletext/editor (6.1.2), @portabletext/plugin-character-pair-decorator (7.0.14), @portabletext/react (6.0.3), @portabletext/toolkit (5.0.2), @sanity/color-input (6.0.4), @sanity/debug-preview-url-secret-plugin (2.0.7), @sanity/image-url (2.0.3), @sanity/preview-url-secret (4.0.3), @sanity/react-loader (2.0.7), @sanity/visual-editing (5.3.0), qs (6.15.0), sanity-plugin-asset-source-unsplash (7.0.3), sanity-plugin-internationalized-array (4.0.5), sanity-plugin-markdown (8.0.5), sanity-plugin-mux-input (2.15.0), lodash-es (4.17.23)

Major bumps: @sanity/assist (5→6), @sanity/document-internationalization (4→5), @turf/helpers (6→7), @turf/points-within-polygon (5→7), chokidar (3→5), globby (11→16), rimraf (5→6)

Other changes

  • Fixed turf v7 type compatibility in validation.tsx (type assertions for the untyped norway GeoJSON data)
  • catalog: and workspace:* specifiers are left as-is
  • sanity-plugin-mux-input kept at 2.15.0 and sanity-plugin-asset-source-unsplash at 7.0.3 due to minimumReleaseAge constraints on newer releases
Original prompt

Update all dependencies in dev/test-studio and make sure they consistently use ^ prefixes and not exact versions (unless they use catalog: that points to an exact version)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
page-building-studio Ready Ready Preview, Comment Mar 6, 2026 5:40pm
test-studio Ready Ready Preview, Comment Mar 6, 2026 5:40pm

Request Review

@vercel vercel bot temporarily deployed to Preview – page-building-studio March 6, 2026 13:04 Inactive
…workspace dependencies

Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com>
@vercel vercel bot temporarily deployed to Preview – page-building-studio March 6, 2026 13:06 Inactive
Copilot AI changed the title [WIP] Update all dependencies to use ^ prefix in dev/test-studio chore(test-studio): use caret version ranges for all direct dependencies Mar 6, 2026
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot update all deps in this package.json while at it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in d8e54a4. Updated all deps to their latest versions with ^ prefixes:

Minor/patch bumps: @portabletext/editor (6.1.2), @portabletext/plugin-character-pair-decorator (7.0.14), @portabletext/react (6.0.3), @portabletext/toolkit (5.0.2), @sanity/color-input (6.0.4), @sanity/debug-preview-url-secret-plugin (2.0.7), @sanity/image-url (2.0.3), @sanity/preview-url-secret (4.0.3), @sanity/react-loader (2.0.7), @sanity/visual-editing (5.3.0), qs (6.15.0), sanity-plugin-asset-source-unsplash (7.0.3), sanity-plugin-internationalized-array (4.0.5), sanity-plugin-markdown (8.0.5), sanity-plugin-mux-input (2.15.0), lodash-es (4.17.23)

Major bumps: @sanity/assist (5→6), @sanity/document-internationalization (4→5), @turf/helpers (6→7), @turf/points-within-polygon (5→7), chokidar (3→5), globby (11→16), rimraf (5→6)

Also fixed turf v7 type compatibility in validation.tsx. Net result is -1 pre-existing type error (turf v7 now includes type declarations).

Note: sanity-plugin-mux-input kept at 2.15.0 and sanity-plugin-asset-source-unsplash at 7.0.3 due to minimumReleaseAge constraints on newer releases.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

📦 Bundle Stats — sanity

Compared against main (df3acf12) · v5.13.0 (npm)

Metric Value vs main (df3acf1) vs v5.13.0
Internal (raw) 4.30 MB - +4.8 KB, +0.1%
Internal (gzip) 1010.7 KB - +1.7 KB, +0.2%
Bundled (raw) 11.60 MB - -10.4 KB, -0.1%
Bundled (gzip) 2.62 MB - -5.6 KB, -0.2%
Import time 1.55s -12ms, -0.8% +53ms, +3.5%
Details
  • Import time regressions over 10% are flagged with ⚠️
  • Treemap artifacts are attached to the CI run for detailed size analysis
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

🧪 E2E Preview environment

🔑 Environment Variables for Local Testing

This is the preview URL for the E2E tests: https://e2e-studio-mlfc4nhke.sanity.dev

To run the E2E tests locally, you can use the following environment variables, then run pnpm test:e2e --ui to open the Playwright test runner.

💬 Remember to build the project first with pnpm build:e2e.

  SANITY_E2E_PROJECT_ID=ittbm412
  SANITY_E2E_BASE_URL=https://e2e-studio-mlfc4nhke.sanity.dev
  SANITY_E2E_DATASET="update depending the project you want to test (pr-12340-chromium-22764730073 || pr-12340-firefox-22764730073 )"
  SANITY_E2E_DATASET_CHROMIUM=pr-12340-chromium-22764730073
  SANITY_E2E_DATASET_FIREFOX=pr-12340-firefox-22764730073

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

📊 Playwright Test Report

Download Full E2E Report

This report contains test results, including videos of failing tests.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

⚡️ Editor Performance Report

Deploying studio and running performance tests…

Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com>
Copilot AI changed the title chore(test-studio): use caret version ranges for all direct dependencies chore(test-studio): update all dependencies to latest versions with caret ranges Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants