Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix reversed package dependencies #2

Merged
merged 2 commits into from
Mar 19, 2024
Merged

Conversation

MaikoTan
Copy link
Collaborator

No description provided.

@MaikoTan MaikoTan requested a review from SaarChaffee March 19, 2024 02:27
Copy link
Contributor

github-actions bot commented Mar 19, 2024

PR Health

Build ✅

Details
yarn run v1.22.22
$ yakumo build
Done in 2.06s.

@@ -49,10 +49,12 @@
}
},
"peerDependencies": {
"koishi": "^4.17.1"
"koishi": "^4.17.1",
"koishi-plugin-pcr-landosol-roster": "^0.0.2"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

landosol-roster 应该是可选依赖才对吧,要在 peer 里吗

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在 peer 里面就变成了必须依赖了,这里不能加

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, in that case, you should add a peerDependenciesMeta instead of removing it.

"peerDependencies": {
  "koishi-plugin-pcr-landosol-roster": {
    "optional": true
  }
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还有这种东西

@SaarChaffee SaarChaffee merged commit 041e24e into master Mar 19, 2024
8 checks passed
@SaarChaffee SaarChaffee deleted the fix-build-error branch March 19, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants