You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation of the package @slack/bolt has next file structure: node_modules/@slack/bolt/node_modules
Which brings complexity to the application. Also it makes it impossible to override package versions.
Renaming dependencies -> peerDependencies helps to get rid of this problem.
The text was updated successfully, but these errors were encountered:
Since this is a public framework widely available for use, I think the preference would be to enforce the dependencies with the dependencies key rather than peerDependencies. Also, some of the dependencies require pinned or specific versions to ensure compatibility with Bolt JS, which peerDependencies would not enforce as it would support overriding package versions as you mentioned.
With that being said, I would love to get your thoughts on this and see if there's a specific use case I've been missing!
Installation of the package
@slack/bolt
has next file structure:node_modules/@slack/bolt/node_modules
Which brings complexity to the application. Also it makes it impossible to override package versions.
Renaming
dependencies
->peerDependencies
helps to get rid of this problem.The text was updated successfully, but these errors were encountered: