Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Move off of abandoned sanity-codegen #328

Closed
3 tasks
jpmcb opened this issue Jun 21, 2024 · 0 comments · Fixed by #334
Closed
3 tasks

Bug: Move off of abandoned sanity-codegen #328

jpmcb opened this issue Jun 21, 2024 · 0 comments · Fixed by #334
Assignees
Labels
🐛 bug Something isn't working high priority

Comments

@jpmcb
Copy link
Member

jpmcb commented Jun 21, 2024

The Sanity Codegen project has been archived: https://github.com/ricokahler/sanity-codegen

As the sole maintainer of sanity-codegen, I found myself unable to dedicate the time and attention it truly deserved. That's why I'm thrilled to announce the arrival of Sanity TypeGen! This project is a complete replacement for sanity-codegen and is maintained in-house by the same team that maintains GROQ itselt

It'd also be good to move off of this since there are existing Dependabot security alerts related to transient dependencies carried in sanity-codegen (likely since it hasn't been updated in some time).


I took a brief look at using the new Sanity TypeGen and it won't be trivial unfortunately: we're still on an old version of Sanity studio:

"@sanity/base": "^2.29.1",

which was deprecated this last December:


TLDR:

  • Upgrade to Sanity v3
  • Remove sanity-codegen
  • Utilize Sanity TypeGen
@jpmcb jpmcb added 🐛 bug Something isn't working 👀 needs triage labels Jun 21, 2024
@jpmcb jpmcb changed the title Bug: Move off of sanity-codegen Bug: Move off of abandoned sanity-codegen Jun 21, 2024
@brandonroberts brandonroberts self-assigned this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants