Skip to content

Commit 1dd71d3

Browse files
chore: upgrade rspress (#1874)
1 parent a2024e9 commit 1dd71d3

File tree

3 files changed

+404
-1985
lines changed

3 files changed

+404
-1985
lines changed

website/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
"preview": "rspress preview"
99
},
1010
"dependencies": {
11-
"@callstack/rspress-theme": "^0.5.1",
12-
"@rspress/core": "^2.0.0-rc.5",
11+
"@callstack/rspress-theme": "^0.6.0",
12+
"@rspress/core": "^2.0.2",
1313
"react": "^19.2.0",
1414
"react-dom": "^19.2.0",
15-
"rsbuild-plugin-open-graph": "^1.0.2",
16-
"rspress-plugin-vercel-analytics": "^0.3.0"
15+
"rsbuild-plugin-open-graph": "^1.0.2"
1716
},
1817
"devDependencies": {
1918
"@types/node": "^24.0.13",

website/rspress.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as path from 'path';
22
import { defineConfig } from '@rspress/core';
33
import { pluginCallstackTheme } from '@callstack/rspress-theme/plugin';
44
import { pluginOpenGraph } from 'rsbuild-plugin-open-graph';
5-
import pluginVercelAnalytics from 'rspress-plugin-vercel-analytics';
65

76
const __dirname = path.dirname(new URL(import.meta.url).pathname);
87

@@ -333,9 +332,5 @@ export default defineConfig({
333332
}),
334333
],
335334
},
336-
plugins: [
337-
pluginCallstackTheme(),
338-
// @ts-expect-error
339-
pluginVercelAnalytics(),
340-
],
335+
plugins: [pluginCallstackTheme()],
341336
});

0 commit comments

Comments
 (0)