To allow blueprint customization we need to use ${this.CLIENT_MAIN_SRC_DIR} here
https://github.com/jhipster/generator-jhipster/blob/main/generators/generator-base-private.js#L343
https://github.com/jhipster/generator-jhipster/pull/12410
I can provide a PR to fix this if you are ok
entityName.json files generated in the .jhipster directory@nicolas63 Can you provide a PR, please?
@nicolas63 if you are willing to create the PR, always go for it 馃槃 .
To prevent others bugs like this, add
path.join(__dirname, '..', 'generators', 'generator-base-private.js')
path.join(__dirname, '..', 'generators', 'generator-base.js')
and any other file that make sense to
https://github.com/jhipster/generator-jhipster/blob/2302720eb7ed54cf114130559f715904c823af4f/test/enforcements.spec.js#L41-L49
Thanks for your advice @mshima. I will add this test
@nicolas63 please add ...readDir(path.join(__dirname, '..', 'generators', 'entities-client')), too.