24 Commits

Author SHA1 Message Date
Henrik Larsson
a7efbf8fc3 No locale detection 2023-08-11 07:52:46 +02:00
Henrik Larsson
dc2856c4c8 Tested to add algolia search 2023-08-10 20:49:53 +02:00
Henrik Larsson
04477fe83a Test suspense in dynamic content manager 2023-08-10 15:16:45 +02:00
Henrik Larsson
336ae78a4b Updated TypeScript to resolve async RSC error 2023-08-09 14:34:10 +02:00
Henrik Larsson
047e5fe566 Updates 2023-08-08 17:06:04 +02:00
Henrik Larsson
22aab2f657 Updates 2023-08-08 16:20:45 +02:00
Henrik Larsson
8cd95842c7 Updated Next.js to latest version 2023-07-03 14:36:17 +02:00
Henrik Larsson
784cc6fe82 Iteratied revalidation, seems to working on a basic level 2023-05-23 15:58:39 +02:00
Henrik Larsson
d58d05df47 Tested basic revalidation 2023-05-23 10:29:10 +02:00
Henrik Larsson
35d4697016 Bumped next js version 2023-05-22 16:14:45 +02:00
Henrik Larsson
05c6a4d71f Added prettier plugin tailwindcss to project 2023-05-22 09:15:53 +02:00
Henrik Larsson
4bf59a61f6 Iterations and TS error fixes 2023-05-05 10:12:15 +02:00
Henrik Larsson
603bd2b880 Iterated with translations 2023-05-03 15:16:42 +02:00
Henrik Larsson
a1ae2357db Iterated with translations 2023-05-03 10:20:25 +02:00
Henrik Larsson
cca3250557 Iterated with translations 2023-05-03 09:58:35 +02:00
Lee Robinson
c2b96d6e2f
Add robots.txt file + update Next version. (#984) 2023-04-24 09:53:56 -05:00
Michael Novotny
ee900a48e8
Updates to latest canary. (#981) 2023-04-21 13:35:39 -05:00
Stephanie Dietz
a677c17f78
Update canary version to fix scroll to top. (#976) 2023-04-20 10:40:29 -05:00
Michael Novotny
e9a26c2935
Fixes cart item button layout shift (#971) 2023-04-18 12:08:18 -05:00
Lee Robinson
fd9450aecb
Next.js Commerce refresh. (#966)
We're making some updates to Next.js Commerce. Everything prior to this commit marks what we're calling [`v1`](https://github.com/vercel/commerce/releases/tag/v1) as a point in time to be able to reference and still use going into the future. The current architecture of Commerce is a multi-vendor, interoperable solution, including:

- [Shopify](https://shopify.vercel.store/)
- [Swell](https://swell.vercel.store/)
- [BigCommerce](https://bigcommerce.vercel.store/)
- [Vendure](https://vendure.vercel.store/)
- [Saleor](https://saleor.vercel.store/)
- [Ordercloud](https://ordercloud.vercel.store/)
- [Spree](https://spree.vercel.store/)
- [Kibo Commerce](https://kibocommerce.vercel.store/)
- [Commerce.js](https://commercejs.vercel.store/)
- [SalesForce Cloud Commerce](https://salesforce-cloud-commerce.vercel.store/)

All features can be toggled on or off, and it's easy to change between commerce providers. To support this, we needed to create a ["commerce metaframework"](d1d9e8c434/packages/commerce/new-provider.md) where providers could confirm to an API spec to add support for Next.js Commerce. While this worked and was successful for `v1`, we have different design goals and ambitions for `v2`.

**What You Need To Know**

- `v1` will not be updated moving forward. If you need to reference `v1`, you will still be able to clone and deploy the version tagged at this release.
- `v2` will be shifting to be a single provider vs. provider agnostic. Other providers are welcome to fork this repository and swap out the underlying `lib/` implementation that connects to the selected commerce provider (Shopify). This architecture was chosen to reduce the surface area of the codebase, remove the intermediate metaframework layer for provider-interoperability, and enable usage with the latest Next.js and React features.
- We will be sharing more about `v2` in the future as we continue to iterate before the marked release.
2023-04-17 22:00:47 -05:00
Catalin Pinte
4efa502666
Update to Next.js 13 (#870) 2022-12-21 09:51:55 -06:00
Catalin Pinte
c75b0fc001
Dynamic API routes (#836)
* Add dynamic API endpoints

* Add missing dependency

* Update api handlers

* Updates

* Fix build errors

* Update package.json

* Add checkout endpoint parser & update errors

* Update tsconfig.json

* Update cart.ts

* Update parser

* Update errors.ts

* Update errors.ts

* Move to Edge runtime

* Revert to local

* Fix switchable runtimes

* Make nodejs default runtime

* Update pnpm-lock.yaml

* Update handlers

* Fix build errors

* Change headers
2022-10-30 13:41:21 -05:00
Catalin Pinte
6c2610584d
Update types (#831)
* Update product types

* Cart types progress, add zod & initial schema validator

* Update normalize.ts

* Update with-schema-parser.ts

* Updated types, schemas & providers

* Fix providers after schema parse errors

* Fix paths

* More provider fixes

* Fix kibocommerce & commercejs

* Add customer updated types & fixes

* Add checkout & customer types

* Import core types only from commerce

* Update tsconfig.json

* Convert hooks interfaces to types

* Requested changes

* Change to relative paths

* Move Zod dependency
2022-10-05 09:02:29 +03:00
Catalin Pinte
11609a9e71
Upgrade dependencies & pnpm (#785)
* Updated log

* Updates to root

* Updates to pnpm

* successfully moved to pnpm

* type issue

* Local as the default provider

* Upgrade dependencies

* Revert to local

* Upgrade React

* Update node-fetch deps

* Fix types

* Ignore warnings

* Fix missing dependency

* Update pnpm-lock.yaml

* Add missing @types/cookie

* Upgrade dependencies

* Fix missing dependencies

* Update README.md

Co-authored-by: Bel Curcio <curciobel@gmail.com>
2022-09-19 08:14:49 +03:00