Skip to content
Closed
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
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
cache: pnpm
node-version: lts/*
- run: pnpm install --ignore-scripts
- run: pnpm build --filter=./packages/*
Expand Down Expand Up @@ -61,11 +60,10 @@ jobs:
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
cache: pnpm
node-version: ${{ matrix.node }}
- run: pnpm install --loglevel=error --ignore-scripts
- run: pnpm test
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/fix-lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
cache: pnpm
node-version: lts/*
- run: pnpm install --ignore-scripts --fix-lockfile --no-frozen-lockfile
- run: pnpm dedupe
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ jobs:
name: Can the code be prettier? 🤔
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
cache: pnpm
node-version: lts/*
- run: pnpm install
- uses: actions/cache@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ jobs:
with:
app-id: ${{ secrets.ECOSPARK_APP_ID }}
private-key: ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: canary
token: ${{ steps.generate-token.outputs.token }}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
cache: pnpm
node-version: lts/*
- run: pnpm install --ignore-scripts
- run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,13 @@ jobs:
token: ${{ steps.generate-token.outputs.token }}

# Publish to NPM on new releases
- uses: actions/checkout@v4
- uses: actions/checkout@v5
if: ${{ steps.release.outputs.releases_created == 'true' || github.event.inputs.publish == 'true' }}
- uses: pnpm/action-setup@v4
if: ${{ steps.release.outputs.releases_created == 'true' || github.event.inputs.publish == 'true' }}
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
if: ${{ steps.release.outputs.releases_created == 'true' || github.event.inputs.publish == 'true' }}
with:
cache: pnpm
node-version: lts/*
- name: install deps & build
run: pnpm install --ignore-scripts && pnpm build --filter=!./apps/*
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"packages/next-sanity":"10.0.3"}
{"packages/next-sanity":"10.0.4"}
2 changes: 1 addition & 1 deletion apps/mvp/app/sanity.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const client = createClient({
resultSourceMap: 'withKeyArraySelector',
stega: {
enabled: true,
studioUrl: `${process.env.NEXT_PUBLIC_TEST_BASE_PATH || ''}/studio#`,
studioUrl: `${process.env.NEXT_PUBLIC_TEST_BASE_PATH || ''}/studio`,
// logger: console,
},
})
Expand Down
4 changes: 2 additions & 2 deletions apps/mvp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"@next/bundle-analyzer": "catalog:",
"@next/env": "catalog:",
"@repo/typescript-config": "workspace:*",
"@tailwindcss/postcss": "^4.1.11",
"@tailwindcss/postcss": "^4.1.13",
"@types/react": "catalog:",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.11",
"tailwindcss": "^4.1.13",
"typescript": "catalog:"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions apps/static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"@next/bundle-analyzer": "catalog:",
"@next/env": "catalog:",
"@repo/typescript-config": "workspace:*",
"@tailwindcss/postcss": "^4.1.11",
"@tailwindcss/postcss": "^4.1.13",
"@types/react": "catalog:",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.11",
"tailwindcss": "^4.1.13",
"typescript": "catalog:"
}
}
13 changes: 3 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,13 @@
},
"dependencies": {
"@sanity/prettier-config": "^2.0.1",
"oxlint": "^1.8.0",
"oxlint": "^1.14.0",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"turbo": "^2.5.5"
"turbo": "^2.5.6"
},
"packageManager": "pnpm@10.13.1",
"packageManager": "pnpm@10.15.1",
"pnpm": {
"peerDependencyRules": {
"allowAny": [
"react",
"react-dom",
"react-is"
]
},
"overrides": {
"@next/bundle-analyzer": "canary",
"@next/env": "canary",
Expand Down
7 changes: 7 additions & 0 deletions packages/next-sanity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [10.0.4](https://github.com/sanity-io/next-sanity/compare/next-sanity-v10.0.3...next-sanity-v10.0.4) (2025-07-24)


### Bug Fixes

* `@sanity/ui` doesn't need to be a peer dependency ([25b29d8](https://github.com/sanity-io/next-sanity/commit/25b29d8c3e173bc26b678fd429c4641bc6a23c91))

## [10.0.3](https://github.com/sanity-io/next-sanity/compare/next-sanity-v10.0.2...next-sanity-v10.0.3) (2025-07-22)


Expand Down
14 changes: 7 additions & 7 deletions packages/next-sanity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-sanity",
"version": "10.0.3",
"version": "10.1.0-canary.12",
"description": "Sanity.io toolkit for Next.js",
"keywords": [
"sanity",
Expand Down Expand Up @@ -126,18 +126,18 @@
},
"browserslist": "extends @sanity/browserslist-config",
"dependencies": {
"@portabletext/react": "^3.2.1",
"@portabletext/react": "^4.0.3",
"@sanity/client": "catalog:",
"@sanity/next-loader": "^1.7.2",
"@sanity/next-loader": "^4.0.0",
"@sanity/preview-url-secret": "catalog:",
"@sanity/visual-editing": "^2.15.4",
"groq": "^4.1.1",
"@sanity/visual-editing": "4.0.0-canary.4",
"groq": "^4.7.0",
"history": "^5.3.0"
},
"devDependencies": {
"@sanity/browserslist-config": "^1.0.5",
"@sanity/pkg-utils": "^7.9.9",
"@sanity/types": "^4.1.1",
"@sanity/pkg-utils": "^8.1.7",
"@sanity/types": "^4.7.0",
"@sanity/webhook": "4.0.4",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
".": "./src/index.tsx"
},
"dependencies": {
"@sanity/assist": "^4.4.7"
"@sanity/assist": "^5.0.0"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
Expand Down
Loading
Loading