aklinker1 / vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions
https://vite-plugin-web-extension.aklinker1.io/
MIT License
574 stars 48 forks source link

Incorrent peer dependency semver #6

Closed ChrRubin closed 2 years ago

ChrRubin commented 2 years ago

The vite peer dependency on the package.json from npm is listed with version 2.6+, which is an incorrect semver format and will be reported by yarn as an incorrect peer dependency.

It should be set to either ^2.6 to match all versions starting from 2.6 till 3.0, or >=2.6 to match all versions newer or equal to 2.6.

On a side note, is there any particular reason that the package.json for npm is not included in this repo?

aklinker1 commented 2 years ago

It's the lib/package.json that is used for NPM, this repo is an informal mono-repo (no packages directory).

I've updated the peer dependency to ^2.6, and published 1.0.4 with the change!