Skip to content

refactor: dynamically build wrangler.jsonc and inject project uuid#2534

Merged
matthewvolk merged 1 commit intocanaryfrom
CATALYST-1421-dynamic-wrangler-jsonc
Aug 19, 2025
Merged

refactor: dynamically build wrangler.jsonc and inject project uuid#2534
matthewvolk merged 1 commit intocanaryfrom
CATALYST-1421-dynamic-wrangler-jsonc

Conversation

@matthewvolk
Copy link
Copy Markdown
Contributor

What/Why?

We want the name field in .bigcommerce/wrangler.jsonc to by dynamic and keyed off the merchant's associated project UUID. This PR adds a function that dynamically creates a wrangler.jsonc file that accepts projectUuid as a parameter. We will attempt to read projectUuid from config or use --project-uuid as an override, if projectUuid is not defined we throw an error asking the user to run link or provide --project-uuid

Testing

Added unit tests for getWranglerConfig

Migration

N/A

@matthewvolk matthewvolk requested a review from a team August 19, 2025 21:05
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 19, 2025

⚠️ No Changeset found

Latest commit: 8de50d2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
catalyst-b2b Ready Ready Preview Comment Aug 19, 2025 9:06pm
catalyst-canary Ready Ready Preview Comment Aug 19, 2025 9:06pm
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
catalyst Ignored Ignored Aug 19, 2025 9:06pm
catalyst-au Ignored Ignored Aug 19, 2025 9:06pm
catalyst-uk Ignored Ignored Aug 19, 2025 9:06pm

@matthewvolk matthewvolk added this pull request to the merge queue Aug 19, 2025
Merged via the queue into canary with commit f994d6c Aug 19, 2025
14 checks passed
@matthewvolk matthewvolk deleted the CATALYST-1421-dynamic-wrangler-jsonc branch August 19, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants