Make Workflow DevKit configuration work#1
Open
TooTallNate wants to merge 1 commit intos0urfruit:mainfrom
Open
Conversation
* Move React Router `vercelPreset()` to the correct place * Install missing `@vercel/react-router` dependency * Add function configuration for Vercel Queue compat for the Workflow DevKit endpoints * Specify a Vercel CLI tarball URL which allows the function configuration to be applied at build time (see vercel/vercel#14494)
|
@TooTallNate is attempting to deploy a commit to the Contiguity Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Pull request overview
This PR configures the Workflow DevKit to work properly with Vercel deployments by correcting the React Router preset placement, adding the required dependency, and configuring Vercel Queue triggers for workflow endpoints.
Key changes:
- Moved
vercelPreset()fromvite.config.tsto the correct location inreact-router.config.ts - Added missing
@vercel/react-routerpackage dependency (v1.2.4) - Created
vercel.jsonwith queue trigger configurations for.well-known/workflow/v1/flowand.well-known/workflow/v1/stependpoints
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| vite.config.ts | Removed incorrectly placed vercelPreset() import and call; improved code formatting |
| react-router.config.ts | Added vercelPreset() import and configured it in the presets array (correct location) |
| package.json | Added @vercel/react-router dependency to support the Vercel preset functionality |
| vercel.json | Created configuration file with custom CLI version and queue triggers for workflow endpoints |
| .gitignore | Added .vercel directory to ignore list for Vercel deployment artifacts |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
vercelPreset()to the correct place@vercel/react-routerdependencyvercel.jsonfunction configuration on output function paths vercel/vercel#14494)