Most likely proposal:
/core for code reused throughout project, should depend on nothing in the project
/src/core for code reused within project modules but not needed for the remainder of infrastructure
src/shared for project-specific code a bit more generic than normal modules, but that should be shared within project-related modules only due to being more specific than core
Doubts: Division into /core and src/core might be a bit much
Most likely proposal:
/core
for code reused throughout project, should depend on nothing in the project/src/core
for code reused within project modules but not needed for the remainder of infrastructuresrc/shared
for project-specific code a bit more generic than normal modules, but that should be shared within project-related modules only due to being more specific than coreDoubts: Division into
/core
andsrc/core
might be a bit much