-
Notifications
You must be signed in to change notification settings - Fork 36
feat: add remote cache provider setup to the create-app command #551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 6c67882 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Last thing I have in mind before merging - info banners after picking up a provider and right before being prompted for args. We can put there what to expose with env variables (GITHUB_TOKEN, AWS_ACCESS_KEY etc) |
| '}),', | ||
| ]); | ||
| } | ||
| } |
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.
Bug: Cache Config Template Errors
The remoteCacheProviderToConfigTemplate function has two issues. It may return undefined for unhandled provider values. Additionally, user input for arguments like owner or bucket is directly interpolated into the generated config, which can lead to invalid JavaScript syntax if inputs contain single quotes.
Summary
Part of #546
Closes #547
Test plan
create-appCLI and pick your provider of choice.Github Actions demo
gh-actions.mp4
S3 demo
s3.mp4