rsnext/examples/cms-sanity/sanity
Cody Olsen 00e88b82dd
Update Sanity example deps and implementation (#65744)
- Uses the new `presentationTool.resolve.locations` instead of
`presentationTool.locate` API, which doesn't require wrangling `rxjs`.
- Sets up the new `presentationTool.resolve.mainDocuments` API, which
automatically opens up the post you're previewing on the left side in
the editor on the right side.
- Removes the `sanity-typegen.json` config file as `sanity typegen` now
looks for top level `app` and `sanity` folders by default.
- Enables `^` semver ranges for deps again now that our turbopack
support is stable, so that we only have to send you PRs when bumping
majors or changing the implementation itself.
- Sets up `sanity.config.ts` so it's possible to use `npx sanity dev`
for quickly iterating on schemas.
2024-05-16 16:51:49 -07:00
..
lib Add TypeGen to Sanity example (#64198) 2024-04-12 08:28:35 -07:00
plugins Update Sanity example deps and implementation (#65744) 2024-05-16 16:51:49 -07:00
schemas Update Sanity example for App Router (#63187) 2024-03-12 16:50:04 -07:00