-
Notifications
You must be signed in to change notification settings - Fork 2.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
Refactor/rename directory structure #9940
Comments
This would help for docs too, because currently we need to change the levels, which should hopefully make cross links easier. |
I want to do this on the next major release:
From experimenting on modules today, I found that the follow-up tasks included:
|
After modules moving, replace:
|
VSCode can auto update imports when moving via drag'n'drop. |
I know, but for some reason it's not getting all of them. It doesn't catch |
@viceice nope, github/ webstorm/ vs code, i checked all, none of them move imports or any hardcoded tests/mocks, doing everything manually with regexes |
I can confirm that
|
Let's do just the potentially "breaking" changes for now:
|
Some observations: VSCode indeed does a good job of updating imports. But beware:
Most of what's left is |
This was mostly implemented in #14490. Remaining parts are no longer "breaking" |
I'm thinking of ways to restructure our source code inside
lib/
for easier understanding. Ideas include:datasource
,manager
,platform
andversioning
under a newmodules/
subdirectoryAfter these changes, it would leave the following under
lib/
:config
,constants
,logger
,types
andutil
.The text was updated successfully, but these errors were encountered: