Discussion on Rethinking File Structure #150
Replies: 3 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I think that the current structure is concise and allows to separate both the configuration files and the main part or the core of the operation. Possibly with the new structure there may be confusion. |
Beta Was this translation helpful? Give feedback.
-
After spending some time, I found that this template was not very suitable for the current node ecosystem. There are inconveniences and problems when using different tools:
For these reasons, I decided to change the structure of this template and began work on a new version. In the new edition, all global things, such as configuration files, tests or types, are in the root directory. Draft is here. All module-specific configs, tests, and types are located in subfolders of a specific module. Working with such a structure should be easier and it should be more flexible. |
Beta Was this translation helpful? Give feedback.
-
I'm thinking about how to organize files and directories. Now I see that the file structure that exists at the moment may not be very convenient.
I'm considering the following file organization:
This is similar to how monorepo are organized. But this is not a monorepo.
If you have any thoughts or feedback on this idea - welcome to the discussion.
Probable Benefits:
Possible disadvantages:
index.ts
because different modules will have files with the same names.Questions for consideration:
Beta Was this translation helpful? Give feedback.
All reactions