NationalBankBelgium / stark

Modern client-side Web application framework based on Angular, Angular Material / Material Design, TypeScript, Redux, RxJS, ...

Home Page:https://stark.nbb.be

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

all: centralize dependencies in root folder and sync versions with packages

SuperITMan opened this issue · comments

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