bats-core / bats-assert

Common assertions for Bats
Creative Commons Zero v1.0 Universal
94 stars 39 forks source link

Outdated peer dependencies published to npm #27

Open evnp opened 5 years ago

evnp commented 5 years ago

Hi, thanks for your work on this package - incredibly helpful. Running into a small issue, when I npm install the package I get this warning:

npm WARN bats-assert@2.0.0 requires a peer of
bats-support@git+https://github.com/ztombol/bats-support.git#v0.2.0
but none is installed. You must install peer dependencies yourself.

and this package.json peer dependencies for bats-assert:

$ cat node_modules/bats-assert/package.json | grep -A2 peerDependencies
  "peerDependencies": {
    "bats-support": "git+https://github.com/ztombol/bats-support.git#v0.2.0"
  },

However, in master for v2.0.0 I see the updated bats-support dep

  "peerDependencies": {
    "bats": "0.4 || ^1",
    "bats-support": "^0.3"
  },

Any chance this could be published? "bats-support": "0.3.0", instead of"bats-support": "git+https://github.com/ztombol/bats-support.git#v0.2.0", in the local package.json would be much preferred. Thanks!

guiyomh commented 2 years ago

same issue