Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

refactor: Merge configs into a single file #127

Merged
merged 6 commits into from
Dec 3, 2021
Merged

Conversation

tlgimenes
Copy link
Contributor

What's the purpose of this pull request?

This PR merges all config into a single file. The main idea behind this PR is to make it easier for stores to setup their repo after forking this repo. Also, it makes it easier to automate this task

How it works?

This PR merges config from lighthouse/cypress/api into a file called store.config.js and split it into sections.

How to test it?

Make sure all features are working as intended

@netlify
Copy link

netlify bot commented Dec 3, 2021

✔️ Deploy Preview for basestore ready!

🔨 Explore the source changes: 7631b75

🔍 Inspect the deploy log: https://app.netlify.com/sites/basestore/deploys/61aa7142d8067f0008c4bb96

😎 Browse the preview: https://deploy-preview-127--basestore.netlify.app

@gatsby-cloud
Copy link

gatsby-cloud bot commented Dec 3, 2021

Gatsby Cloud Build Report

basestore

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 2m

Performance

Lighthouse report

Metric Score
Performance 💚 100
Accessibility 💚 100
Best Practices 💚 100
SEO 💚 92

🔗 View full report

@gatsby-cloud
Copy link

gatsby-cloud bot commented Dec 3, 2021

Gatsby Cloud Build Report

basestore

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 1m

Performance

Lighthouse report

Metric Score
Performance 💚 100
Accessibility 💚 100
Best Practices 💚 100
SEO 💚 92

🔗 View full report

@vtex-sites
Copy link

vtex-sites bot commented Dec 3, 2021

Preview is ready

This pull request generated a Preview

👀   Preview: https://preview-127--base.preview.vtex.app
🔬   Go deeper by inspecting the Build Logs
📝   based on commit 7d7b47a

store.config.js Outdated
// Lighthouse CI
lighthouse: {
server: process.env.BASE_SITE_URL || 'http://localhost:9000',
urls: ['/', '/women', '/organza-sleeve-top-138/p'],
Copy link
Contributor

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

Suggested change
urls: ['/', '/women', '/organza-sleeve-top-138/p'],
pages: ['/', '/women', '/organza-sleeve-top-138/p'],

@tlgimenes tlgimenes merged commit 7d7b47a into master Dec 3, 2021
@tlgimenes tlgimenes deleted the refactor/unify-config branch December 3, 2021 19:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants