-
-
Notifications
You must be signed in to change notification settings - Fork 1
Missing to list a dependency #2
Copy link
Copy link
Closed
Labels
💪 phase/solvedPost is donePost is done
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and discussions and couldn’t find anything (or linked relevant results below)
Affected package
recma-jsx@1.0.0
Steps to reproduce
Package recma-jsx@npm:1.0.0 is requested to provide acorn by its descendants
recma-jsx@npm:1.0.0
└─ acorn-jsx@npm:5.3.2 [4c49d] (via ^6.0.0 || ^7.0.0 || ^8.0.0)
✘ Package recma-jsx@npm:1.0.0 does not provide acorn.
Actual behavior
This package is not listing acorn required by acorn-jsx as a dependency or peerDependency. See:
https://github.com/acornjs/acorn-jsx/blob/8ed96d6ddec2065204ba07d924bb2e7bca539ea6/package.json#L22
Expected behavior
If your plugin relies on a dependency, you’re expected to list it as a dependency, or as a peer dependency so that the consuming project installs the correct version.
Runtime
No response
Package manager
No response
Operating system
No response
Build and bundle tools
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💪 phase/solvedPost is donePost is done