assert-npm-version
assert-npm-version copied to clipboard
Cannot supply an upper range limit
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