Skip to content

feat!: update @sanity/cli-core peer dep to ^2 for vite 8 support - #120

Merged
stipsan merged 6 commits into
mainfrom
copilot/feat-update-sanity-cli-core
Jun 4, 2026
Merged

feat!: update @sanity/cli-core peer dep to ^2 for vite 8 support#120
stipsan merged 6 commits into
mainfrom
copilot/feat-update-sanity-cli-core

Conversation

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Bumps @sanity/cli-core peer dependency to ^2 to enable vite 8 support in upstream @sanity/cli.

  • Peer dependency: @sanity/cli-core ^1^2
  • Dev dependencies:
    • @sanity/cli-core ^1.3.1^2.0.0
    • @sanity/cli-test ^0.3.1^1.0.0
  • Lint fix: Migrated src/readConfig.ts from zod to zod/mini to comply with the updated no-restricted-imports rule (uses z._default() wrappers and duck-typed error detection)

Breaking change: consumers must now provide @sanity/cli-core@^2 as a peer.

@socket-security

socket-security Bot commented Jun 4, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​sanity/​cli-test@​1.0.099100100980
Addednpm/​@​sanity/​eslint-config-cli@​1.1.1721009389100

View full report

@stipsan
stipsan force-pushed the copilot/feat-update-sanity-cli-core branch from a13d7bd to 76b2886 Compare June 4, 2026 13:19
@stipsan

stipsan commented Jun 4, 2026

Copy link
Copy Markdown
Member

@copilot jeez, you screwed up the lockfile, run pnpm install again and commit please

@stipsan
stipsan enabled auto-merge (squash) June 4, 2026 13:19
auto-merge was automatically disabled June 4, 2026 13:20

Head branch was pushed to by a user without write access

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot jeez, you screwed up the lockfile, run pnpm install again and commit please

Done — regenerated the lockfile from scratch in 838d994.

Copilot AI requested a review from stipsan June 4, 2026 13:21
@socket-security

socket-security Bot commented Jun 4, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@stipsan

stipsan commented Jun 4, 2026

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request and fix the linter error

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request and fix the linter error

Resolved merge conflicts and fixed the lint error (zodzod/mini in src/readConfig.ts) in bb46e1e.

@stipsan

stipsan commented Jun 4, 2026

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

…anity-cli-core

# Conflicts:
#	package.json
#	pnpm-lock.yaml

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Resolved in 287d048 — merged origin/main and regenerated the lockfile.

@stipsan
stipsan enabled auto-merge (squash) June 4, 2026 13:58
@stipsan
stipsan disabled auto-merge June 4, 2026 14:00
@stipsan
stipsan merged commit d1f4956 into main Jun 4, 2026
4 checks passed
@stipsan
stipsan deleted the copilot/feat-update-sanity-cli-core branch June 4, 2026 14:00
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