Skip to content

Commit dc60a3c

Browse files
committed
update references of wrangler.json to wrangler.json(c)
1 parent 13d6d39 commit dc60a3c

File tree

135 files changed

+295
-295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+295
-295
lines changed

src/components/WranglerConfig.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (language === "toml") {
4545
---
4646

4747
<Tabs syncKey="wranglerConfig">
48-
<TabItem label="wrangler.json" icon="seti:json">
48+
<TabItem label="wrangler.json(c)" icon="seti:json">
4949
<Code lang="jsonc" code={json} />
5050
</TabItem>
5151
<TabItem label="wrangler.toml" icon="setting">

src/content/changelogs-next/2025-01-26-worker-binding-methods.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: 2025-01-30T14:00:00Z
88

99
We have released new [Workers bindings API methods](/ai-gateway/integrations/worker-binding-methods/), allowing you to connect Workers applications to AI Gateway directly. These methods simplify how Workers calls AI services behind your AI Gateway configurations, removing the need to use the REST API and manually authenticate.
1010

11-
To add an AI binding to your Worker, include the following in your `wrangler.toml` or `wrangler.json` file:
11+
To add an AI binding to your Worker, include the following in your `wrangler.toml` or `wrangler.json(c)` file:
1212

1313
![Add an AI binding to your Worker.](~/assets/images/ai-gateway/add-binding.png)
1414

src/content/changelogs/queues.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ entries:
6464
description: |-
6565
Queue consumers will soon automatically scale up concurrently as a queues' backlog grows in order to keep overall message processing latency down. Concurrency will be enabled on all existing queues by 2023-03-28.
6666
67-
**To opt-out, or to configure a fixed maximum concurrency**, set `max_concurrency = 1` in your `wrangler.toml / wrangler.json` file or via [the queues dashboard](https://dash.cloudflare.com/?to=/:account/queues).
67+
**To opt-out, or to configure a fixed maximum concurrency**, set `max_concurrency = 1` in your `wrangler.toml / wrangler.json(c)` file or via [the queues dashboard](https://dash.cloudflare.com/?to=/:account/queues).
6868
6969
**To opt-in, you do not need to take any action**: your consumer will begin to scale out as needed to keep up with your message backlog. It will scale back down as the backlog shrinks, and/or if a consumer starts to generate a higher rate of errors. To learn more about how consumers scale, refer to the [consumer concurrency](/queues/configuration/consumer-concurrency/) documentation.
7070
- publish_date: "2023-03-02"

src/content/docs/ai-gateway/integrations/aig-workers-ai-binding.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Running `npm create cloudflare@latest` will prompt you to install the create-clo
3535
This will create a new `hello-ai` directory. Your new `hello-ai` directory will include:
3636

3737
- A "Hello World" Worker at `src/index.ts`.
38-
- A `wrangler.json` configuration file.
38+
- A `wrangler.json(c)` configuration file.
3939

4040
Go to your application directory:
4141

@@ -47,7 +47,7 @@ cd hello-ai
4747

4848
You must create an AI binding for your Worker to connect to Workers AI. Bindings allow your Workers to interact with resources, like Workers AI, on the Cloudflare Developer Platform.
4949

50-
To bind Workers AI to your Worker, add the following to the end of your `wrangler.json` file:
50+
To bind Workers AI to your Worker, add the following to the end of your `wrangler.json(c)` file:
5151

5252
<WranglerConfig>
5353

@@ -70,7 +70,7 @@ Update the `index.ts` file in your `hello-ai` application directory with the fol
7070

7171
```typescript title="src/index.ts" {78-81}
7272
export interface Env {
73-
// If you set another name in the `wrangler.toml / wrangler.json` file as the value for 'binding',
73+
// If you set another name in the `wrangler.toml / wrangler.json(c)` file as the value for 'binding',
7474
// replace "AI" with the variable name you defined.
7575
AI: Ai;
7676
}

src/content/docs/ai-gateway/integrations/worker-binding-methods.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This guide provides an overview of how to use the latest Cloudflare Workers AI G
1010

1111
## Prerequisites
1212

13-
- Ensure your Worker project is configured with an AI Gateway binding in `wrangler.json`.
13+
- Ensure your Worker project is configured with an AI Gateway binding in `wrangler.json(c)`.
1414
- Install and use the `@cloudflare/workers-types` library, version `4.20250124.3` or above.
1515

1616
## 1. Add an AI Binding to your Worker

src/content/docs/analytics/analytics-engine/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { DirectoryListing, WranglerConfig } from "~/components"
1313

1414
## 1. Name your dataset and add it to your Worker
1515

16-
Add the following to your `wrangler.toml / wrangler.json` file to create a [binding](/workers/runtime-apis/bindings/) to a Workers Analytics Engine dataset. A dataset is like a table in SQL: the rows and columns should have consistent meaning.
16+
Add the following to your `wrangler.toml / wrangler.json(c)` file to create a [binding](/workers/runtime-apis/bindings/) to a Workers Analytics Engine dataset. A dataset is like a table in SQL: the rows and columns should have consistent meaning.
1717

1818
<WranglerConfig>
1919

src/content/docs/analytics/analytics-engine/worker-querying.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following is a sample Worker which executes a query against a dataset of wea
4949

5050
First the environment variables are set up with the account ID and API token.
5151

52-
The account ID is set in the `wrangler.toml / wrangler.json` file:
52+
The account ID is set in the `wrangler.toml / wrangler.json(c)` file:
5353

5454
<WranglerConfig>
5555

src/content/docs/browser-rendering/get-started/browser-rendering-with-DO.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ After running the `list` command, you will see all bucket names, including the o
7171

7272
## 5. Configure your Wrangler configuration file
7373

74-
Configure your `browser-worker` project's [`wrangler.toml / wrangler.json` file](/workers/wrangler/configuration/) by adding a browser [binding](/workers/runtime-apis/bindings/) and a [Node.js compatibility flag](/workers/configuration/compatibility-flags/#nodejs-compatibility-flag). Browser bindings allow for communication between a Worker and a headless browser which allows you to do actions such as taking a screenshot, generating a PDF and more.
74+
Configure your `browser-worker` project's [`wrangler.toml / wrangler.json(c)` file](/workers/wrangler/configuration/) by adding a browser [binding](/workers/runtime-apis/bindings/) and a [Node.js compatibility flag](/workers/configuration/compatibility-flags/#nodejs-compatibility-flag). Browser bindings allow for communication between a Worker and a headless browser which allows you to do actions such as taking a screenshot, generating a PDF and more.
7575

76-
Update your `wrangler.toml / wrangler.json` file with the Browser Rendering API binding, the R2 bucket you created and a Durable Object:
76+
Update your `wrangler.toml / wrangler.json(c)` file with the Browser Rendering API binding, the R2 bucket you created and a Durable Object:
7777

7878
<WranglerConfig>
7979

src/content/docs/browser-rendering/get-started/reuse-sessions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In your `browser-worker` directory, install Cloudflare's [fork of Puppeteer](/br
4141
npm install @cloudflare/puppeteer --save-dev
4242
```
4343

44-
## 3. Configure the `wrangler.toml / wrangler.json` file
44+
## 3. Configure the `wrangler.toml / wrangler.json(c)` file
4545

4646
<WranglerConfig>
4747
```toml

src/content/docs/browser-rendering/get-started/screenshots.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ npx wrangler kv:namespace create BROWSER_KV_DEMO --preview
5656

5757
Take note of the IDs for the next step.
5858

59-
## 4. Configure the `wrangler.toml / wrangler.json` file
59+
## 4. Configure the `wrangler.toml / wrangler.json(c)` file
6060

61-
Configure your `browser-worker` project's [`wrangler.toml / wrangler.json` file](/workers/wrangler/configuration/) by adding a browser [binding](/workers/runtime-apis/bindings/) and a [Node.js compatibility flag](/workers/configuration/compatibility-flags/#nodejs-compatibility-flag). Bindings allow your Workers to interact with resources on the Cloudflare developer platform. Your browser `binding` name is set by you, this guide uses the name `MYBROWSER`. Browser bindings allow for communication between a Worker and a headless browser which allows you to do actions such as taking a screenshot, generating a PDF and more.
61+
Configure your `browser-worker` project's [`wrangler.toml / wrangler.json(c)` file](/workers/wrangler/configuration/) by adding a browser [binding](/workers/runtime-apis/bindings/) and a [Node.js compatibility flag](/workers/configuration/compatibility-flags/#nodejs-compatibility-flag). Bindings allow your Workers to interact with resources on the Cloudflare developer platform. Your browser `binding` name is set by you, this guide uses the name `MYBROWSER`. Browser bindings allow for communication between a Worker and a headless browser which allows you to do actions such as taking a screenshot, generating a PDF and more.
6262

63-
Update your `wrangler.toml / wrangler.json` file with the Browser Rendering API binding and the KV namespaces you created:
63+
Update your `wrangler.toml / wrangler.json(c)` file with the Browser Rendering API binding and the KV namespaces you created:
6464

6565
<WranglerConfig>
6666

0 commit comments

Comments
 (0)