Skip to content

Commit

Permalink
Merge pull request #17 from thomasKn/chore
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
thomasKn authored Jan 30, 2024
2 parents a1e39f0 + ffc1d87 commit 8dd9ea6
Show file tree
Hide file tree
Showing 9 changed files with 338 additions and 241 deletions.
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
pnpm-lock.yaml
dist
node_modules
.sanity
.cache
2 changes: 2 additions & 0 deletions app/components/layout/AnnoucementBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export function AnnouncementBar() {

const isActive = annoucementBar?.length! > 1;

if (!annoucementBar) return null;

return (
<section className="bg-background text-foreground" id="announcement-bar">
<div className="container">
Expand Down
2 changes: 1 addition & 1 deletion app/qroq/fragments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const ANNOUCEMENT_BAR_ARRAY_FRAGMENT = q(
{isArray: true},
)
.select({
'_type == "announcementBar"': ANNOUCEMENT_BAR_FRAGMENT,
'_type == "announcement"': ANNOUCEMENT_BAR_FRAGMENT,
})
.nullable();

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
"class-variance-authority": "^0.7.0",
"color2k": "^2.0.3",
"cva": "1.0.0-beta.1",
"embla-carousel": "8.0.0-rc21",
"embla-carousel-autoplay": "8.0.0-rc21",
"embla-carousel-react": "8.0.0-rc21",
"embla-carousel": "8.0.0-rc22",
"embla-carousel-autoplay": "8.0.0-rc22",
"embla-carousel-react": "8.0.0-rc22",
"framer-motion": "^11.0.3",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"groq": "^3.26.1",
"groq": "^3.27.0",
"groqd": "^0.15.10",
"isbot": "^4.4.0",
"react": "^18.2.0",
Expand Down
240 changes: 120 additions & 120 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"@sanity/code-input": "^4.1.2",
"@sanity/icons": "^2.10.0",
"@sanity/language-filter": "^3.2.2",
"@sanity/presentation": "^1.7.2",
"@sanity/presentation": "^1.7.3",
"@sanity/ui": "2.0.1",
"@sanity/util": "^3.26.1",
"@sanity/util": "^3.27.0",
"@sanity/uuid": "^3.0.2",
"@sanity/vision": "^3.26.1",
"@sanity/vision": "^3.27.0",
"@shopify/polaris": "^12.11.2",
"@shopify/polaris-icons": "^8.2.0",
"groq": "^3.26.1",
"groq": "^3.27.0",
"lodash": "^4.17.21",
"lodash.get": "^4.4.2",
"lucide-react": "^0.319.0",
Expand All @@ -38,7 +38,7 @@
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"rxjs": "^7.8.1",
"sanity": "^3.26.1",
"sanity": "^3.27.0",
"sanity-plugin-internationalized-array": "^1.10.8",
"sanity-plugin-media": "^2.2.5",
"styled-components": "^6.1.8"
Expand Down
305 changes: 195 additions & 110 deletions studio/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion studio/schemas/objects/global/announcementBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineField({
of: [
{
type: 'object',
name: 'announcementBar',
name: 'announcement',
icon: Megaphone,
fields: [
defineField({
Expand Down
6 changes: 6 additions & 0 deletions studio/schemas/prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
arrowParens: 'always',
bracketSpacing: false,
singleQuote: true,
trailingComma: 'all',
};

0 comments on commit 8dd9ea6

Please sign in to comment.