I have a lib created in a Nx workspace that I started with very old version (can't remember which one). The lib has the following file and folder structure:
Now, in a new Nx workspace for new lib I have the following structure:
As you can see new version has project.json and no ng-package.json nor package.json.
So, how can I upgrade this lib to fit the new Nx workspace?
I have tried to run nx g @nrwl/workspace:convert-to-nx-project my-lib
but I get this error: Cannot find configuration for 'my-lib'
I tried to run nx g @nrwl/workspace:convert-to-nx-project --all but it seems it can't find it:
Skipping my-app since apps/my-app/project.json already exists.
Skipping my-app-e2e since apps/my-app-e2e/project.json already exists.
Skipping my-new-lib since libs/my-new-lib/project.json already exists.
What am I doing wrong?

