nxext / nx-extensions

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

Svelte: Project name mismatch #1033

Open floratmin opened 1 year ago

floratmin commented 1 year ago

When creating a project with nx generate @nxext/svelte:application web --directory apps then the directory names of the projects for the svelte app and the cypress e2e do not follow the naming standard. The svelte app is named apps-web and is located in the directory apps/web, the e2e test is named apps-web-e2e and is located in the directory apps/apps-web-e2e. There is an additional apps- in the directory name for the cypress e2e test directory. When using the additional --directory flag then the svelte application is put into the right directory. For example the command nx generate @nxext/svelte:application web --directory tool will generate the app in the directory apps/tool/web but the tests are located in the directory apps/tool-web-e2e. The flag -projectNameAndRootFormat appears to make no difference with either value.