bigcommerce / catalyst

Catalyst - for Composable Commerce
https://catalyst-demo.site
MIT License
120 stars 161 forks source link

feat: allow project creation without prompts if given valid config values #1541

Closed matthewvolk closed 4 weeks ago

matthewvolk commented 4 weeks ago

What/Why?

If a user provides --store-hash, --channel-id, and --storefront-token, there is no need to prompt the user to log into a store because they already have a store they want to connect to, a channel they want to link, and a valid auth token to interact with the GQL API for that channel.

Testing

I would post a video but it would expose SF tokens - this was tested locally and ran without errors and without affecting other CLI flag combinations.

changeset-bot[bot] commented 4 weeks ago

🦋 Changeset detected

Latest commit: 53570eb07f6a3571adab8c9c84c6cb94b7a5b49a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------------------- | ----- | | @bigcommerce/create-catalyst | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 10:16pm
5 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **catalyst** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst/EmAGu7nhp3wDTUsaSPN7iSzptLV4)) | | | Nov 5, 2024 10:16pm | | **catalyst-1millionproducts-store** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-1millionproducts-store/FGC7BUYRESmngjQGmv84DUmds3e5)) | [Visit Preview](https://catalyst-1millionproducts-store-git-2f5f3e-bigcommerce-platform.vercel.app) | | Nov 5, 2024 10:16pm | | **catalyst-au** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-au/9i5kea4t9o1P7gWg75uEhnPXxV1H)) | [Visit Preview](https://catalyst-au-git-feat-new-project-cr-9c2b09-bigcommerce-platform.vercel.app) | | Nov 5, 2024 10:16pm | | **catalyst-uk** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-uk/5rSHFiVpB2asibY1PCkEP1ymBMwK)) | [Visit Preview](https://catalyst-uk-git-feat-new-project-cr-adc404-bigcommerce-platform.vercel.app) | | Nov 5, 2024 10:16pm | | **catalyst-unstable** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-unstable/88UTcDQQnMcqpki6mKvvp1Ky8E9r)) | [Visit Preview](https://catalyst-unstable-git-feat-new-proj-0510bf-bigcommerce-platform.vercel.app) | | Nov 5, 2024 10:16pm |
github-actions[bot] commented 4 weeks ago

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-k4tu1i2v7-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 86
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟠 Performance 78
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 85