1338 Commits

Author SHA1 Message Date
Bolaji
9e68d2efbd
chore: 🤖 update env variables 2022-05-13 07:48:16 +01:00
Alessandro Casazza
f11ff29e3b
feat: Update hooks 2022-05-10 18:57:21 +02:00
Alessandro Casazza
a9e2d75f14
feat: Get products from external static file 2022-05-10 18:50:04 +02:00
Alessandro Casazza
9ccbc55151
chore: Update config 2022-05-10 18:40:31 +02:00
Alessandro Casazza
6565266242
feat: Add get content data from static file and get prices from CL 2022-05-10 18:39:57 +02:00
Alessandro Casazza
b9f8d0928a
chore: Update deps 2022-05-10 18:37:27 +02:00
Bolaji
46fff00060
fix: 🐛 fix error with checkout endpoint 2022-03-01 08:24:17 +01:00
Bolaji
57c8d78234
chore: 🤖 revert site/tsconfig.json 2022-02-28 16:18:36 +01:00
Bolaji
e8a12e4864
refactor: 💡 update commercelayer provider structure 2022-02-28 15:36:23 +01:00
Bolaji
7e5896e4a5
chore: 🤖 fix conflicts 2022-02-28 11:42:03 +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
Dom Sip
db170558d5
feat: replace next-seo with custom solution (#660)
* replace next-seo with custom solution

* Updated check

Co-authored-by: LFades <luis@vercel.com>
2022-02-18 04:26:31 -05:00
Luis Alvarez D
65c9d39ae6
Add env vars used for provider detection as keys (#679) 2022-02-11 11:42:25 -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
Dom Sip
c11b1ca868
refactor: SOL-122: replace classnames with clsx (#656)
refactor: SOL-122: replace classnames with clsx
2022-02-08 11:53:32 -05:00
Bolaji
c9ee22492b
chore: remove unused import 2022-02-08 10:05:31 +01:00
Bolaji
4dbe8b5bce
refactor: fix cart items routing 2022-02-08 06:52:50 +01:00
Dom Sip
4508b13a3c
update run and build docs (#667) 2022-02-04 10:51:30 -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
Bolaji Ayodeji
8cac636022 refactor: update normalize line items (image) 2022-01-28 16:26:30 +01:00
Bolaji Ayodeji
553fbc8ec5 chore: remove local images and domain 2022-01-26 15:23:45 +01:00
Bolaji Ayodeji
5db8d15857 refactor: update image source and cleanup 2022-01-25 21:08:08 +01:00
Alessandro Casazza
5a44750963
Update WishlistButton.tsx 2022-01-21 11:44:07 +01:00
Alessandro Casazza
4da115d232
fix: Read and add wishlist items 2022-01-21 11:43:49 +01:00
Alessandro Casazza
0ea2929c31
chore: Revert core changes 2022-01-21 11:43:49 +01:00
Alessandro Casazza
dbecda64c4
fix: Clean order 2022-01-21 11:43:37 +01:00
Alessandro Casazza
0f5cdf99fb
fix: Clean order if it is placed 2022-01-21 11:43:37 +01:00
Bolaji Ayodeji
217a8f34c0
fix: fix type errors 2022-01-21 11:43:37 +01:00
Bolaji Ayodeji
59d25e3492
refactor: refactor index.ts and add missing files 2022-01-21 11:43:37 +01:00
Bolaji Ayodeji
a5a20d9634
refactor: update framework imports 2022-01-21 11:43:36 +01:00
Bolaji Ayodeji
8f341f9a64
refactor: change import from '@framework' to relative imports 2022-01-21 11:43:36 +01:00
Bolaji Ayodeji
04950c7eff
refactor: update env template and README 2022-01-21 11:43:18 +01:00
Bolaji Ayodeji
8d9fb8752c
refactor: change order of items 2022-01-21 11:43:18 +01:00
Alessandro Casazza
6c060582ec
fix: Wishlist flow 2022-01-21 11:43:17 +01:00
Alessandro Casazza
5ce768866d
chore: Revert wrong code clening 2022-01-21 11:43:17 +01:00
Bolaji Ayodeji
b96967ad68
fix: update vendor attribute 2022-01-21 11:43:17 +01:00
Alessandro Casazza
efc8a01cdb
fix: Remove custom code and clean all code 2022-01-21 11:43:17 +01:00
Bolaji Ayodeji
c4ec67a1e0
chore: update env template variables 2022-01-21 11:43:17 +01:00
Alessandro Casazza
3c64a258c6
feat: Add categories 2022-01-21 11:43:17 +01:00
Alessandro Casazza
703446013b
fix: Import data 2022-01-21 11:43:17 +01:00
Alessandro Casazza
93d5fc0220
feat: Add wishlist 2022-01-21 11:43:16 +01:00
Alessandro Casazza
90fbe59c7e
fix: Search text result 2022-01-21 11:09:35 +01:00
Alessandro Casazza
d1ea2354ee
feat: Add search products by name 2022-01-21 11:09:35 +01:00
Bolaji Ayodeji
f33cb3fc86
chore: update docs and cleanup 2022-01-21 11:09:35 +01:00
Alessandro Casazza
88dcc56995
fix: Add mutate instead of revalidate 2022-01-21 11:09:35 +01:00
Alessandro Casazza
1cb1824af1
fix: Customer request without customerId 2022-01-21 11:09:35 +01:00
Bolaji Ayodeji
16a9862b53
refactor: update external checkout and docs 2022-01-21 11:09:35 +01:00
Bolaji Ayodeji
7cc48a9d35
docs: update provider docs and cleanup 2022-01-21 11:09:34 +01:00
Bolaji Ayodeji
187739c951
fix: fix issue with /cart page 2022-01-21 11:09:34 +01:00
Bolaji Ayodeji
e26a1497a8
feat: add draft logout 2022-01-21 11:09:34 +01:00