Skip to content

Commit 3b3fadf

Browse files
mrbbotpetebacondarwin
authored andcommittedMay 17, 2023
[wrangler] feature: rename publish command to deploy and alias (#3190)
* feature: rename `publish` command to `deploy` and alias This renames `wrangler (pages) publish` to `wrangler (pages) deploy`, and adds a deprecated alias for `publish`. We'll remove this alias in Wrangler 4. * fixup! feature: rename `publish` command to `deploy` and alias Rename `publish` directory too * fixup! feature: rename `publish` command to `deploy` and alias Fix import order lint errors

File tree

100 files changed

+461
-436
lines changed

Some content is hidden

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

100 files changed

+461
-436
lines changed
 

‎.changeset/fast-chefs-scream.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"wrangler": major
3+
---
4+
5+
feature: rename `wrangler publish` to `wrangler deploy`
6+
7+
This ensures consistency with other messaging, documentation and our dashboard,
8+
which all refer to deployments. This also avoids confusion with the similar but
9+
very different `npm publish` command. `wrangler publish` will remain a
10+
deprecated alias for now, but will be removed in the next major version of Wrangler.

‎CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ Here's an example of a `patch` to the `wrangler` package, which provides a `fix`
222222
"wrangler": patch
223223
---
224224
225-
fix: replace the word "deploy" with "publish" everywhere.
225+
fix: replace the word "publish" with "deploy" everywhere.
226226
227-
We should be consistent with the word that describes how we get a worker to the edge. The command is `publish`, so let's use that everywhere.
227+
We should be consistent with the word that describes how we get a worker to the edge. The command is `deploy`, so let's use that everywhere.
228228
```
229229

230230
### Types of changes

0 commit comments

Comments
 (0)
Please sign in to comment.