jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.54k stars 4.02k forks source link

Switch to ESM. #19113

Closed mshima closed 1 year ago

mshima commented 2 years ago
Overview of the feature request
Motivation for or Use Case

Follow javascript standards

Related issues or PR
Tcharl commented 1 year ago

Reopened: the jhipster cli is not working anymore due to a dependecy to constants.cjs, which itself needs jdl/validation.mjs...

mshima commented 1 year ago

The generator has already switched to esm and every bit is esm except jdl and cli.

The cli problem is related to mocking, which I am working on. The jdl can be switched except some definitions that the cli uses.

Please open a new issue to track cli and jdl switch to esm.

Tcharl commented 1 year ago

The issue was labelled 'switch to ESM', thus wasn't mentioning that it was only targeting generator, still, the content did.

Why not reopening to get the complete picture? What's the added value of two tickets ?

I saw your current repo: great ambition which would really help, keep on rockin'! I'm trying through a simpler way, but not sure to succeed.

Best regards,

mshima commented 1 year ago

@DanielFran bounty claimed https://opencollective.com/generator-jhipster/expenses/123269

DanielFran commented 1 year ago

@mshima approved