angular-architects / nx-ddd-plugin

Nx plugin for structuring a monorepo with domains and layers
313 stars 56 forks source link

ng generate stops working after Angular got updated from 9 to 10 #69

Closed dadaxl closed 2 years ago

dadaxl commented 3 years ago

When installing and using the ng generate @angular-architects/ddd:feature in Angular 9 it is working as expected:

> Executing task: ng generate @angular-architects/ddd:feature --name=test --domain=mydomain --no-interactive --dry-run 
CREATE libs/mydomain/feature-test/README.md (180 bytes)
CREATE libs/mydomain/feature-test/tsconfig.lib.json (411 bytes)
CREATE libs/mydomain/feature-test/tsconfig.lib.prod.json (97 bytes)
CREATE libs/mydomain/feature-test/tslint.json (265 bytes)
...

But after an update to Angular 10 following error occurs executing the same command again

$ ng generate @angular-architects/ddd:feature --name=test --domain=mydomain --no-interactive --dry-run
Specified app mydomain does not exist: apps/mydomain/src/app/app.module.ts expected!

In the package.json the @angular-architects/ddd got updated to "@angular-architects/ddd": "^1.3.0",

Has anything else to be adapted for the update in order to get the generator back to work?