webalys-hq / streamlinehq-npm

The deprecated Streamline NPM package, which will be deleted on 1st November 2022.
https://medium.com/streamline-icons/how-streamline-narrows-down-its-focus-eac6fdb5c6f2
24 stars 5 forks source link

Remove or loosen "engines" constraint in package.json #1

Closed Wedvich closed 3 years ago

Wedvich commented 3 years ago

We're trying to use the package in our project, and currently it requires an exact match for the Node/NPM versions:

"engines": {
    "node": "14.15.0",
    "npm": "6.14.8"
}

Are these constraints necessary? Or if they are, would it be possible to loosen the constraints to a reasonable minimum like below?

"engines": {
    "node": "^14",
    "node": "^6",
}

Right now the package won't even install - using --ignore-engines makes the installation proceed to the postinstall step, but then it fails there instead.

cbrwizard commented 3 years ago

You're right, they weren't needed. I've removed them in release 1.0.4, please update