From 3682e64cfde053bf5491a38b2e72ddf3a7bb40f3 Mon Sep 17 00:00:00 2001 From: Bel Curcio Date: Wed, 3 Mar 2021 08:32:58 -0300 Subject: [PATCH] Default to bigcommerce --- framework/commerce/with-config.js | 1 + tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/commerce/with-config.js b/framework/commerce/with-config.js index da6705cef..1eb1acc19 100644 --- a/framework/commerce/with-config.js +++ b/framework/commerce/with-config.js @@ -7,6 +7,7 @@ const merge = require('deepmerge') const PROVIDERS = ['bigcommerce', 'shopify'] function getProviderName() { + // TODO: OSOT. return process.env.BIGCOMMERCE_STOREFRONT_API_URL ? 'bigcommerce' : null } diff --git a/tsconfig.json b/tsconfig.json index e20f37099..9e712fb18 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,8 +22,8 @@ "@components/*": ["components/*"], "@commerce": ["framework/commerce"], "@commerce/*": ["framework/commerce/*"], - "@framework": ["framework/shopify"], - "@framework/*": ["framework/shopify/*"] + "@framework": ["framework/bigcommerce"], + "@framework/*": ["framework/bigcommerce/*"] } }, "include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],