-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update nextjs monorepo to v15.0.0-canary.191 (canary) (#1717) Delete index.test.ts fix(deps): update dependency @sanity/preview-kit to v5.1.4 (canary) (#1735) chore: switch to canaries chore: handle typo chore(lockfile): 🤖 ✨ (#1722) chore: bump deps chore: add back preview-kit chore(release): publish canary [skip ci] chore: bump canaries chore(release): publish canary [skip ci] chore: bump canaries chore(release): publish canary [skip ci] chore: bump deps chore(deps): update app dependencies (canary) (#1713) chore(release): publish canary [skip ci] chore: bump canaries chore: fix build error chore(deps): update nextjs monorepo to v15.0.0-canary.171 (canary) (#1711) chore(release): publish canary [skip ci] chore: bump canaries chore(deps): update app dependencies (canary) (#1708) chore: fix ts error chore(deps): update linters (canary) (#1710) chore: use new tokens chore(release): publish canary [skip ci] chore: bump canaries fix: support next v15 async APIs chore(deps): update nextjs monorepo to v15.0.0-canary.167 (canary) (#1705) chore(release): publish canary [skip ci] chore: prevent `removeChild` exception chore(deps): update app dependencies (canary) (#1706) chore(deps): update sanity monorepo to v3.58.0 (canary) (#1707) chore(deps): update linters (canary) (#1704) chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.8 (canary) (#1703) chore(deps): update dependency @types/react to ^18.3.9 (canary) (#1702) chore(release): publish canary [skip ci] chore: bump canaries chore(release): publish canary [skip ci] fix(visual-editing): render overlays in a portal chore(release): publish canary [skip ci] chore: bump canaries chore(release): publish canary [skip ci] chore: bump canaries chore(deps): update dependency eslint-config-next to v15.0.0-canary.165 (canary) (#1700) chore(deps): update nextjs monorepo to v15.0.0-canary.165 (canary) (#1701) chore(deps): update app dependencies (canary) (#1699) chore(release): publish canary [skip ci] chore: bump canaries chore(release): publish canary [skip ci] chore(lockfile): 🤖 ✨ (#1698) chore: bump canaries chore(release): publish canary [skip ci] chore: render overlays directly chore(release): publish canary [skip ci] chore: bump deps chore(deps): update nextjs monorepo to v15.0.0-canary.162 (canary) (#1696) chore(deps): update dependency @types/react to ^18.3.8 (canary) (#1694) chore(deps): update dependency eslint-config-next to v15.0.0-canary.162 (canary) (#1695) chore(deps): update app dependencies (canary) (#1693) chore(deps): update pnpm to v9.11.0 (canary) (#1697) chore(release): publish canary [skip ci] chore: bump deps chore(release): publish canary [skip ci] chore: make it a tiny bit easier to use chore(release): publish canary [skip ci] chore: bump canary chore(release): publish canary [skip ci] chore: add hooks export chore(release): publish canary [skip ci] chore: bump deps chore(release): publish canary [skip ci] chore: bump deps chore(release): publish canary [skip ci] chore: bump deps and enable debug chore(release): publish canary [skip ci] chore: bye bye preview-kit chore: use route groups to support live mode chore: test live api chore(release): publish canary [skip ci] chore(deps): bump canaries chore(deps): update dependency eslint-plugin-react-compiler to v0.0.0-experimental-92aaa43-20240919 (canary) (#1690) chore(lockfile): update dependency next to v15.0.0-rc.0 (canary) (#1691) chore(deps): update dependency next to v15.0.0-rc.0 (canary) (#1679) chore(release): publish canary [skip ci] fix(deps): update dependency @sanity/visual-editing to v2.1.11-canary.13 chore(deps): update app dependencies (canary) (#1684) chore(release): publish canary [skip ci] chore(deps): bump canaries chore(deps): update linters (canary) (#1682) chore: bump canaries chore(deps): update dependency styled-components to ^6.1.13 (canary) (#1681) chore(deps): update dependency @sanity/prettier-config to v1.0.3 (canary) (#1686) chore(deps): update dependency @types/react to ^18.3.7 (canary) (#1687) chore(deps): update dependency prettier-plugin-packagejson to v2.5.2 (canary) (#1680) fix(deps): Update dependency @sanity/assist to v3.0.6 (canary) (#1683) chore: fix linter chore(deps): update vitest monorepo to ^2.1.1 (canary) (#1685) chore(release): publish canary [skip ci] feat: add `defineLive` API chore(lockfile): 🤖 ✨ (#1678) chore: test lockfile fix automation chore(release): publish canary [skip ci] chore(release): publish canary [skip ci] chore(lockfile): update app dependencies chore(release): publish canary [skip ci] chore(release): publish canary [skip ci] chore(deps): update dependency eslint-config-next to v15.0.0-canary.194 (canary) (#1756) chore(deps): update app dependencies (canary) (#1745) chore(deps): lock file maintenance (canary) (#1762) chore(release): publish canary [skip ci] chore(release): publish canary [skip ci] chore(lockfile): update dependency next to v15.0.0-rc.1 (canary) (#1764) Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6a4c03c
commit a10ffd2
Showing
29 changed files
with
1,370 additions
and
1,417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
'use server' | ||
|
||
import {draftMode} from 'next/headers' | ||
|
||
export async function disableDraftMode() { | ||
'use server' | ||
await Promise.allSettled([ | ||
(await draftMode()).disable(), | ||
// Simulate a delay to show the loading state | ||
new Promise((resolve) => setTimeout(resolve, 1000)), | ||
]) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {defineLive} from 'next-sanity' | ||
|
||
import {client} from '@/app/sanity.client' | ||
|
||
const token = process.env.SANITY_API_READ_TOKEN! | ||
|
||
export const {sanityFetch, SanityLive} = defineLive({ | ||
client, | ||
serverToken: token, | ||
browserToken: token, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import {defineEnableDraftMode} from 'next-sanity/draft-mode' | ||
|
||
import {client} from '@/app/sanity.client' | ||
|
||
export const {GET} = defineEnableDraftMode({ | ||
client: client.withConfig({ | ||
token: process.env.SANITY_API_READ_TOKEN, | ||
}), | ||
}) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import 'server-only' | ||
|
||
import type {QueryParams} from '@sanity/client' | ||
|
||
import {client} from './sanity.client' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.