ShahriarKh / strapi-content-type-explorer

🗺 Content-Type Explorer is a Strapi plugin that visualizes your content types and their relationships like an ERD (Entity Relationship Diagram).
MIT License
25 stars 4 forks source link

Engine warnings - Alternative to tisoap/react-flow-smart-edge? #13

Open broksonic21 opened 5 months ago

broksonic21 commented 5 months ago

@tisoap/react-flow-smart-edge seems non-maintained - folks have been trying to get a release done for 9 months now: see https://github.com/tisoap/react-flow-smart-edge/issues/57#issuecomment-2152446692

This is because @tisoap/react-flow-smart-edge 's current release says it only works on npm 8, not anything later

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@tisoap/react-flow-smart-edge@3.0.0',
npm WARN EBADENGINE   required: { node: '>=16', npm: '^8.0.0' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '9.6.7' }
npm WARN EBADENGINE }

it's a direct dependency, is there an alternative you can switch to, or do you have a contact with @tisoap to get this updated?

> npm why @tisoap/react-flow-smart-edge

@tisoap/react-flow-smart-edge@3.0.0
node_modules/@tisoap/react-flow-smart-edge
  @tisoap/react-flow-smart-edge@"^3.0.0" from strapi-content-type-explorer@0.2.2
  node_modules/strapi-content-type-explorer
    strapi-content-type-explorer@"^0.2.2" from the root project
broksonic21 commented 5 months ago

They are suggesting forking to get a release out: https://github.com/tisoap/react-flow-smart-edge/issues/57#issuecomment-2152567441

so ultimately to fix this, you will need to as users can't control this

ShahriarKh commented 5 months ago

Let me take a closer look and see what will be the best solution.