-
Notifications
You must be signed in to change notification settings - Fork 47
create a wrangler config file for the user in case one is not already present (alongside ways to opt out of this) #220
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 7 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1a43d87
create a wrangler.toml file for the user in case one is not already p…
dario-piotrowicz a28f997
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 1aa668e
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz bb30c39
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 5046cb0
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 5d1d2c9
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 45e4ce1
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 360fc22
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz ffbc477
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz b6964c1
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 4ed2a26
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 470f24b
fixup! create a wrangler.toml file for the user in case one is not al…
dario-piotrowicz 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
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,9 @@ | ||
--- | ||
"@opennextjs/cloudflare": patch | ||
--- | ||
|
||
checks and creates a wrangler.jsonc file for the user in case one wrangler.(toml|json|jsonc) file is not already present | ||
|
||
also introduce a new `--skipWranglerConfigCheck` cli flag and a `SKIP_WRANGLER_CONFIG_CHECK` | ||
environment variable that allows users to opt out of the above check (since developers might | ||
want to use custom names for their config files) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"main": ".open-next/worker.js", | ||
"name": "app-name", | ||
"compatibility_date": "2024-12-30", | ||
"compatibility_flags": ["nodejs_compat"], | ||
"assets": { | ||
"directory": ".open-next/assets", | ||
"binding": "ASSETS", | ||
}, | ||
"kv_namespaces": [ | ||
// Create a KV binding with the binding name "NEXT_CACHE_WORKERS_KV" | ||
// to enable the KV based caching: | ||
// { | ||
// "binding": "NEXT_CACHE_WORKERS_KV", | ||
// "id": "<BINDING_ID>" | ||
// } | ||
], | ||
} |
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.