ktsn / vuex-toast

Simple toast notification using Vuex
MIT License
80 stars 12 forks source link

Warning about Vuex@3 version #20

Open probil opened 4 years ago

probil commented 4 years ago

I've got this warning while trying to use your package with vuex@3.4.0

npm WARN vuex-toast@0.1.3 requires a peer of vuex@^2.0.0 but none is installed. You must install peer dependencies yourself.

I've checked repository version of the package.json and it does contain both vuex@2 and vuex@3:

  "peerDependencies": {
    "vue": "^2.0.0",
    "vuex": "^2.0.0 || ^3.0.0"
  }

But the problem is that the published version doesn't support vuex@3 as a peer dependency:

"peerDependencies": {
  "vue": "^2.0.0",
  "vuex": "^2.0.0"
}

Proof: https://cdn.jsdelivr.net/npm/vuex-toast@0.1.3/package.json

Could you please re-publish the package with the latest version of package.json?

jtzook commented 4 years ago

Hi @ktsn! This issue affects one of my projects on every yarn install. I too noted that you have updated dependencies on master, do you have any plans to publish the changes? Thank you! -jz

cschroedl-gov commented 3 years ago

This affects me too. Could a little patch release 0.1.4 be created?