all: centralize dependencies in root folder and sync versions with packages
SuperITMan opened this issue · comments
Alexis Georges commented
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[X] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/stark/blob/master/CONTRIBUTING.md#got-a-question-or-problem
Current behavior
Dependencies for each package are installed in the packages. Tsconfig file in each package has to contain paths to the modules in the right other submodule.
ie:
{
"compilerOptions": {
"paths": {
"paths": {
"@angularclass/hmr": ["../stark-core/node_modules/@angularclass/hmr"],
"@angular/animations": ["../../node_modules/@angular/animations"]
// ...
}
}
}
Expected behavior
Centralize dependencies into root to simplify Stark developing.
What is the motivation / use case for changing the behavior?
Improvement