mattmilburn/strapi-plugin-preview-button

Support for node 18.x.x?

Micka33 opened this issue ยท 1 comments

I just created a new strapi project on the latest version.
The default package.json->engines looks like that:

{
//...
  "engines": {
    "node": ">=14.19.1 <=18.x.x",
    "npm": ">=6.0.0"
  },
//...
}

Currently strapi-plugin-preview-button has the following requirements in package.json:

{
//...
  "engines": {
    "node": ">=12.x.x <=16.x.x",
    "npm": ">=6.0.0"
  },
//...
}

Therefor, I had to install a node package manager, n, in order to install node/16.x.x because I only had node/19.2.0 on my machine. And I had to downgrade my own package.json->engine->node requirements from 18.x.x to 16.x.x.
Hopefully, it is working fine, no issue.

Still, it would be nice if the upper node version requirements was following the strapi one.

So I must ask:

  • is there any reason to keep node version requirements at 16.x.x?
  • is there any plan to bump it to 18.x.x?

Hi @Micka33 This is now updated in the latest version 1.1.0 of the plugin. ๐Ÿ‘๐Ÿป Thanks again for raising this issue. ๐ŸŽ‰