Chris Bailey
034aa68cd4
docs: fixes typo in website template README ( #8565 )
2024-10-06 21:32:51 -04:00
DragnovDC
be06579b3e
chore(templates): change import in ecommerce template to be type-only ( #8019 )
...
Linter Error: Import 'Header' conflicts with local value, so must be
declared with a type-only import when 'isolatedModules' is
enabled.ts(2865)
2024-09-01 18:51:01 -04:00
Jason Toups
b13f7e8843
chore: updates all of the Readme localhost:3000 Code to Links ( #7252 )
2024-07-29 11:22:50 -04:00
Yosuf Ali
abffa37d85
chore(templates): fixes bug in e-commerce ( #7258 )
...
## Description
When following the documentation to run the E Commerce template locally,
you are asked to run `yarn stripe:webhooks` to work with webhooks.
However, when checking out your cart and a webhook is triggered, your
terminal receives the following error:
```
[ERROR] Failed to POST: Post "http://localhost:8000/stripe/webhooks ": dial tcp 127.0.0.1:8000: connect: connection refused
```
I believe this is because the port is wrong, and it should be port
`3000`. There is no reference to a port `8000` anywhere in the code base
for this template, including in the docker-compose.yml file.
Making this changes allows webhook requests to be forwarded correctly:
```
--> customer.created [evt_...]
<-- [200] POST http://localhost:3000/stripe/webhooks [evt_...]
```
This PR makes this small change.
<!-- Please include a summary of the pull request and any related issues
it fixes. Please also include relevant motivation and context. -->
- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md )
document in this repository.
## Type of change
<!-- Please delete options that are not relevant. -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] Change to the
[templates](https://github.com/payloadcms/payload/tree/main/templates )
directory (does not affect core functionality)
## Checklist:
- [x] Existing test suite passes locally with my changes
2024-07-22 13:43:29 -04:00
Mark Aloo
74105d8ee5
feat(templates): add import alias to tsconfig.json ( #7051 )
2024-07-08 11:39:16 -04:00
Alessio Gravili
1c986a9832
fix: upgrade swc, fixing swc issues on linux ( #6809 )
...
Fixes https://github.com/payloadcms/payload/issues/6611
2024-06-17 11:58:42 -04:00
Paul
fb4ef6fc0f
fix(templates): pass PORT into next in custom servers ( #6807 )
...
Closes https://github.com/payloadcms/payload/issues/4800
- [x] Chore (non-breaking change which does not add functionality)
2024-06-17 11:14:34 -04:00
Elliot DeNolf
d016fbd2a5
chore(templates): update lock files ( #6707 )
...
Update template lock files
Fixes #6692
2024-06-10 11:00:46 -04:00
Donovan Glover
63e04e2ae0
fix(editorconfig): use off for max_line_length ( #4713 )
...
Fixes "invalid value for option max_line_length: null"
See:
https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length
2024-05-22 15:28:14 -04:00
Paul
6cf6ca3ea8
fix(website template): archiveBlock being populated with draft items by default, causing an error for graphql in the frontend ( #5643 )
...
* fix(website template): archiveBlock being populated with draft items by default, causing an error for graphql in the frontend
2024-04-03 19:34:36 -03:00
dependabot[bot]
e88de5db60
chore(deps): bump express from 4.18.2 to 4.19.2 in /templates/ecommerce ( #5533 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 10:01:09 -04:00
dependabot[bot]
11ff2042f3
chore(deps): bump express from 4.18.2 to 4.19.2 in /templates/website ( #5537 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 10:00:14 -04:00
dependabot[bot]
1dc86aa6e6
chore(deps): bump es5-ext from 0.10.62 to 0.10.64 in /templates/website ( #5190 )
...
Bumps [es5-ext](https://github.com/medikoo/es5-ext ) from 0.10.62 to 0.10.64.
- [Release notes](https://github.com/medikoo/es5-ext/releases )
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md )
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.62...v0.10.64 )
---
updated-dependencies:
- dependency-name: es5-ext
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 09:59:19 -04:00
dependabot[bot]
1453547e35
chore(deps): bump es5-ext from 0.10.62 to 0.10.64 in /templates/blank ( #5188 )
...
Bumps [es5-ext](https://github.com/medikoo/es5-ext ) from 0.10.62 to 0.10.64.
- [Release notes](https://github.com/medikoo/es5-ext/releases )
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md )
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.62...v0.10.64 )
---
updated-dependencies:
- dependency-name: es5-ext
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 09:59:01 -04:00
dependabot[bot]
332c9b3a98
chore(deps): bump es5-ext in /templates/ecommerce ( #5186 )
...
Bumps [es5-ext](https://github.com/medikoo/es5-ext ) from 0.10.62 to 0.10.64.
- [Release notes](https://github.com/medikoo/es5-ext/releases )
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md )
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.62...v0.10.64 )
---
updated-dependencies:
- dependency-name: es5-ext
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 09:58:36 -04:00
dependabot[bot]
0900baf8f9
chore(deps): bump express from 4.18.2 to 4.19.2 in /templates/blank ( #5532 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 09:56:07 -04:00
Dan Ribbens
8919b86571
chore(ecommerce-template): fix duplicate cart update calls ( #5228 )
2024-03-05 10:51:50 -05:00
dependabot[bot]
4a49beb552
chore(deps): bump ip from 2.0.0 to 2.0.1 in /templates/blank ( #5129 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 11:24:14 -05:00
dependabot[bot]
f53e2df951
chore(deps): bump ip from 2.0.0 to 2.0.1 in /templates/website ( #5131 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 11:24:01 -05:00
dependabot[bot]
0fba582926
chore(deps): bump ip from 2.0.0 to 2.0.1 in /templates/ecommerce ( #5126 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 11:22:49 -05:00
Paul
23b135b963
fix(templates): fix conflicting routes with Nextjs ( #4725 )
...
* Updated templates and readme to note conflicting routes
* Move information in readmes to blockquotes and move next-api to just next
* Remove unnecessary notes
2024-02-06 10:56:20 -05:00
Dan Ribbens
0bd81aa25a
fix(templates-ecommerce): hook errors for non-string ids ( #4946 )
2024-01-30 13:28:14 -05:00
Elliot DeNolf
0f69b9c2f8
chore(templates): remove jackspeak resolutions
2024-01-10 13:06:50 -05:00
Elliot DeNolf
f1bb2f8151
feat(templates): bump plugin-cloud ( #4770 )
2024-01-10 13:03:50 -05:00
dependabot[bot]
40508880c1
chore(deps): bump follow-redirects in /templates/blank ( #4736 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 13:18:18 -05:00
dependabot[bot]
8f420d841a
chore(deps): bump follow-redirects in /templates/website ( #4737 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 13:18:08 -05:00
dependabot[bot]
9022e27308
chore(deps): bump follow-redirects in /templates/ecommerce ( #4734 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 13:17:59 -05:00
James
f70943524b
fix(templates): #4662 , templates not building after having types generated
2024-01-02 19:49:09 -05:00
Alessio Gravili
fee81bfbc4
fix(templates/ecommerce): updates @payloadcms/plugin-stripe to v0.0.19 ( #4554 )
2023-12-18 16:28:38 -05:00
Jacob Fletcher
fd1c4b7fc8
fix(templates): pins react-hook-form to v7.45.4 ( #4469 )
2023-12-12 15:22:23 -05:00
dependabot[bot]
b450aeee85
chore(deps): bump sharp from 0.31.3 to 0.32.6 in /templates/blank ( #4173 )
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.31.3 to 0.32.6.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.31.3...v0.32.6 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 09:37:15 -05:00
Jacob Fletcher
dff3f37313
fix(templates): collection archive block ( #4426 )
2023-12-11 18:28:10 -05:00
Alessio Gravili
b9c0248823
fix: pin ts-node versions which are causing swc errors ( #4447 )
2023-12-11 17:55:36 +01:00
Jacob Fletcher
80ef18c149
fix(templates/website): removes unused form builder plugin from deps ( #4385 )
2023-12-05 11:57:21 -05:00
James
c00cbaabbc
chore: lints
2023-11-30 18:34:38 -05:00
James
02f407e995
chore: lints
2023-11-30 17:12:01 -05:00
Elliot DeNolf
74e8051bb6
chore(templates): GRAPHQL_API_URL to ecommerce template
2023-11-30 17:01:19 -05:00
James
ee670b2b20
chore: introduces graphql_api_url to website template
2023-11-30 16:58:30 -05:00
Elliot DeNolf
2f8bcc977b
fix(templates): adjust graphql endpoint
2023-11-30 16:19:46 -05:00
Tylan Davis
cbeb0a8bc7
fix(templates): uses context to prevent infinite loop in populateArchiveBlock ( #4278 )
2023-11-27 10:47:03 -05:00
Jacob Fletcher
ad62db01e7
chore(templates): adds comments to .env.example ( #4276 )
2023-11-27 10:43:03 -05:00
Jessica Chowdhury
6eeae9d53b
examples: updates blank template readme ( #4216 )
2023-11-21 08:40:01 -05:00
Jessica Chowdhury
d6233cbf42
templates: update fetch request in populateArchiveBlock hook ( #4127 )
2023-11-14 11:16:16 -05:00
Elliot DeNolf
a34d0f8274
fix(templates): yarn v1 workaround ( #4125 )
2023-11-13 11:53:57 -05:00
Elliot DeNolf
dc253676e8
docs: add latest tag to all mentions of create-payload-app [no ci] ( #3998 )
2023-11-03 17:18:03 -04:00
Jacob Fletcher
6918be20ba
fix(templates): serializes internal links ( #3935 )
2023-10-30 15:02:01 -04:00
Elliot DeNolf
c8fbfc43bd
chore(templates): pin next@13.5.2
2023-10-26 09:54:23 -04:00
Dan Ribbens
59fabc757d
chore(templates): update ecommerce yarn lock ( #3867 )
2023-10-25 11:19:31 -04:00
Dan Ribbens
650f78a2b9
chore(templates): fix types and seeding errors ( #3845 )
2023-10-25 09:45:09 -04:00
dependabot[bot]
80bf97ebb4
chore(deps): bump next from 13.4.19 to 13.5.0 in /templates/ecommerce ( #3851 )
...
Bumps [next](https://github.com/vercel/next.js ) from 13.4.19 to 13.5.0.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v13.4.19...v13.5.0 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 16:41:39 -04:00