assert-npm-version icon indicating copy to clipboard operation
assert-npm-version copied to clipboard

Cannot supply an upper range limit

Open jpdup opened this issue 3 years ago • 0 comments

For instance we want to ensure that no Dev is using version 7.0.0 and up We tried this

"scripts": { "prepublish": "assert-npm-version >=6.0.0 <6.9.9" }

but the build run time things that '<' this is a command line pipe, so we get this error

sh: 6.9.9: No such file or directory

We tried with surrounding single quote or double quotes

jpdup avatar Sep 03 '21 17:09 jpdup