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.
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 namedapps-web
and is located in the directoryapps/web
, the e2e test is namedapps-web-e2e
and is located in the directoryapps/apps-web-e2e
. There is an additionalapps-
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 commandnx generate @nxext/svelte:application web --directory tool
will generate the app in the directoryapps/tool/web
but the tests are located in the directoryapps/tool-web-e2e
. The flag-projectNameAndRootFormat
appears to make no difference with either value.