diff --git a/packages/website/docusaurus.config.mts b/packages/website/docusaurus.config.mts index 369a6fd7210b..46b162fcbfb7 100644 --- a/packages/website/docusaurus.config.mts +++ b/packages/website/docusaurus.config.mts @@ -8,7 +8,6 @@ import type { UserThemeConfig as ThemeCommonConfig } from '@docusaurus/theme-com import type { UserThemeConfig as AlgoliaThemeConfig } from '@docusaurus/theme-search-algolia'; import type { Config } from '@docusaurus/types'; -import { version } from './package.json'; import { blogFooter } from './plugins/blog-footer'; import { generatedRuleDocs } from './plugins/generated-rule-docs'; import { rulesMeta } from './rulesMeta'; @@ -91,8 +90,9 @@ const themeConfig: AlgoliaThemeConfig & ThemeCommonConfig = { }, { position: 'right', - href: `https://github.com/typescript-eslint/typescript-eslint/releases/tag/v${version}`, - label: `v${version}`, + href: `/blog/announcing-typescript-eslint-v8-beta`, + // TODO: Move back to package.json's version shortly after v8 launches + label: `v8`, }, { to: 'play', diff --git a/packages/website/src/components/OptionsSelector.tsx b/packages/website/src/components/OptionsSelector.tsx index aa31f79ad702..d809ff6c8345 100644 --- a/packages/website/src/components/OptionsSelector.tsx +++ b/packages/website/src/components/OptionsSelector.tsx @@ -74,7 +74,7 @@ function OptionsSelectorContent({ /> {process.env.ESLINT_VERSION} - {process.env.TS_ESLINT_VERSION} + {process.env.TS_ESLINT_VERSION} diff --git a/packages/website/webpack.plugin.js b/packages/website/webpack.plugin.js index ab5dd29767fd..ab36087b3242 100644 --- a/packages/website/webpack.plugin.js +++ b/packages/website/webpack.plugin.js @@ -21,9 +21,8 @@ module.exports = function (/*context, options*/) { 'process.env.ESLINT_VERSION': JSON.stringify( require('eslint/package.json').version, ), - 'process.env.TS_ESLINT_VERSION': JSON.stringify( - require('@typescript-eslint/eslint-plugin/package.json').version, - ), + // TODO: Move back to package.json's version shortly after v8 launches + 'process.env.TS_ESLINT_VERSION': JSON.stringify('v8'), }), new CopyPlugin({ patterns: [ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy