Skip to content

Commit 36e5ddf

Browse files
authored
Remove mentions of Wrangler & Miniflare v2 (#20618)
1 parent 448aa16 commit 36e5ddf

File tree

6 files changed

+3
-29
lines changed

6 files changed

+3
-29
lines changed

src/content/docs/d1/tutorials/build-a-comments-api/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default app;
8282

8383
## 3. Create a database
8484

85-
You will now create a D1 database. In Wrangler v2, there is support for the `wrangler d1` subcommand, which allows you to create and query your D1 databases directly from the command line. Create a new database with `wrangler d1 create`:
85+
You will now create a D1 database. In Wrangler, there is support for the `wrangler d1` subcommand, which allows you to create and query your D1 databases directly from the command line. Create a new database with `wrangler d1 create`:
8686

8787
```sh
8888
npx wrangler d1 create d1-example

src/content/docs/pages/how-to/use-direct-upload-with-continuous-integration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,6 @@ env:
189189
- CLOUDFLARE_API_TOKEN: { $CLOUDFLARE_API_TOKEN }
190190
```
191191

192-
In the code block above you have specified the language as `node_js` and listed the value as `18.0.0` because Wrangler v2 depends on this Node version or higher. You have also set branches you want your continuous integration to run on. Finally, input your `PROJECT NAME` in the script section and your CI process should work as expected.
192+
This will set the Node.js version to 18. You have also set branches you want your continuous integration to run on. Finally, input your `PROJECT NAME` in the script section and your CI process should work as expected.
193193

194194
You can also modify the Wrangler command with any [`wrangler pages deploy` options](/workers/wrangler/commands/#deploy-1).

src/content/docs/workers/wrangler/custom-builds.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Custom builds are a way for you to customize how your code is compiled, before b
1212

1313
:::note
1414

15-
With the release of Wrangler v2, it is no longer necessary to use custom builds to bundle your code via webpack and similar bundlers. Wrangler runs [esbuild](https://esbuild.github.io/) by default as part of the `dev` and `publish` commands, and bundles your Worker project into a single Worker script. Refer to [Bundling](/workers/wrangler/bundling/).
15+
Wrangler runs [esbuild](https://esbuild.github.io/) by default as part of the `dev` and `publish` commands, and bundles your Worker project into a single Worker script. Refer to [Bundling](/workers/wrangler/bundling/).
1616
:::
1717

1818
## Configure custom builds

src/content/partials/kv/tutorials-wrangler-v1-warning.mdx

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/content/partials/workers/tutorials-wrangler-v1-warning.mdx

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/content/partials/workers/wrangler-v1-deprecation.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
22
{}
3-
43
---
54

65
:::caution
76

8-
97
This page is for Wrangler v1, which has been deprecated.
108
[Learn how to update to the latest version of Wrangler](/workers/wrangler/migration/v1-to-v2/).
119

0 commit comments

Comments
 (0)