I'm working on a script to auto import missing imports for all files in my typescript project.
Therefore, I use "ts-morph", which detects missing imports and calls internally the typescript compiler for these to fix the imports.
That way, I can for instance define custom typescript preferences, which are sent to the compiler.
For the imports, e.g. importModuleSpecifierPreference to use relative imports instead of absolute ones.
But is there any preference to change the order for the imports?
It's the same function like in vscode for auto import all missing.
But I want my exports in the src folder to be considered before external packages.
I already tried the "Include Package JSON Auto Imports" setting with "off", but that didn't have any effect.