ITADN

feat: publish emulation mode

#13Closedprivatenumber 创建于 2022-09-14
P
privatenumbercommented
## Feature Specifically, to only link publish files and dependencies from the `dependencies` object. This would likely result in a watcher. ## Motivation ### Only publish files In a development environment, it's possible files that are not published are present and accessible, leading to an inconsistent/inaccurate package. ### Removes dev dependencies When linking a development package, the linked package's `node_modules` directory usually contains devDependencies. If the package's dev dependency is also a peer dependency, it's usually provided by the consuming app. However, when linked, Node will resolve the closest dependency, which is unexpected.
关闭于 2023-10-14 0 条评论