Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/mighty-carrots-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wrangler": patch
---

fix: remove deprecation warnings for `wrangler init`

We will not be removing `wrangler init` (it just delegates to create-cloudflare now). These warnings were causing confusion for users as it `wrangler init` is still recommended in many places.
8 changes: 1 addition & 7 deletions packages/wrangler/src/__tests__/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,7 @@ describe("generate", () => {
expect(std.out).toMatchInlineSnapshot(
`"✨ Created no-template/wrangler.toml"`
);
expect(std.warn).toMatchInlineSnapshot(`
"▲ [WARNING] The \`init\` command is no longer supported. Please use \`mockpm create cloudflare/@/^2.5.0 no-template\` instead.

The \`init\` command will be removed in a future version.

"
`);
expect(std.warn).toMatchInlineSnapshot(`""`);
});

it("delegates to create cloudflare if Cloudflare template path is given", async () => {
Expand Down
Loading
Loading