Skip to content

Commit cb9c653

Browse files
authored
feat: ugprade @rspress/core to 2.0.0 (#118)
1 parent 40a8611 commit cb9c653

File tree

5 files changed

+139
-123
lines changed

5 files changed

+139
-123
lines changed

packages/preset/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,18 @@
4242
},
4343
"dependencies": {
4444
"@callstack/rspress-theme": "workspace:*",
45-
"@rspress/plugin-sitemap": "2.0.0-rc.8",
45+
"@rspress/plugin-sitemap": "^2.0.0",
4646
"@vercel/analytics": "^1.5.0",
4747
"rsbuild-plugin-open-graph": "^1.0.2",
4848
"zod": "^3.23.8"
4949
},
5050
"peerDependencies": {
51-
"@rspress/core": "2.0.0-rc.8"
51+
"@rspress/core": "^2.0.0"
5252
},
5353
"devDependencies": {
5454
"@microsoft/api-extractor": "^7.52.8",
5555
"@rslib/core": "^0.10.5",
56-
"@rspress/core": "2.0.0-rc.8",
56+
"@rspress/core": "^2.0.0",
5757
"@types/node": "^22",
5858
"typescript": "^5.9.3"
5959
}

packages/tester/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"preview": "rspress preview"
1212
},
1313
"dependencies": {
14-
"@rspress/core": "^2.0.0-rc.8",
14+
"@rspress/core": "^2.0.0",
1515
"@callstack/rspress-preset": "workspace:*",
1616
"@callstack/rspress-theme": "workspace:*"
1717
},

packages/theme/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pnpm add @callstack/rspress-theme
1414
bun add @callstack/rspress-theme
1515
```
1616

17-
> **Important**: Since this theme is based on Rspress beta, you must match the exact beta version of `@rspress/core` declared as a peer dependency in the theme's `package.json` (currently `^2.0.0-beta.34`). The theme is tightly coupled to the beta API and may break with version mismatches. Once Rspress 2 is stable, this requirement will likely become more flexible.
17+
> **Important**: This theme requires `@rspress/core` version `^2.0.0` or higher. Make sure to match the version declared as a peer dependency in the theme's `package.json`.
1818
1919
### Adding the `Alliance No. 2 Font`
2020

packages/theme/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"typecheck": "tsc --noEmit"
4646
},
4747
"peerDependencies": {
48-
"@rspress/core": "^2.0.0-rc.8",
48+
"@rspress/core": "^2.0.0",
4949
"react": "^19.2.3",
5050
"react-dom": "^19.2.3"
5151
},
@@ -56,7 +56,7 @@
5656
"@rsbuild/plugin-sass": "^1.3.3",
5757
"@rsbuild/plugin-svgr": "^1.2.1",
5858
"@rslib/core": "^0.10.5",
59-
"@rspress/core": "^2.0.0-rc.8",
59+
"@rspress/core": "^2.0.0",
6060
"@types/node": "^22",
6161
"@types/react": "^19.2.3",
6262
"@types/react-dom": "^19.2.3",

0 commit comments

Comments
 (0)