37 Commits

Author SHA1 Message Date
DuvCharles
fea72c36f5 create hooks 2023-03-24 17:30:25 +01:00
DuvCharles
f92d823d1e normalize customer 2023-03-24 17:30:25 +01:00
DuvCharles
456568e942 add token in fetcher header 2023-03-24 17:30:25 +01:00
DuvCharles
ad634950a8 add customer token and id to localstorage 2023-03-24 17:30:25 +01:00
DuvCharles
b01b327357 enable login 2023-03-24 17:30:25 +01:00
DuvCharles
62501db571 use-search 2022-12-02 21:12:18 +01:00
DuvCharles
61592ee3e9 remove graphQL fetcher 2022-11-29 15:58:55 +01:00
DuvCharles
96a8c54e21 fix site-info 2022-11-18 17:29:03 +01:00
DuvCharles
b4a81e7d9a get-all-product-path operation 2022-11-18 17:28:33 +01:00
DuvCharles
7bf6e07cec add path to product 2022-11-18 16:48:06 +01:00
DuvCharles
64315a74ca create get-site-info operation 2022-11-18 14:23:39 +01:00
DuvCharles
ad12c23ab2 create get-product operation 2022-11-15 17:43:13 +01:00
DuvCharles
5e9300af5f normalize option and variant 2022-11-15 17:42:55 +01:00
DuvCharles
e4dad2f8f4 update product types 2022-11-15 17:41:55 +01:00
DuvCharles
1ad05673a2 Call api route to get all products 2022-11-10 11:18:35 +01:00
DuvCharles
8b2c415e1a Refacto config name 2022-11-10 11:18:09 +01:00
DuvCharles
b4c088f4ca convert sylius product to commerce product 2022-11-10 11:17:45 +01:00
DuvCharles
b414f4f708 create sylius products type 2022-11-10 11:16:57 +01:00
DuvCharles
f5282b332f Update config and create rest api fetcher 2022-11-10 11:16:22 +01:00
DuvCharles
2e30281e69 feat: mock api routes 2022-11-10 11:12:47 +01:00
DuvCharles
8c6f2754dd feat: mock hooks 2022-09-30 13:41:57 +02:00
Loïc Carbonne
f6821004ee Init Sylius provider package 2022-09-13 17:18:53 +02:00
Eduardo Fortuna
f059d4e6c4
Update Shopify Storefront API Version (#736) 2022-05-16 16:02:19 +02:00
Dom Sip
4bb8fcb06d
docs(sfcc): demo link (#744) 2022-04-28 12:54:14 -05:00
Dom Sip
66e3269b0e
SFCC provider (#727)
* new SFCC provider

* add search

* normalization + search

* categories as search results

* adress PR feedback

* Update README.md

* get all paths for SSG

* product variants and options

* Apply suggestions from code review

Co-authored-by: Luis Alvarez D. <luis@vercel.com>

* remove console log

* prettier

* clean console log

* ran prettier

* Updated readme

* remove static data and revert config changes

* set default site

Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2022-04-20 12:08:26 -05:00
Stefan Horne
dd726aabb5
chore(docs): update .env.template provider names (#721)
Co-authored-by: Stefan Horne <stefanhorne@gmail.com>
2022-04-13 16:45:31 +01:00
markus
acf14b8889
Import config with POSIX path (#728) 2022-04-13 16:19:33 +01:00
Bel
52b25b85d6
Bug Fix Round and Updates (#719)
* Kibo missing dependency
* return 404 for invalid page
* fix and simplify types for pages

Co-authored-by: Dominik Sipowicz <dom@vercel.com>
2022-03-24 11:42:33 +00:00
Stefan Horne
fee16e795c
feat(core): add GBP currency code to product price type (#717)
Co-authored-by: Stefan Horne <stefanhorne@gmail.com>
2022-03-23 15:29:13 +00:00
Lukasz Ostrowski
ee62ea659a
Add lodash.debounce to Shopify provider package.json dependencies (#691)
* Add lodash.debounce to package.json dependencies

Shopify provider requires `lodash.debounce` package. This package is installed in BigCommerce provider, but not in Shopify provider. After BigCommerce is removed, Shopfify provider can't be installed.

This PR fixes this error

* Install lodash debounce and its @types to providers that use this package
2022-03-16 15:27:13 +01:00
Tommy Sørensen
ac8d4bf63d
Update product.ts (#708) 2022-03-16 12:11:04 +01:00
Bel
172deeee86
Fixes & Updates (#704)
* Adding Dropdown Component

* Styling Issues

* Wishlist Fix

* Fixes for Wishlist View

* Hearts now work again

* Rollback ts

* Removing extra config to disable BigCommerce

* Fixes for Wishlist View

* Remove transition/animation for mobile

* New Updates.

* New Updates.

* Dropdown fix

* Polish

* export

* export

* revert tsconfig

Co-authored-by: Luis Alvarez D. <luis@vercel.com>

Co-authored-by: Dom Sip <dom@vercel.com>
Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2022-03-16 12:05:58 +01:00
Luis Alvarez D
9a45329ad2
Disabled wishlist and user login in bigcommerce (#703) 2022-03-08 00:34:59 +00:00
Dom Sip
0ae927fbcf
fix(vendure): add new image domain (#698) 2022-03-02 12:49:12 +01:00
Andrea Barani
9387178538
fix(bigcommerce): add limit on product variants (#655)
add explicit limit on product variants field to load more than default
2022-02-18 04:40:59 -05:00
Luis Alvarez D
541491f169
Replace tsc with SWC for package compilation and file watching (#675)
* Updated turbo version

* Added taskr to packages/local

* Move json files

* Include missing extension

* Fixed prettierignore

* Updated swc plugin

* Moved swc plugin to its own package

* Added note

* Removed unused package

* Added watch for file changes

* Added taskr deps to every package

* Added taskfile to every package

* Updated scripts in every package

* Added 2 utiity scripts

* Fix turbo dev script

* Update swc plugin to include jsx import

* Updated build script in main package.json
2022-02-09 10:30:59 -05:00
Luis Alvarez D
0afe686fe9
Monorepo with Turborepo (#651)
* Moved everything

* Figuring out how to make imports work

* Updated exports

* Added missing exports

* Added @vercel/commerce-local to `site`

* Updated commerce config

* Updated exports and commerce config

* Updated commerce hoc

* Fixed exports in local

* Added publish config

* Updated imports in site

* It's actually working

* Don't use debugger in dev for better speeds

* Improved DX when editing packages

* Set up eslint with husky

* Updated prettier config

* Added prettier setup to every package

* Moved bigcommerce

* Moved Bigcommerce to src and package updates

* Updated setup of bigcommerce

* Moved definitions script

* Moved commercejs

* Move to src

* Fixed types in commercejs

* Moved kibocommerce

* Moved kibocommerce to src

* Added package/tsconfig to kibocommerce

* Fixed imports and other things

* Moved ordercloud

* Moved ordercloud to src

* Fixed imports

* Added missing prettier files

* Moved Saleor

* Moved Saleor to src

* Fixed imports

* Replaced all imports to @commerce

* Added prettierignore/rc to all providers

* Moved shopify to src

* Build shopify in packages

* Moved Spree

* Moved spree to src

* Updated spree

* Moved swell

* Moved swell to src

* Fixed type imports in swell

* Moved Vendure to packages

* Moved vendure to src

* Fixed imports in vendure

* Added codegen to saleor

* Updated codegen setup for shopify

* Added codegen to vendure

* Added codegen to kibocommerce

* Added all packages to site's deps

* Updated codegen setup in bigcommerce

* Minor fixes

* Updated providers' names in site

* Updated packages based on Bel's changes

* Updated turbo to latest

* Fixed ts complains

* Set npm engine in root

* New lockfile install

* remove engines

* Regen lockfile

* Switched from npm to yarn

* Updated typesVersions in all packages

* Moved dep

* Updated SWR to the just released 1.2.0

* Removed "isolatedModules" from packages

* Updated list of providers and default

* Updated swell declaration

* Removed next import from kibocommerce

* Added COMMERCE_PROVIDER log

* Added another log

* Updated turbo config

* Updated docs

* Removed test logs

Co-authored-by: Jared Palmer <jared@jaredpalmer.com>
2022-02-01 14:14:05 -05:00