strapi / pack-up

Simple tools for creating interoperable CJS & ESM packages.
Other
4 stars 3 forks source link

Support for Node 22? #22

Open broksonic21 opened 3 weeks ago

broksonic21 commented 3 weeks ago

What version of @strapi/blocks-react-renderer are you using?

What's Wrong?

get a warning on npm install on the latest node lts

in both pack-up 4 and 5

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@strapi/pack-up@5.0.0',
npm warn EBADENGINE   required: { node: '>=18.0.0 <=20.x.x', npm: '>=6.0.0' },
npm warn EBADENGINE   current: { node: 'v22.11.0', npm: '10.9.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@strapi/pack-up@4.23.0',
npm warn EBADENGINE   required: { node: '>=18.0.0 <=20.x.x', npm: '>=6.0.0' },
npm warn EBADENGINE   current: { node: 'v22.11.0', npm: '10.9.0' }
npm warn EBADENGINE }

To Reproduce

use node 22.11.0 and run npm install on either strapi 4 or 5

Expected Behaviour

no warning for supported LTS's

broksonic21 commented 3 weeks ago

Issue is here: https://github.com/strapi/pack-up/blob/main/package.json#L116

sisirkon commented 5 days ago

Seems like there is PR that was merged, with no tag generated, would like to know what the frequency for the next tag for release is.

https://github.com/strapi/pack-up/pull/23