deepkit-framework icon indicating copy to clipboard operation
deepkit-framework copied to clipboard

[Feature] Tool to generate a new project

Open H4ad opened this issue 3 years ago • 1 comments

The idea behind this is to be able to start a project with all the files configured for the deepkit.

Some issues that arise with the implementation approach:

  • How should this cli be integrated with the app.ts cli, which is used to start a project?
  • Should the cli just create the project and then the user use app.ts?

Some inspirations to use in creating the tool:

Personally, looking at the current deepkit design, the best option is to use npm init. After initialization, everything can be done using app.ts. But, if you have plans to extend the functionality of the deepkit cli without relying on app.ts, then using npx deepkit might be better.

H4ad avatar Aug 04 '22 22:08 H4ad

First version has been added here https://github.com/deepkit/deepkit-framework/commit/3088e829c89e09d7621eb916501877344064e8a8

marcj avatar Aug 07 '22 22:08 marcj

This is released. You can try it via

npm init @deepkit/app my-app

Let me know what you think💪

marcj avatar Dec 04 '22 06:12 marcj