Open
Description
If possible, please provide a reproduction repository you discovered this bug in.
No response
Which area/package is the issue in?
@koliveira15/nx-sonarqube
Description
The command pnpx nx g @koliveira15/nx-sonarqube:config my-app
fails whenever the application defaults to using nx configurations inside of the package.json file.

If applicable, please provide the Nx report

Please provide the exception or error you saw
NX Cannot find configuration for 'my-app'
Error: Cannot find configuration for 'my-app'
at readProjectConfiguration (/Users/Xavier.Thomas/projects/dgc-dev-proof-ecomm-web/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__@[email protected]_ty_ddimrabmutf7slhcoygnl7airq/node_modules/nx/src/generators/utils/project-configuration.js:129:15)
at updateProjectConfig (/Users/Xavier.Thomas/projects/dgc-dev-proof-ecomm-web/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_@swc+cor_zdsnnugbntefr57pdhcxfwls7e/node_modules/@koliveira15/nx-sonarqube/src/generators/config/generator.js:43:72)
at /Users/Xavier.Thomas/projects/dgc-dev-proof-ecomm-web/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_@swc+cor_zdsnnugbntefr57pdhcxfwls7e/node_modules/@koliveira15/nx-sonarqube/src/generators/config/generator.js:12:9
at Generator.next (<anonymous>)
at /Users/Xavier.Thomas/projects/dgc-dev-proof-ecomm-web/node_modules/.pnpm/[email protected]/node_modules/tslib/tslib.js:170:75
at new Promise (<anonymous>)
at Object.__awaiter (/Users/Xavier.Thomas/projects/dgc-dev-proof-ecomm-web/node_modules/.pnpm/[email protected]/node_modules/tslib/tslib.js:166:16)
at default_1 (/Users/Xavier.Thomas/projects/dgc-dev-proof-ecomm-web/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_@swc+cor_zdsnnugbntefr57pdhcxfwls7e/node_modules/@koliveira15/nx-sonarqube/src/generators/config/generator.js:7:20)
at /Users/Xavier.Thomas/projects/dgc-dev-proof-ecomm-web/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__@[email protected]_ty_ddimrabmutf7slhcoygnl7airq/node_modules/nx/src/command-line/generate/generate.js:240:32
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
### Other information
_No response_
### I would be willing to submit a PR to fix this issue
- [X] Yes
- [ ] No