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

Bump sanity/ui to version 2 in groqd-playground #283

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already set in the lock file, likely due to someone having it set per-machine. Setting it here so it applies to all developers that run pnpm i

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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ (fix for issues with the latest Sanity version)

},
"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/groqd-playground-editor@0.0.5/build/index.html";
: "https://unpkg.com/groqd-playground-editor@0.0.6/build/index.html";
const EDITOR_ORIGIN = new URL(EDITOR_URL).origin;

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