Skip to content

fix(ai-shopping-assistant): remove packageManager field#2

Closed
kenjonespizza wants to merge 1 commit intomainfrom
fix/remove-package-manager-field
Closed

fix(ai-shopping-assistant): remove packageManager field#2
kenjonespizza wants to merge 1 commit intomainfrom
fix/remove-package-manager-field

Conversation

@kenjonespizza
Copy link
Copy Markdown
Contributor

Summary

  • Removes the packageManager: "pnpm@10.28.0" field from ai-shopping-assistant/package.json
  • This field caused corepack to block non-pnpm package managers with an EPERM error when users ran npm create sanity@latest --template sanity-labs/starters/ai-shopping-assistant
  • The Sanity CLI's resolvePackageManager doesn't read the packageManager field — it detects PMs via lockfiles and system availability, so it can pick yarn/npm which corepack then rejects

Test plan

  • Run npm create sanity@latest -- --template sanity-labs/starters/ai-shopping-assistant and verify dependency installation succeeds
  • Verify pnpm install still works in the template locally

🤖 Generated with Claude Code

…stall

The `packageManager` field caused corepack to block non-pnpm package
managers, breaking `npm create sanity@latest --template` which doesn't
read this field when selecting a package manager.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kenjonespizza kenjonespizza temporarily deployed to agentic-localization March 3, 2026 14:14 — with GitHub Actions Inactive
@kenjonespizza kenjonespizza had a problem deploying to ai-shopping-assistant March 3, 2026 14:14 — with GitHub Actions Failure
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 3, 2026

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

Project Deployment Actions Updated (UTC)
ai-shopping-assistant Building Building Preview, Comment Mar 3, 2026 2:14pm

Request Review

@kenjonespizza kenjonespizza deleted the fix/remove-package-manager-field branch March 3, 2026 14:16
@kenjonespizza kenjonespizza had a problem deploying to ai-shopping-assistant March 3, 2026 14:16 — with GitHub Actions Failure
@kenjonespizza kenjonespizza temporarily deployed to agentic-localization March 3, 2026 14:16 — with GitHub Actions Inactive
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.

1 participant