1

We are using yarn workspace 2 monorepo project.

Our problem is, that there a 10 miniproject contains (for example):

  "devDependencies": {
    "typescript": "^4.0.2"
  }

Is there any stategy how to define some ROOT parent of package.json and exnted it in childs?

Like: Parent:

  "devDependencies": {
    "typescript": "^4.0.2"
  }

Child:

  "devDependencies": {
    ...Parent, // will use "typescript": "^4.0.2"
  }
jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
vimov32802
  • 89
  • 2
  • 5

0 Answers0