bikecoders / ngx-deploy-npm

Nx plugin to publish any JS library to NPM with one command
https://www.npmjs.com/package/ngx-deploy-npm
MIT License
108 stars 13 forks source link

Add support for Nx v19 #598

Closed dgonzalezr closed 5 months ago

dgonzalezr commented 5 months ago

The current version of ngx-deploy-npm does not support the latest version of Nx

CleanShot 2024-05-28 at 13 52 07@2x

We can see the Nx versions allowed here. Any chance to add support for Nx 19 soon?

dianjuar commented 5 months ago

Hello @dgonzalezr, good to see you again. As you mentioned, some work is required to ngx-deploy-npm to support Nx v19.

In the meantime, you can apply a well-known solution to solve this exact issue. In your package.json, add this line:

For yarn

"resolutions": {
  "@nrwl/devkit": "YOUR.CURRENT.VERSION"
}

For npm

"overrides": {
    "@ngx-deploy-npm": {
      "@nx/devkit": "YOUR.CURRENT.VERSION"
    }
  }

This is not ideal, but it is an easy-to-apply workaround.


Any chance to add support for Nx 19 soon?

I would say that in probably 2weeks we will add support for Nx19.

dianjuar commented 5 months ago

@dgonzalezr ngx-deploy-npm@8.2.0 supports Nx v19.

Feel free to open the issue again if the problem persists.