Skip to content

Commit

Permalink
Bump sanity/ui to version 2 in groqd-playground (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot authored Apr 19, 2024
1 parent 404227f commit 96804f1
Show file tree
Hide file tree
Showing 7 changed files with 479 additions and 342 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-turkeys-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"groqd-playground": patch
---

Bump sanity/ui to version 2
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
strict-peer-dependencies=false
prefer-workspace-packages=true
auto-install-peers=true
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![GROQD — Formidable, We build the modern web](https://raw.githubusercontent.com/FormidableLabs/groqd/main/groqd-Hero.png)](https://formidable.com/open-source/groqd)
[![GROQD](https://oss.nearform.com/api/banner?badge=groqd&bg=c99f46)](https://commerce.nearform.com/open-source/groqd)

**[Check out the official documentation.](https://formidable.com/open-source/groqd)**
**[Check out the official documentation.](https://commerce.nearform.com/open-source/groqd)**

`groqd` is a schema-unaware, runtime-safe query builder for [GROQ](https://www.sanity.io/docs/groq). **The goal of `groqd` is to give you (most of) the flexibility of GROQ, with the runtime/type safety of [Zod](https://github.com/colinhacks/zod) and TypeScript.**

Expand Down Expand Up @@ -44,4 +44,4 @@ Please see our [contributing guide](CONTRIBUTING.md).

## Maintenance Status

**Active:** Formidable is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.
**Active:** Nearform is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.
Binary file removed groqd-Hero.png
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/groqd-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
},
"peerDependencies": {
"@sanity/icons": "^2.3.1",
"@sanity/ui": "^1.3.2",
"@sanity/ui": "^2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"sanity": "^3.15.0",
"styled-components": "^5.3.9"
"styled-components": "^5.2 || ^6"
},
"dependencies": {
"@uiw/react-split": "^5.8.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/groqd-playground/src/components/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ const EDITOR_URL =
typeof process !== "undefined" &&
process?.env?.SANITY_STUDIO_GROQD_PLAYGROUND_ENV === "development"
? "http://localhost:3069"
: "https://unpkg.com/[email protected].5/build/index.html";
: "https://unpkg.com/[email protected].6/build/index.html";
const EDITOR_ORIGIN = new URL(EDITOR_URL).origin;

type Params = Record<string, string | number>;
Expand Down
Loading

0 comments on commit 96804f1

Please sign in to comment.