From 086b6b95a04522515872bfac57ffd2df1dc366dd Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 12 Nov 2026 16:43:38 +0800 Subject: [PATCH] Upgrade Rspress to 2.1.3 - Bump @rspress/core from ^2.1.2 to ^2.1.3. - Allow the new Rspress versions in minimumReleaseAgeExclude. --- package.json | 2 +- pnpm-lock.yaml | 58 ++++++++++++++++++++++----------------------- pnpm-workspace.yaml | 2 ++ 3 files changed, 32 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 90692e94..7a1763eb 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "preview": "rs doc preview" }, "dependencies": { - "@rspress/core": "^2.1.2", + "@rspress/core": "^2.1.3", "rspress-plugin-file-tree": "^1.0.7", "rspress-plugin-google-analytics": "^1.0.1", "rspress-plugin-mermaid": "^1.0.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 47d1e1e2..78fe9d10 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -167,17 +167,17 @@ importers: .: dependencies: '@rspress/core': - specifier: ^2.1.2 - version: 2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) + specifier: ^2.1.3 + version: 2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) rspress-plugin-file-tree: specifier: ^1.0.7 - version: 1.0.7(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) + version: 1.0.7(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) rspress-plugin-google-analytics: specifier: ^1.0.1 - version: 1.0.1(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) + version: 1.0.1(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) rspress-plugin-mermaid: specifier: ^1.0.3 - version: 1.0.3(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) + version: 1.0.3(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) devDependencies: '@iconify-json/mingcute': specifier: ^1.2.8 @@ -214,7 +214,7 @@ importers: version: 19.3.0(react@19.3.0) rstack: specifier: ^0.8.0 - version: 0.8.0(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(typescript@6.0.3) + version: 0.8.0(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(typescript@6.0.3) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -797,13 +797,13 @@ packages: '@rspack/core': optional: true - '@rspress/core@2.1.2': - resolution: {integrity: sha512-3ghPRkZFwbuO3tr2Rb5cxi6QfSFWOcxoZ5p4pv21lbN5DxAzMduITFlfgBMTArIQbehXrfXw3OUXe1l422b0RA==} + '@rspress/core@2.1.3': + resolution: {integrity: sha512-qKa5c7zHO8cmhxkReURd3dN/ZRfHYnEztdIQ9hMuolaNzhSYo2A36XErUvLvbMf2EUM2AxfPYRQv+4Crfeq6pw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true - '@rspress/shared@2.1.2': - resolution: {integrity: sha512-W34tT1fdP3PrdbXpZNKqOGZMOw+RYL70Z9vnkbT1HTTbtX4uMIDE+SU7ByihG0S0LYBsT3kPxA2cXj696253Uw==} + '@rspress/shared@2.1.3': + resolution: {integrity: sha512-VwJ7kgsTWVqHzSXQVHIUCsdMparmq9b/IDmTa3a6jMPl1zmm5Qg9M0eP4j8JXWoIS9n19XtCkQcZmMTFOPRy3A==} '@rstackjs/cli-darwin-arm64@0.8.0': resolution: {integrity: sha512-bf34UcPxFBBxr+Vlt6Kb8ZMH1jcqv4TcXiTk/YTKVPwlRqqAcJ5M4iZTtAqdKo8ioC+ptusYRHl6NgjpMTZmxA==} @@ -3243,13 +3243,13 @@ snapshots: optionalDependencies: '@rspack/core': 2.2.8(@swc/helpers@0.5.23) - '@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0)': + '@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0)': dependencies: '@mdx-js/mdx': 3.1.1(supports-color@9.4.0) '@mdx-js/react': 3.1.1(@types/react@19.3.0)(react@19.3.1) '@rsbuild/core': 2.3.0 '@rsbuild/plugin-react': 2.1.1(@rsbuild/core@2.3.0)(@rspack/core@2.2.8(@swc/helpers@0.5.23)) - '@rspress/shared': 2.1.2(supports-color@9.4.0) + '@rspress/shared': 2.1.3(supports-color@9.4.0) '@shikijs/rehype': 4.5.0 '@shikijs/transformers': 4.5.0 '@types/mdast': 4.0.4 @@ -3292,7 +3292,7 @@ snapshots: - micromark-util-types - supports-color - '@rspress/shared@2.1.2(supports-color@9.4.0)': + '@rspress/shared@2.1.3(supports-color@9.4.0)': dependencies: '@rsbuild/core': 2.3.0 '@shikijs/rehype': 4.5.0 @@ -4067,7 +4067,7 @@ snapshots: estree-util-is-identifier-name: 3.0.0 hast-util-whitespace: 3.0.0 mdast-util-mdx-expression: 2.0.1(supports-color@9.4.0) - mdast-util-mdx-jsx: 3.2.0(supports-color@9.4.0) + mdast-util-mdx-jsx: 3.2.1(supports-color@9.4.0) mdast-util-mdxjs-esm: 2.0.1(supports-color@9.4.0) property-information: 7.2.0 space-separated-tokens: 2.0.2 @@ -4101,7 +4101,7 @@ snapshots: estree-util-is-identifier-name: 3.0.0 hast-util-whitespace: 3.0.0 mdast-util-mdx-expression: 2.0.1(supports-color@9.4.0) - mdast-util-mdx-jsx: 3.2.0(supports-color@9.4.0) + mdast-util-mdx-jsx: 3.2.1(supports-color@9.4.0) mdast-util-mdxjs-esm: 2.0.1(supports-color@9.4.0) property-information: 7.2.0 space-separated-tokens: 2.0.2 @@ -4386,7 +4386,7 @@ snapshots: dependencies: mdast-util-from-markdown: 2.0.3(supports-color@9.4.0) mdast-util-mdx-expression: 2.0.1(supports-color@9.4.0) - mdast-util-mdx-jsx: 3.2.0(supports-color@9.4.0) + mdast-util-mdx-jsx: 3.2.1(supports-color@9.4.0) mdast-util-mdxjs-esm: 2.0.1(supports-color@9.4.0) mdast-util-to-markdown: 2.2.1 transitivePeerDependencies: @@ -5242,9 +5242,9 @@ snapshots: optionalDependencies: typescript: 6.0.3 - rspress-plugin-devkit@1.0.1(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): + rspress-plugin-devkit@1.0.1(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): dependencies: - '@rspress/core': 2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) + '@rspress/core': 2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 '@types/mdast': 4.0.4 @@ -5262,29 +5262,29 @@ snapshots: transitivePeerDependencies: - supports-color - rspress-plugin-file-tree@1.0.7(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): + rspress-plugin-file-tree@1.0.7(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): dependencies: - '@rspress/core': 2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) - rspress-plugin-devkit: 1.0.1(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) + '@rspress/core': 2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) + rspress-plugin-devkit: 1.0.1(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) transitivePeerDependencies: - supports-color - rspress-plugin-google-analytics@1.0.1(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): + rspress-plugin-google-analytics@1.0.1(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): dependencies: - '@rspress/core': 2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) - rspress-plugin-devkit: 1.0.1(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) + '@rspress/core': 2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) + rspress-plugin-devkit: 1.0.1(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) transitivePeerDependencies: - supports-color - rspress-plugin-mermaid@1.0.3(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): + rspress-plugin-mermaid@1.0.3(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0): dependencies: - '@rspress/core': 2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) + '@rspress/core': 2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) mermaid: 10.9.8(supports-color@9.4.0) - rspress-plugin-devkit: 1.0.1(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) + rspress-plugin-devkit: 1.0.1(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(supports-color@9.4.0) transitivePeerDependencies: - supports-color - rstack@0.8.0(@rspress/core@2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(typescript@6.0.3): + rstack@0.8.0(@rspress/core@2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0))(typescript@6.0.3): dependencies: '@rsbuild/core': 2.2.11 '@rslib/core': 1.0.3(typescript@6.0.3) @@ -5294,7 +5294,7 @@ snapshots: prettier: 3.9.8 tinypool: 2.2.0 optionalDependencies: - '@rspress/core': 2.1.2(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) + '@rspress/core': 2.1.3(@rspack/core@2.2.8(@swc/helpers@0.5.23))(micromark-util-types@2.0.2)(micromark@4.0.2(supports-color@9.4.0))(supports-color@9.4.0) '@rstackjs/cli-darwin-arm64': 0.8.0 '@rstackjs/cli-darwin-x64': 0.8.0 '@rstackjs/cli-linux-arm64-gnu': 0.8.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 33451fa8..67086765 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,5 +6,7 @@ minimumReleaseAgeExclude: - "@iconify-json/simple-icons@1.2.99" - "@rspress/core@2.1.0" - "@rspress/core@2.1.2" + - "@rspress/core@2.1.3" - "@rspress/shared@2.1.0" - "@rspress/shared@2.1.2" + - "@rspress/shared@2.1.3"