forked from crowetic/commerce
* 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
Saleor Provider
Demo: https://saleor.vercel.store/
You need a Saleor instance, either in the cloud or self-hosted.
This provider requires Saleor 3.x or higher.
Copy the .env.template
file in this directory to .env.local
in the main directory (which will be ignored by Git):
cp packages/saleor/.env.template .env.local
Then, set the environment following variables in your .env.local
. Both, NEXT_PUBLIC_SALEOR_API_URL
and COMMERCE_IMAGE_HOST
must point to your own Saleor instance.
COMMERCE_PROVIDER=saleor
NEXT_PUBLIC_SALEOR_API_URL=https://vercel.saleor.cloud/graphql/
NEXT_PUBLIC_SALEOR_CHANNEL=default-channel
COMMERCE_IMAGE_HOST=vercel.saleor.cloud