mike-eason/oledb

Consider making edge-js a peer dependency

sgvictorino opened this issue · 1 comments

I think dependents should be able to update or even downgrade edge-js on their own schedule, so they can keep it in sync with their project's Node version.

  • the version used can be updated faster or slower than the one used by oledb, which can be locked in via devDependencies
  • with "peerDependencies": { "edge-js": "*" }
    • running npm update on dependent projects will do major version bumps of edge-js
    • the latest version can be automatically installed on fresh installs (at least on npm > 7)

To clarify, this isn't a breaking change because no edge-js updates are automatically done after installing the new release with the peer dependency.

What do you think?

Closing this in favor of #19