-
-
Notifications
You must be signed in to change notification settings - Fork 754
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
Feathers v5 CLI #2425
Feathers v5 CLI #2425
Conversation
Just a thought: It sounds like hygen is more testable... aka, it can be easily configured programmatically without dealing with a file system. It would be really interesting to see what a stateless-ish call to the generator would look like in Runkit... That is...
|
If we do have file system access that could be possible. It is indeed much easier to use programmatically. Currently it looks like this: https://github.com/feathersjs/feathers/blob/hygen-cli/packages/cli/test/index.test.ts#L84-L96 - the |
https://codesandbox.io/s/feathers-dove-cs7qc?file=/src/services/index.ts |
This has been superseded by #2578 |
This pull request is the draft for a more modern and flexible generator and CLI tool based on Hygen and a modernized and more concise new application structure where service class, new hooks and service registration are all together in the same file. It also uses ES modules for the JavaScript version and automatically generates and registers schemas and resolvers.
For more details on CLI usage see #2414
This is a big undertaking and the current progress is tracked here:
feathers customize <name>