From b0b0046e8a3c32c49531180ef5b5e1a3344d15ba Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Wed, 20 Nov 2024 23:23:21 +0100 Subject: [PATCH] add @sanity/client --- astro/package.json | 3 +- next-13/package.json | 11 +++--- next-14/package.json | 11 +++--- next-15/package.json | 11 +++--- next-canary/package.json | 11 +++--- nuxt/package.json | 1 + pnpm-lock.yaml | 69 ++++++++++++++++++++++++++----------- sveltekit/package.json | 3 ++ tanstack-start/package.json | 1 + 9 files changed, 80 insertions(+), 41 deletions(-) diff --git a/astro/package.json b/astro/package.json index 6cb1619..fc14e5e 100644 --- a/astro/package.json +++ b/astro/package.json @@ -9,8 +9,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.0-beta.8", "@astrojs/check": "^0.9.4", + "@sanity/client": "^6.22.5", + "astro": "^5.0.0-beta.8", "typescript": "^5.6.3" } } diff --git a/next-13/package.json b/next-13/package.json index ebd2d3c..5328e40 100644 --- a/next-13/package.json +++ b/next-13/package.json @@ -9,19 +9,20 @@ "lint": "next lint" }, "dependencies": { + "@sanity/client": "^6.22.5", + "next": "13.5.7", "react": "^18", - "react-dom": "^18", - "next": "13.5.7" + "react-dom": "^18" }, "devDependencies": { - "typescript": "^5.6.3", "@types/node": "^20", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "autoprefixer": "^10.4.20", + "eslint": "^8.57.1", + "eslint-config-next": "13.5.7", "postcss": "^8.4.49", "tailwindcss": "^3.4.15", - "eslint": "^8.57.1", - "eslint-config-next": "13.5.7" + "typescript": "^5.6.3" } } diff --git a/next-14/package.json b/next-14/package.json index d10a682..1beadaa 100644 --- a/next-14/package.json +++ b/next-14/package.json @@ -9,18 +9,19 @@ "lint": "next lint" }, "dependencies": { + "@sanity/client": "^6.22.5", + "next": "14.2.18", "react": "^18", - "react-dom": "^18", - "next": "14.2.18" + "react-dom": "^18" }, "devDependencies": { - "typescript": "^5.6.3", "@types/node": "^20", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", + "eslint": "^8.57.1", + "eslint-config-next": "14.2.18", "postcss": "^8.4.49", "tailwindcss": "^3.4.15", - "eslint": "^8.57.1", - "eslint-config-next": "14.2.18" + "typescript": "^5.6.3" } } diff --git a/next-15/package.json b/next-15/package.json index b6108a5..de6e627 100644 --- a/next-15/package.json +++ b/next-15/package.json @@ -9,19 +9,20 @@ "lint": "next lint" }, "dependencies": { + "@sanity/client": "^6.22.5", + "next": "15.0.3", "react": "rc", - "react-dom": "rc", - "next": "15.0.3" + "react-dom": "rc" }, "devDependencies": { - "typescript": "^5.6.3", "@types/node": "^20", "@types/react": "npm:types-react@rc", "@types/react-dom": "npm:types-react-dom@rc", + "eslint": "^9.15.0", + "eslint-config-next": "15.0.3", "postcss": "^8.4.49", "tailwindcss": "^3.4.15", - "eslint": "^9.15.0", - "eslint-config-next": "15.0.3" + "typescript": "^5.6.3" }, "overrides": { "@types/react": "npm:types-react@rc", diff --git a/next-canary/package.json b/next-canary/package.json index 06c348e..c6b6179 100644 --- a/next-canary/package.json +++ b/next-canary/package.json @@ -9,19 +9,20 @@ "lint": "next lint" }, "dependencies": { + "@sanity/client": "^6.22.5", + "next": "canary", "react": "rc", - "react-dom": "rc", - "next": "canary" + "react-dom": "rc" }, "devDependencies": { - "typescript": "^5.6.3", "@types/node": "^20", "@types/react": "npm:types-react@rc", "@types/react-dom": "npm:types-react-dom@rc", + "eslint": "^9.15.0", + "eslint-config-next": "canary", "postcss": "^8.4.49", "tailwindcss": "^3.4.15", - "eslint": "^9.15.0", - "eslint-config-next": "canary" + "typescript": "^5.6.3" }, "overrides": { "@types/react": "npm:types-react@rc", diff --git a/nuxt/package.json b/nuxt/package.json index 2dbeb53..86419ce 100644 --- a/nuxt/package.json +++ b/nuxt/package.json @@ -10,6 +10,7 @@ "postinstall": "nuxt prepare" }, "dependencies": { + "@sanity/client": "^6.22.5", "nuxt": "^3.14.159", "vue": "latest", "vue-router": "latest" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2bb786c..60aeaaf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,6 +54,9 @@ importers: '@astrojs/check': specifier: ^0.9.4 version: 0.9.4(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.6.3) + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) astro: specifier: ^5.0.0-beta.8 version: 5.0.0-beta.8(@types/node@22.9.1)(jiti@2.4.0)(rollup@4.27.3)(terser@5.36.0)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.1) @@ -63,9 +66,12 @@ importers: next-13: dependencies: + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) next: specifier: 13.5.7 - version: 13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 13.5.7(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18 version: 18.3.1 @@ -103,9 +109,12 @@ importers: next-14: dependencies: + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) next: specifier: 14.2.18 - version: 14.2.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.18(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18 version: 18.3.1 @@ -140,9 +149,12 @@ importers: next-15: dependencies: + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) next: specifier: 15.0.3 - version: 15.0.3(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + version: 15.0.3(@babel/core@7.26.0)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) react: specifier: rc version: 19.0.0-rc.1 @@ -177,9 +189,12 @@ importers: next-canary: dependencies: + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) next: specifier: canary - version: 15.0.4-canary.20(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) + version: 15.0.4-canary.20(@babel/core@7.26.0)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) react: specifier: rc version: 19.0.0-rc.1 @@ -214,6 +229,9 @@ importers: nuxt: dependencies: + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) nuxt: specifier: ^3.14.159 version: 3.14.1592(@parcel/watcher@2.5.0)(@types/node@22.9.1)(eslint@9.15.0(jiti@2.4.0))(ioredis@5.4.1)(magicast@0.3.5)(meow@9.0.0)(optionator@0.9.4)(rollup@4.27.3)(terser@5.36.0)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.1)(terser@5.36.0)) @@ -265,6 +283,10 @@ importers: version: 5.6.3 sveltekit: + dependencies: + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) devDependencies: '@sveltejs/adapter-auto': specifier: ^3.3.1 @@ -323,6 +345,9 @@ importers: tanstack-start: dependencies: + '@sanity/client': + specifier: ^6.22.5 + version: 6.22.5(debug@4.3.7) '@tanstack/react-router': specifier: ^1.82.1 version: 1.82.1(@tanstack/router-generator@1.81.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -10262,9 +10287,9 @@ snapshots: react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) tslib: 2.8.1 - '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@18.3.1)': dependencies: - '@dnd-kit/core': 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@dnd-kit/core': 6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) '@dnd-kit/utilities': 3.2.2(react@18.3.1) react: 18.3.1 tslib: 2.8.1 @@ -10276,9 +10301,9 @@ snapshots: react: 19.0.0-rc.1 tslib: 2.8.1 - '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@18.3.1)': dependencies: - '@dnd-kit/core': 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@dnd-kit/core': 6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) '@dnd-kit/utilities': 3.2.2(react@18.3.1) react: 18.3.1 tslib: 2.8.1 @@ -16980,7 +17005,7 @@ snapshots: neotraverse@0.6.18: {} - next@13.5.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@13.5.7(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 13.5.7 '@swc/helpers': 0.5.2 @@ -16989,7 +17014,7 @@ snapshots: postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(react@18.3.1) + styled-jsx: 5.1.1(@babel/core@7.26.0)(react@18.3.1) watchpack: 2.4.0 optionalDependencies: '@next/swc-darwin-arm64': 13.5.7 @@ -17005,7 +17030,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@14.2.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.2.18(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 14.2.18 '@swc/helpers': 0.5.5 @@ -17015,7 +17040,7 @@ snapshots: postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(react@18.3.1) + styled-jsx: 5.1.1(@babel/core@7.26.0)(react@18.3.1) optionalDependencies: '@next/swc-darwin-arm64': 14.2.18 '@next/swc-darwin-x64': 14.2.18 @@ -17030,7 +17055,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@15.0.3(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): + next@15.0.3(@babel/core@7.26.0)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): dependencies: '@next/env': 15.0.3 '@swc/counter': 0.1.3 @@ -17040,7 +17065,7 @@ snapshots: postcss: 8.4.31 react: 19.0.0-rc.1 react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) - styled-jsx: 5.1.6(react@19.0.0-rc.1) + styled-jsx: 5.1.6(@babel/core@7.26.0)(react@19.0.0-rc.1) optionalDependencies: '@next/swc-darwin-arm64': 15.0.3 '@next/swc-darwin-x64': 15.0.3 @@ -17055,7 +17080,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@15.0.4-canary.20(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): + next@15.0.4-canary.20(@babel/core@7.26.0)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): dependencies: '@next/env': 15.0.4-canary.20 '@swc/counter': 0.1.3 @@ -17065,7 +17090,7 @@ snapshots: postcss: 8.4.31 react: 19.0.0-rc.1 react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) - styled-jsx: 5.1.6(react@19.0.0-rc.1) + styled-jsx: 5.1.6(@babel/core@7.26.0)(react@19.0.0-rc.1) optionalDependencies: '@next/swc-darwin-arm64': 15.0.4-canary.20 '@next/swc-darwin-x64': 15.0.4-canary.20 @@ -18528,8 +18553,8 @@ snapshots: sanity@3.64.2(@types/node@22.9.1)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.36.0): dependencies: '@dnd-kit/core': 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@dnd-kit/modifiers': 6.0.1(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) - '@dnd-kit/sortable': 7.0.2(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + '@dnd-kit/modifiers': 6.0.1(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@18.3.1) + '@dnd-kit/sortable': 7.0.2(@dnd-kit/core@6.1.0(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1))(react@18.3.1) '@dnd-kit/utilities': 3.2.2(react@18.3.1) '@juggle/resize-observer': 3.4.0 '@portabletext/editor': 1.10.2(@sanity/block-tools@3.64.2(debug@4.3.7))(@sanity/schema@3.64.2(debug@4.3.7))(@sanity/types@3.64.2(debug@4.3.7))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) @@ -19240,15 +19265,19 @@ snapshots: stylis: 4.3.2 tslib: 2.6.2 - styled-jsx@5.1.1(react@18.3.1): + styled-jsx@5.1.1(@babel/core@7.26.0)(react@18.3.1): dependencies: client-only: 0.0.1 react: 18.3.1 + optionalDependencies: + '@babel/core': 7.26.0 - styled-jsx@5.1.6(react@19.0.0-rc.1): + styled-jsx@5.1.6(@babel/core@7.26.0)(react@19.0.0-rc.1): dependencies: client-only: 0.0.1 react: 19.0.0-rc.1 + optionalDependencies: + '@babel/core': 7.26.0 stylehacks@7.0.4(postcss@8.4.49): dependencies: diff --git a/sveltekit/package.json b/sveltekit/package.json index 8229488..f13c9d8 100644 --- a/sveltekit/package.json +++ b/sveltekit/package.json @@ -30,5 +30,8 @@ "typescript": "^5.6.3", "typescript-eslint": "^8.15.0", "vite": "^5.4.11" + }, + "dependencies": { + "@sanity/client": "^6.22.5" } } diff --git a/tanstack-start/package.json b/tanstack-start/package.json index 44c6a9e..bd32d68 100644 --- a/tanstack-start/package.json +++ b/tanstack-start/package.json @@ -9,6 +9,7 @@ "start": "vinxi start" }, "dependencies": { + "@sanity/client": "^6.22.5", "@tanstack/react-router": "^1.82.1", "@tanstack/router-devtools": "^1.82.1", "@tanstack/start": "^1.82.1",