generator-jhipster
generator-jhipster copied to clipboard
Move source files to `src`
Overview of the feature request
Move the folder jdl, generators, lib and cli to a new folder src. Based on the discussion around @mshima's comment: https://github.com/jhipster/generator-jhipster/pull/19559#issuecomment-1247349096
Motivation for or Use Case
When we do that our source folder and build output will have the same directory nesting level. That means ../ in both src and dist will mean the root project folder, which will remove the need to handle paths differently. This will simplify the generator lookup https://github.com/jhipster/generator-jhipster/blob/030d4b40a0ed1896686fe213a38a6ad8a091f884/cli/environment-builder.js#L118-L128 and importing package.json will work without copying it to the build output.
https://github.com/jhipster/generator-jhipster/blob/030d4b40a0ed1896686fe213a38a6ad8a091f884/package.json#L68
Related issues or PR
I already started working on that in #19750 and could continue to work on this after the migration of JDL to TypeScript is done.
- [x] Checking this box is mandatory (this is just to show you read everything)
JHipster has completed the sample check
.yo-rc.json:
Entities JDL:
Application:
Frontend check:
Backend check:
E2E check:
This issue is stale because it has been open for too long without any activity. Due to the moving nature of jhipster generated application, bugs can become invalid. If this issue still applies please comment otherwise it will be closed in 7 days