-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generatr-blueprint creates *.js files instead of *.mjs #26244
Comments
Local blueprint is used in project that can be type commonjs. Non local blueprints are packages that we generate as type module. So it can have js extension. |
If you prefer mjs extension you can use |
makes sense, thank you @mshima. Is there any plan in the future to convert the blueprints to typescript. |
No plans for typescript blueprints in official blueprints and generate-blueprint command. |
We should add an option |
good suggestion, I will try to address this after the long weekend. |
JHipster has completed the sample check This check uses |
This issue is stale because it has been open for too long without any activity. |
Overview of the issue
Generating a new blueprint using
jhipster generate-blueprint
creates files<root-folder>/generators/generator.js
instead of *.mjs files.Motivation for or Use Case
Reproduce the error
Related issues
#25276 added this logic which only enables if local blueprint is selected.
Is this by design.
Suggest a Fix
JHipster Version(s)
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
The text was updated successfully, but these errors were encountered: