Alessio Gravili
8f3f44922e
feat: upgrade to React 19 stable and Next.js 15.0.4 ( #9801 )
...
No need for those ugly @types/react overrides anymore!
2024-12-06 14:53:36 -05:00
Elliot DeNolf
d3232b947d
templates: bump for v3.4.0 ( #9780 )
...
Automated bump of templates for v3.4.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-05 15:33:33 -06:00
Paul
19ddd3cfc6
templates: improvements to seed speed on website template and updated hero and collapsible fields ( #9779 )
...
- Improvements to seed speed on the website template
- Update hero on mobile
- Fields are collapsed by default where possible now
- Add rowlabel components for nav items
2024-12-05 15:08:02 -06:00
github-actions[bot]
97aca5fde7
templates: bump for v3.4.0 ( #9765 )
...
Automated bump of templates for v3.4.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-05 05:12:46 +00:00
Paul
97d3bb1c11
templates(website): add next sitemap robots disallow config for /admin ( #9761 )
...
Sets robots disallow to /admin
2024-12-05 01:30:40 +00:00
Germán Jabloñski
89db8fb7f2
chore(templates): migrate to new richtext component in website template ( #9615 )
...
In addition to requiring fewer files, it supports more nodes. If you
currently initialize a website template and want to use features such as
images or tables, they are not rendered. With this change that happens
automatically.
Credits to @AlessioGr for the [JSX
serializer](https://github.com/payloadcms/payload/pull/8795 ).
---------
Co-authored-by: Paul Popus <paul@nouance.io >
2024-12-05 00:38:49 +00:00
Paul
3d1305de5c
templates: fixes the seeding for the website template when using postgres ( #9758 )
2024-12-04 23:58:57 +00:00
github-actions[bot]
fa39b37a44
templates: bump for v3.4.0 ( #9752 )
...
Automated bump of templates for v3.4.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-04 19:46:32 +00:00
Paul
2321970fcc
templates: improve speed of seed script ( #9748 )
...
Improves the speed of the seed script by moving operations to be async
and disabling revalidation on them
2024-12-04 12:38:18 -06:00
github-actions[bot]
5fec816ad6
templates: bump for v3.4.0 ( #9741 )
...
Automated bump of templates for v3.4.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-04 11:10:20 -05:00
Paul
32f0f340ac
fix(templates): vercel migrations ( #9730 )
2024-12-04 02:57:49 +00:00
Paul
fce210b9b1
feat(templates): add sitemap support to website template ( #9727 )
...
Adds sitemap support for website templates using `next-sitemap` and
dynamic sitemaps for pages and posts.
2024-12-04 02:08:55 +00:00
Paul
1bd689b7e1
feat(templates): add new favicons and og images to website template ( #9716 )
...
Add new favicons to match payload's new logo and new OG images and OG
image sizes to the website template.
2024-12-03 23:52:36 +00:00
DesertShadow
fd9a0073f1
fix(templates): website template copy code button darkmode behavior ( #9715 )
...
### What?
Makes copybutton's CopyIcon behave as expected in darkmode.
### Why?
CopyIcon inverts on its own now and has a preset size.
Therefore this wrapper div creates unwanted behavior and is not needed
anymore.
```tsx
<div className="w-6 h-6 dark:invert">
<CopyIcon />
</div>
```
With div

Without div

Light mode is unaffected.
### How?
Remove the wrapper div above, leaving only the CopyIcon.
2024-12-03 23:39:20 +00:00
Paul
8beb7c1636
fix(templates): vercel website template migrations wrong adapter import ( #9708 )
2024-12-03 19:37:56 +00:00
Paul
3f3222404f
chore(templates): add initial migrations for vercel with website template ( #9706 )
...
Adds the initial migration files needed for vercel deployments to work
and updated .env examples
2024-12-03 19:09:34 +00:00
Paul
d2007b1670
fix(templates): website remove maxDepth from references in link field ( #9702 )
...
Removes maxDepth from link fields which can cause issues sometimes
depending on how deep the reference is
Also removes bottom border on website header.
2024-12-03 18:55:20 +00:00
Paul
5b3079a88e
chore(scripts): fix generate template variations script ( #9671 )
2024-12-02 23:30:52 +00:00
Alessio Gravili
877b89962e
chore: upgrade all dependencies used to build payload (swc, esbuild, react compiler, babel) ( #9658 )
2024-12-02 09:07:48 -07:00
Alessio Gravili
71ba4a8bce
chore: upgrade all react and next-related packages ( #9655 )
...
This PR updates all react and next-related packages to the latest
version in our test directory and in our templates, while still allowing
older versions to be used.
Additionally, this ensures that the "scheduler" package version we
install matches the version installed by react-dom
2024-12-02 00:48:39 -07:00
Elliot DeNolf
b47ebb6550
chore(templates): bump lock 3.2.1 ( #9553 )
2024-11-26 22:51:28 -05:00
Elliot DeNolf
6af4deefc2
fix(plugin-search): missing copyfiles script, incorrect scss import ( #9552 )
...
.tsx files were introduced into the plugin-search package, but an
appropriate `copyfiles` script was not introduced to get these files
into the dist output.
This was causing a `Module not found: Can't resolve './index.scss'`
error on build.
---------
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2024-11-26 20:28:07 -07:00
Elliot DeNolf
072f1efb41
chore(templates): bump lock 3.2 ( #9551 )
2024-11-26 21:22:29 -05:00
Jacob Fletcher
b61622019e
chore(examples): removes external auth examples ( #8605 )
...
In effort to keep the Examples Directory as easy to navigate as
possible, and to keep the Payload Monorepo only as verbose as it needs
to be, we need to remove all alternatives from the Examples Directory.
This includes setups that interact with Payload from a standalone
server, keeping only the Payload recommended "combined" Next.js +
Payload setups. This will also be applied to all other examples that use
this setup, i.e. draft preview, live preview, etc.
2024-11-26 19:07:56 +00:00
Paul
dac42ff1bd
fix(templates): website priority with loading lazy on medium hero error ( #9537 )
...
Fixes a minor error thrown by Next
2024-11-26 17:07:49 +00:00
Elliot DeNolf
8658945d7b
chore(templates): remove unneeded lock files, add hook ( #9508 )
...
- Update lock files for blank, website
- Delete unneeded lock files
- Adds git hook to ensure no new lockfiles are added for _other than_
blank and website.
2024-11-25 10:04:41 -05:00
Sasha
aa1d300062
feat(templates): website template performance improvements ( #9466 )
...
- Uses `pagination: false` where we don't need `totalDocs`.
- in `preview/route.ts` uses `depth: 0`, select of only ID to improve
performance
- in `search` uses `select` to select only needed properties
- adds type safety best practices to collection configs with
`defaultPopulate`
- uses `payload.count` to resolve SSG `pageNumber`s
2024-11-25 10:02:27 -05:00
Alessio Gravili
13fc94dc4d
chore: upgrade to TypeScript 5.7, ensure tsconfig targed and lib properties match the APIs we support ( #9473 )
...
TS 5.7 added support for ES2024. By keeping target: “esnext”, we would
have accidentally set our minimum supported ES version to ES2024.
This sets it to ES2022, which is the version supported by Node 18
2024-11-23 16:35:27 -07:00
Paul
23d54a76c1
fix(templates): website template firefox logo fix and images fix on vercel ( #9459 )
...
Fixes logo not showing up on firefox and images not loading properly
when hosting with Vercel
2024-11-22 23:53:06 +00:00
Paul
09abebd58c
fix(templates): vercel website template payload config regression ( #9455 )
2024-11-22 20:18:04 +00:00
Paul
90fedbc16b
fix(templates): fixes imports in website template from @payloadcms/ui to be direct ( #9451 )
2024-11-22 19:08:38 +00:00
Paul
322738fca3
chore(templates): copy over improvements to the vercel website template and add vscode debug config ( #9450 )
...
Copied over the improvements from the website template into the vercel
website template.
Add vscode debug config to both templates.
2024-11-22 18:42:28 +00:00
Paul
be8cd7f4d9
feat(templates): website optimisations for image sizes and loading ( #9447 )
...
Adds defaultPopulate on pages and posts
Further optimises images and fetching staticParams
2024-11-22 18:21:56 +00:00
Paul
18b139b9de
fix(templates): website template breaking change by renaming hero image to jpg ( #9416 )
2024-11-21 21:42:29 +00:00
Paul
2036a566fd
feat(templates): update website styles and new home hero image ( #9413 )
2024-11-21 20:39:56 +00:00
Friggo
0b4e5a6ece
chore(templates): updates github urls in seed data ( #9376 )
...
Update the GitHub URLs to website template to point to main instead of beta
2024-11-21 15:35:07 -05:00
Patrik
1dc8094905
chore(templates): adds getURL util to website & with-vercel-website templates ( #9336 )
2024-11-19 14:43:22 -05:00
Paul
7f65c83a98
fix(templates): website logo not showing ( #9334 )
2024-11-19 15:06:56 +00:00
James Mikrut
a50029f659
Update README.md
2024-11-19 08:44:22 -05:00
James Mikrut
197a22fb28
chore: uses payload.auth in website template seed function ( #9331 )
...
Uses `payload.auth` in the website template seed function, which is
better than manually verifying the JWT.
2024-11-19 08:36:53 -05:00
Paul
26cb1e1546
fix(templates): seeding in website template moved to a separate route so timeout can be customised ( #9327 )
2024-11-19 00:03:22 -06:00
Elliot DeNolf
6145accb83
chore(templates): bump all templates to 3.0
2024-11-18 20:25:52 -05:00
Dan Ribbens
0d63dc9f9c
chore: remove unused transaction in website seed ( #9319 )
2024-11-18 19:55:27 -05:00
Elliot DeNolf
ecbafbf181
fix(templates): remove req from seed script
2024-11-18 16:58:16 -05:00
Elliot DeNolf
7314990b0c
chore(templates): add .npmrc files
2024-11-18 16:38:36 -05:00
Elliot DeNolf
58eeb6e47c
chore(templates): bring back needed lock files
2024-11-18 16:35:56 -05:00
Germán Jabloñski
f1eab5d5d3
chore(richtext-lexical): re-export lexical ( #9229 )
...
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2024-11-18 16:27:36 -05:00
Elliot DeNolf
333da1bb42
fix(templates): seed from url ( #9306 )
...
Update website template seeding to use URLs instead of image assets.
Images are not available when deployed to vercel.
2024-11-18 15:41:20 -05:00
Elliot DeNolf
e796ff2330
chore(templates): add back payload cloud to plugins array
2024-11-18 15:31:45 -05:00
Elliot DeNolf
324af8a5f9
chore: update all githubusercontent links after branch rename
2024-11-17 16:46:23 -05:00