This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
refactor: Merge configs into a single file #127
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
770011a
merge configs into a single file
tlgimenes 4348df6
move api to a single section
tlgimenes e7828a5
update README
tlgimenes a57cc22
apply requested changes
tlgimenes 80a0028
fix wrong lh config
tlgimenes 7631b75
fix sonnarqube
tlgimenes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module.exports = { | ||
// Ecommerce Platform | ||
platform: 'vtex', | ||
|
||
// Platform specific configs for API | ||
api: { | ||
storeId: 'fashioneurope', | ||
environment: 'vtexcommercestable', | ||
}, | ||
|
||
// Default channel | ||
channel: '1', | ||
|
||
// Production URLs | ||
storeUrl: 'https://www.vtex-base1.tk', | ||
checkoutUrl: 'https://chk.vtex-base1.tk/checkout', | ||
|
||
// Lighthouse CI | ||
lighthouse: { | ||
server: process.env.BASE_SITE_URL || 'http://localhost:9000', | ||
urls: ['/', '/women', '/organza-sleeve-top-138/p'], | ||
}, | ||
|
||
// E2E CI | ||
cypress: { | ||
pages: { | ||
pdp: '/organza-sleeve-top-138/p', | ||
collection: '/women', | ||
collection_filtered: | ||
'/women/?category-1=women&color=red&facets=category-1%2Ccolor', | ||
search: '/s?q=shirt', | ||
home: '/', | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
GATSBY_COMMERCE_PLATFORM=vtex | ||
GATSBY_STORE_ID=fashioneurope | ||
GATSBY_VTEX_CHANNEL=1 | ||
GATSBY_VTEX_ENVIRONMENT=vtexcommercestable | ||
GATSBY_CPU_COUNT=4 | ||
GATSBY_CHECKOUT_URL=https://chk.vtex-base1.tk/checkout | ||
|
||
# 🐞🐞 Uncomment for debugging final bundle 🐞🐞 | ||
GATSBY_STORE_PROFILING=false | ||
|
||
USE_NODE_MODULES_CACHE=true | ||
USE_GATSBY_CACHE=false | ||
|
||
URL=https://www.vtex-base1.tk | ||
# 🐞🐞 Uncomment for debugging final bundle 🐞🐞 | ||
# GATSBY_STORE_PROFILING=true |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep it consistent with the cypress config