Skip to content
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
6 changes: 5 additions & 1 deletion examples/next/block-support/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ module.exports = withFaust({
loadPaths: ['node_modules'],
},
images: {
domains: [getWpHostname()],
remotePatterns: [
{
hostname: getWpHostname(),
},
],
},
i18n: {
locales: ['en'],
Expand Down
6 changes: 3 additions & 3 deletions examples/next/block-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
},
"dependencies": {
"@apollo/client": "^3.8.8",
"@faustwp/blocks": "^6.1.9",
"@faustwp/cli": "^3.2.5",
"@faustwp/core": "^3.3.2",
"@faustwp/blocks": "^7.1.0",
"@faustwp/cli": "^4.1.0",
"@faustwp/core": "^4.1.0",
"classnames": "^2.5.1",
"graphql": "^16.10.0",
"next": "^16.3.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export default function Header({
<Container>
<div className={cx('navbar')}>
<div className={cx('brand')}>
<Link legacyBehavior href="/">
<a className={cx('title')}>{title}</a>
<Link href="/" className={cx('title')}>
{title}
</Link>
{description && <p className={cx('description')}>{description}</p>}
</div>
Expand Down
20 changes: 8 additions & 12 deletions examples/next/faustwp-getting-started/components/Post/Post.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,17 @@ export default function Post({
return (
<article className={styles.component}>
{featuredImage && (
<Link legacyBehavior href={uri}>
<a>
<FeaturedImage
image={featuredImage}
layout="responsive"
className={styles.featuredImage}
/>
</a>
<Link href={uri}>
<FeaturedImage
image={featuredImage}
layout="responsive"
className={styles.featuredImage}
/>
</Link>
)}

<Link legacyBehavior href={uri}>
<a>
<h2>{title}</h2>
</a>
<Link href={uri}>
<h2>{title}</h2>
</Link>
<PostInfo date={date} author={author} className={styles.postInfo} />
<div
Expand Down
4 changes: 2 additions & 2 deletions examples/next/faustwp-getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@apollo/client": "^3.14.1",
"@faustwp/cli": "^3.4.1",
"@faustwp/core": "^3.4.2",
"@faustwp/cli": "^4.1.0",
"@faustwp/core": "^4.1.0",
"@wordpress/base-styles": "^6.15.0",
"@wordpress/block-library": "11.2.0",
"classnames": "^2.5.1",
Expand Down
6 changes: 5 additions & 1 deletion examples/next/tutorial/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ module.exports = withFaust({
loadPaths: ['node_modules'],
},
images: {
domains: [getWpHostname()],
remotePatterns: [
{
hostname: getWpHostname(),
},
],
},
async headers() {
return [
Expand Down
9 changes: 6 additions & 3 deletions examples/next/tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
},
"dependencies": {
"@apollo/client": "^3.13.9",
"@faustwp/blocks": "^6.1.9",
"@faustwp/cli": "^3.2.4",
"@faustwp/core": "^3.3.6",
"@faustwp/blocks": "^7.1.0",
"@faustwp/cli": "^4.1.0",
"@faustwp/core": "^4.1.0",
"graphql": "^16.11.0",
"next": "^16.3.8",
"next-secure-headers": "^2.2.0",
Expand All @@ -30,6 +30,9 @@
"postcss": "^8.5.25",
"tailwindcss": "^4.3.3"
},
"engines": {
"node": ">=22"
},
"overrides": {
"@babel/runtime": "^7.26.10",
"fast-xml-parser": "^5.3.4",
Expand Down
56 changes: 2 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading