lowlight is declared both as a dependency and peerDependency in released code-block-lowlight extension #2915
Closed
1 of 2 tasks
Labels
Info: Stale
The issue or pullrequest has not been updated in a while and might be stale
Type: Bug
The issue or pullrequest is related to a bug
What’s the bug you are facing?
The
lowlight
dependency of the@tiptap/code-block-lowlight
extension is declared as adependency
andpeerDependency
simultaneously in the latest release: https://unpkg.com/browse/@tiptap/extension-code-block-lowlight@2.0.0-beta.72/package.json.This problem is not present in the
package.json
that exists in the master branch: https://github.com/ueberdosis/tiptap/blob/main/packages/extension-code-block-lowlight/package.json#L25. This leads me to believe thatpackage.json
file is modified when the code-block-lowlight extension is released.Which browser was this experienced in? Are any special extensions installed?
This problem is experienced at build time in our application. The
yarn check
command fails because thelowlight
dependency is declared twice in the package.json file: https://gitlab.com/gitlab-org/gitlab/-/jobs/2619015236How can we reproduce the bug on our side?
Create a test application that uses the
@tiptap/code-block-lowlight
extension and runyarn check
. The command should fails because of the problem described above.Can you provide a CodeSandbox?
No response
What did you expect to happen?
The
lowlight
dependency should be a peerDependency and not a dependencyAnything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: