nxext / nx-extensions

Nx Extensions for Stencil, Svelte, SolidJS, Preact, Ionic, and Capacitor
MIT License
459 stars 102 forks source link

Angular: page schematic does not respect project directory structure #815

Open troywweber7 opened 2 years ago

troywweber7 commented 2 years ago

Describe the bug When creating a page within a library, the page files are created under apps/ folder instead.

To Reproduce

  1. run nx generate @nrwl/angular:library example --skipModule
  2. run nx generate @nxext/ionic-angular:page navigation --project=example

Expected behavior Page files should be created under libs/example/src/lib/navigation/, but they are created instead under apps/example/src/app/navigation/. No matter what value is provided to directory, the file are created under the wrong location.

Additional context I'm currently using @nxext/ionic-angular@14.0.0.

WhatsThatItsPat commented 2 years ago

Here's the same issue from the predecessor and a temporary workaround.