WebTemplateStudio
WebTemplateStudio copied to clipboard
generated project has 2 levels of folder
Let us say a user try to generate a project named "project-test". When the project is successfully generated, the source code is under /project-test/project-test/src. The ideal situation should be /project-test/src
Reason we do that is because of WinTS something about checking for postactions one level above. Maybe @sibille can clarify. I think I explained why we do this in depth to @njindal239 . I think we discussed on renaming the second level to something else
If we don't go two levels deep with the current setup of corets it scans all folders/files one level above recursively. So if you have it at C:/project-test/src it will scan Users/, Program Files, Etc. This will probably need a change in core if you would want it to be 1 level only. Possibly removal of the 1 level up check and keeping it in wints? @sibille what do you think?
The creation of two levels of folders is how Visual Studio creates projects, with multiproject creation we needed the possibility to go up one directory to create other projects.
How should the structure of a react/angular/vue + node project look like? How should a flask project look like? Where should things get added to if you add another project to any of those? Where would tests go?
We should study all those scenarios, and see how we can change things to adapt.