Skip to content

Commit

Permalink
fix(plugin-rss): fix dependency issues (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Apr 5, 2024
1 parent 63be2ea commit 4053ec3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-vans-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rspress/plugin-rss": patch
---

fix(plugin-rss): add missing dependencies
5 changes: 2 additions & 3 deletions packages/plugin-rss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,19 @@
"node": ">=14.17.6"
},
"dependencies": {
"@rspress/shared": "workspace:*",
"feed": "^4.2.2"
},
"devDependencies": {
"@types/node": "^18.11.17",
"@types/react": "^18",
"@rspress/shared": "workspace:*",
"@rspress/runtime": "workspace:*",
"react": "^18",
"typescript": "^5"
},
"peerDependencies": {
"react": ">=17.0.0",
"@types/react": ">=17.0.0",
"@rspress/runtime": "^1.0.0"
"rspress": "^1.17.0"
},
"files": [
"dist",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { PageFeedData } from '@rspress/plugin-rss';
import { Helmet, usePageData } from '@rspress/runtime';
import { Helmet, usePageData } from 'rspress/runtime';
import { LinkHTMLAttributes } from 'react';

export default function FeedsAnnotations() {
Expand Down
9 changes: 6 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4053ec3

Please sign in to comment.