From 362b55f852cfd42bd04c1ca8e7114aaa48d6ba91 Mon Sep 17 00:00:00 2001 From: 9aoy Date: Thu, 17 Oct 2024 19:07:35 +0800 Subject: [PATCH] docs: update type-check plugin link (#6400) --- .../main-doc/docs/en/configure/app/tools/ts-checker.mdx | 4 ++-- packages/document/main-doc/docs/en/plugin/introduction.mdx | 4 ++-- .../main-doc/docs/zh/configure/app/tools/ts-checker.mdx | 4 ++-- packages/document/main-doc/docs/zh/plugin/introduction.mdx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/document/main-doc/docs/en/configure/app/tools/ts-checker.mdx b/packages/document/main-doc/docs/en/configure/app/tools/ts-checker.mdx index 35f7b388380..33072133a21 100644 --- a/packages/document/main-doc/docs/en/configure/app/tools/ts-checker.mdx +++ b/packages/document/main-doc/docs/en/configure/app/tools/ts-checker.mdx @@ -35,7 +35,7 @@ const defaultOptions = { }, ``` -By default, the [@rsbuild/plugin-type-check](https://rsbuild.dev/plugins/list/plugin-type-check) is enabled for type checking. You can use `output.disableTsChecker` config to disable it. +By default, the [@rsbuild/plugin-type-check](https://github.com/rspack-contrib/rsbuild-plugin-type-check) is enabled for type checking. You can use `output.disableTsChecker` config to disable it. ## Example @@ -53,4 +53,4 @@ export default { }; ``` -> Please refer to [@rsbuild/plugin-type-check](https://rsbuild.dev/plugins/list/plugin-type-check) for more details. +> Please refer to [@rsbuild/plugin-type-check](https://github.com/rspack-contrib/rsbuild-plugin-type-check) for more details. diff --git a/packages/document/main-doc/docs/en/plugin/introduction.mdx b/packages/document/main-doc/docs/en/plugin/introduction.mdx index 30f0d2f2191..d118518539d 100644 --- a/packages/document/main-doc/docs/en/plugin/introduction.mdx +++ b/packages/document/main-doc/docs/en/plugin/introduction.mdx @@ -55,7 +55,7 @@ Here are the official Rsbuild plugins built into Modern.js: | [SVGR Plugin](https://rsbuild.dev/plugins/list/plugin-svgr) | Support convert SVG to React components | [output.disableSvgr](/configure/app/output/disable-svgr)
[output.svgDefaultExport](/configure/app/output/svg-default-export) | | [Styled Components Plugin](https://github.com/rspack-contrib/rsbuild-plugin-styled-components) | Provides compile-time support for styled-components | [tools.styledComponents](/configure/app/tools/styled-components.html) | | [Assets Retry Plugin](https://rsbuild.dev/plugins/list/plugin-assets-retry) | Used to automatically resend requests when static assets fail to load | [output.assetsRetry](/configure/app/output/assets-retry.html) | -| [Type Check Plugin](https://rsbuild.dev/plugins/list/plugin-type-check) | Used to run TypeScript type checker on a separate process | [output.disableTsChecker](/configure/app/output/disable-ts-checker.html)
[tools.tsChecker](/configure/app/tools/ts-checker.html) | +| [Type Check Plugin](https://github.com/rspack-contrib/rsbuild-plugin-type-check) | Used to run TypeScript type checker on a separate process | [output.disableTsChecker](/configure/app/output/disable-ts-checker.html)
[tools.tsChecker](/configure/app/tools/ts-checker.html) | | [Node Polyfill Plugin](https://github.com/rspack-contrib/rsbuild-plugin-node-polyfill) | Used to inject polyfills of Node core modules in the browser side | [output.disableNodePolyfill](/configure/app/output/disable-node-polyfill.html) | | [Source Build Plugin](https://github.com/rspack-contrib/rsbuild-plugin-source-build) | Supports referencing source code from other subdirectories | [experiments.sourceBuild](/configure/app/experiments/source-build.html) | | [Check Syntax Plugin](https://github.com/rspack-contrib/rsbuild-plugin-check-syntax) | Used to analyze the syntax compatibility of artifacts | [security.checkSyntax](/configure/app/security/check-syntax.html) | @@ -75,4 +75,4 @@ Here are the official Rsbuild plugins that are not built into Modern.js: import OtherPlugins from '@site-docs-en/components/other-plugins.mdx'; - \ No newline at end of file + diff --git a/packages/document/main-doc/docs/zh/configure/app/tools/ts-checker.mdx b/packages/document/main-doc/docs/zh/configure/app/tools/ts-checker.mdx index a2fa518d827..b4ec492027b 100644 --- a/packages/document/main-doc/docs/zh/configure/app/tools/ts-checker.mdx +++ b/packages/document/main-doc/docs/zh/configure/app/tools/ts-checker.mdx @@ -35,7 +35,7 @@ const defaultOptions = { }, ``` -默认情况下,Modern.js 会开启 [@rsbuild/plugin-type-check](https://rsbuild.dev/zh/plugins/list/plugin-type-check) 进行类型检查。你可以通过 `output.disableTsChecker` 配置项来关闭类型检查。 +默认情况下,Modern.js 会开启 [@rsbuild/plugin-type-check](https://github.com/rspack-contrib/rsbuild-plugin-type-check) 进行类型检查。你可以通过 `output.disableTsChecker` 配置项来关闭类型检查。 ## 示例 @@ -53,4 +53,4 @@ export default { }; ``` -> 请参考 [@rsbuild/plugin-type-check](https://rsbuild.dev/zh/plugins/list/plugin-type-check) 了解更多用法。 +> 请参考 [@rsbuild/plugin-type-check](https://github.com/rspack-contrib/rsbuild-plugin-type-check) 了解更多用法。 diff --git a/packages/document/main-doc/docs/zh/plugin/introduction.mdx b/packages/document/main-doc/docs/zh/plugin/introduction.mdx index 2edce5a10e4..aecebfd6a6a 100644 --- a/packages/document/main-doc/docs/zh/plugin/introduction.mdx +++ b/packages/document/main-doc/docs/zh/plugin/introduction.mdx @@ -55,7 +55,7 @@ Modern.js 从 `MAJOR_VERSION.46.0` 起开始将底层的构建工具升级为 [R | [SVGR 插件](https://rsbuild.dev/zh/plugins/list/plugin-svgr) | 支持将 SVG 图片转换为一个 React 组件使用 | [output.disableSvgr](/configure/app/output/disable-svgr)
[output.svgDefaultExport](/configure/app/output/svg-default-export) | | [Styled Components 插件](https://github.com/rspack-contrib/rsbuild-plugin-styled-components) | 提供对 styled-components 的编译时支持 | [tools.styledComponents](/configure/app/tools/styled-components.html) | | [Assets Retry 插件](https://rsbuild.dev/zh/plugins/list/plugin-assets-retry) | 用于在静态资源加载失败时自动发起重试请求 | [output.assetsRetry](/configure/app/output/assets-retry.html) | -| [Type Check 插件](https://rsbuild.dev/zh/plugins/list/plugin-type-check) | 用于在单独的进程中运行 TypeScript 类型检查 | [output.disableTsChecker](/configure/app/output/disable-ts-checker.html)
[tools.tsChecker](/configure/app/tools/ts-checker.html) | +| [Type Check 插件](https://github.com/rspack-contrib/rsbuild-plugin-type-check) | 用于在单独的进程中运行 TypeScript 类型检查 | [output.disableTsChecker](/configure/app/output/disable-ts-checker.html)
[tools.tsChecker](/configure/app/tools/ts-checker.html) | | [Node Polyfill 插件](https://github.com/rspack-contrib/rsbuild-plugin-node-polyfill) | 用于注入 Node 核心模块在浏览器端的 polyfills | [output.disableNodePolyfill](/configure/app/output/disable-node-polyfill.html) | | [Source Build 插件](https://github.com/rspack-contrib/rsbuild-plugin-source-build) | 用于 monorepo 场景,支持引用其他子目录的源代码,并完成构建和热更新 | [experiments.sourceBuild](/configure/app/experiments/source-build.html) | | [Check Syntax 插件](https://github.com/rspack-contrib/rsbuild-plugin-check-syntax) | 用于分析产物的语法兼容性,判断是否存在导致兼容性问题的高级语法 | [security.checkSyntax](/configure/app/security/check-syntax.html) |