Clean up module imports across repo #437
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Info
Closes #192.
Description
What changes did you make? List all distinct problems that this PR addresses. Explain any relevant
motivation or context.
Changes
index.ts
files on all folders that are imported@
) even within the folder itselfaliases.ts
file programmatically adds aliases, this file is imported relativelytsconfig.json
to fix type hinting andjest.config.json
because it uses its own aliasesNotes
@types
for special purposes, the alias for it is@customtypes
api/
subfolders each have their own alias due to their heavy usageindex.ts
,ormconfig.ts
, andSeeds.ts
which each need to import the aliases because they are ran separately on different commandspackage.json
because build paths differ once it is compiled (untested)Type of Change
expected)
workflows, linting, etc.)
If you've selected Patch, Minor, or Major as your change type, make sure to bump the version before merging in
package.json
!Testing
I have tested that my changes fully resolve the linked issue ...
Checklist
package.json
file.Screenshots
Please include a screenshot of your Postman testing passing successfully.
Not sure if its necessary for this kind of change.