From 5f5eb16705fbe2e3d358c40205b86f383d44bbeb Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 28 Mar 2025 10:41:24 -0500 Subject: [PATCH] docs: Add redirect for old upgrade guide --- docs/public/_redirects | 2 ++ scripts/bump-package-version.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/public/_redirects b/docs/public/_redirects index 825f4cad..78a12cef 100644 --- a/docs/public/_redirects +++ b/docs/public/_redirects @@ -32,6 +32,8 @@ /guide/build-targets.html /guide/multiple-browsers.html /guide/installation.html /get-started/installation.html /guide/introduction.html /get-started/introduction.html +/guide/upgrade-guide/wxt /guide/resources/upgrading.html +/guide/upgrade-guide/wxt.html /guide/resources/upgrading.html # 0.19.0 /guide/go-further/entrypoint-side-effects.html /guide/go-further/entrypoint-loaders.html diff --git a/scripts/bump-package-version.ts b/scripts/bump-package-version.ts index 83863653..b04de884 100644 --- a/scripts/bump-package-version.ts +++ b/scripts/bump-package-version.ts @@ -58,7 +58,7 @@ let versionChangelogBody = versionChangelog if (originalBumpType === 'major') { versionChangelogBody = versionChangelogBody.replace( '[compare changes]', - `[⚠️ breaking changes](https://wxt.dev/guide/upgrade-guide/wxt) • [compare changes]`, + `[⚠️ breaking changes](https://wxt.dev/guide/resources/upgrading.html) • [compare changes]`, ); } const { releases: prevReleases } = await fs