-
Notifications
You must be signed in to change notification settings - Fork 98
Update the migrate command to attempt to create an R2 bucket for caching as part of the migration process
#1133
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
826401e
Update the `migrate` command to attempt to create an R2 bucket for ca…
dario-piotrowicz 763d1bb
address comments
dario-piotrowicz 5145bc6
remove incorrect todo comment
dario-piotrowicz c80f21f
use --json
dario-piotrowicz 760a46c
add --json fallback
dario-piotrowicz a5fbba6
avoid "already exists" check
dario-piotrowicz 1e58888
Apply suggestions from code review
dario-piotrowicz f208098
Apply suggestions from code review
dario-piotrowicz f76b735
Update packages/cloudflare/src/cli/utils/open-next-config.ts
dario-piotrowicz 156d0ce
Update packages/cloudflare/src/cli/utils/open-next-config.ts
dario-piotrowicz 8594106
revert types improvement
dario-piotrowicz 84d8b77
Revert "revert types improvement"
dario-piotrowicz 3f73978
remove duplicated open-next config
dario-piotrowicz c8cc1e9
remove prompt and rely on --json
dario-piotrowicz 29fd7ce
use Cloudflare sdk to create bucket
dario-piotrowicz 9dd13eb
add PackagerOptions type
dario-piotrowicz 3216c2d
use jsonc parser
dario-piotrowicz 766993a
Apply suggestions from code review
dario-piotrowicz b094ed1
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz 3f2030d
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz ef94a52
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz 5035c7f
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz 43b7c56
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz 3a6ac99
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz ee9ebd0
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz 7dc4395
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz 2b402cd
Update packages/cloudflare/src/cli/utils/wrangler-config.ts
dario-piotrowicz e95da20
Update packages/cloudflare/src/cli/utils/run-wrangler.ts
dario-piotrowicz 6f8712f
fix broken types
dario-piotrowicz b5096e4
use ast-grep
dario-piotrowicz ccc612c
include CF_ACCOUNT_ID as well
dario-piotrowicz 216a36f
update comment
dario-piotrowicz 745768b
use --json for wrangler auth token
dario-piotrowicz db1e169
use comment-js
dario-piotrowicz 46bdcc7
add account selection
dario-piotrowicz f069a97
update `logger.error`
dario-piotrowicz 0726a5d
reshuffle utils
vicb addb5d3
add JSDoc
vicb e74c6ad
Add tests for createOpenNextConfigFile
vicb bdaffe6
Update createOpenNextConfigFile
vicb 7de29d6
Add JSDoc to runWrangler
vicb 3467f6a
Add tests for createWranglerConfigFile
vicb 1736cb9
Simplify createWranglerConfigFile
vicb aadba7d
Add JSDOc
vicb f477ce9
Merge branch 'main' into dario/DEVX-2491/r2-migrate-caching
vicb 478cee9
tweak wrangler config creation
vicb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Update the
migrate command to attempt to create an R2 bucket for ca…
…ching as part of the migration process, if that is not possible an application without caching enabled will be generated instead.
- Loading branch information
commit 826401ebaf690bd4425c59a16c4def1521af3ac5
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@opennextjs/cloudflare": minor | ||
| --- | ||
|
|
||
| Update the `migrate` command to attempt to create an R2 bucket for caching as part of the migration process, if that is not possible an application without caching enabled will be generated instead. | ||
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.