[BUG] Generated -types
project does not uses nx.json
configured generators values
#816
Labels
-types
project does not uses nx.json
configured generators values
#816
Current Behavior
When creating a
webapi
application withskipSwaggerLib=false
, a new-types
project is created as expected. This project (I think?) is created using the@nx/js:library
generator. I have in mynx.json
configured to usevitest
as the unit test runner. However, in the dry-run I see that files such asjest.config.ts
are created, hinting that my configuration to usevitest
is not considered.Expected Behavior
The generated project uses my pre-configured
vitest
as the unit test runner.Github Repo
No response
Steps to Reproduce
nx-dotnet
configured. Make sure that anyinit
run during that setup does not install@nx/jest
.@nx/js:application
innx.json
uses"unitTestRunner": "vitest"
.nx g @nx-dotnet/core:application --name=backend --language=C# --template=webapi --dry-run
.The dry-run output shows that files for
jest
are created, when they should not be (not also we observe bug #801 in that the generated projects are not underlibs
orapps
).Nx Report
nx.json
Failure Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: