fix(medusa-js): missing devDependency was failing repo build task (#2804)

### What

Explicitly declare `@medusajs/medusa` as a devDependency for `@medusajs/medusa-js` client package.

### Why

With our latest version upgrade of `turbo`, peerDependencies aren't taken into account in the build graph. The recommendation is to also explicitly declare them in devDependencies.

### Test

* Run `yarn build --graph`
* Expect to see medusa-js having a dependency on medusa
```
"[root] @medusajs/medusa-js#build" -> "[root] @medusajs/medusa#build"
```
This commit is contained in:
Patrick
2022-12-14 11:46:08 -05:00
committed by GitHub
parent 8edf6a06ee
commit 7bb9cd6aff
3 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/medusa-js": patch
---
fix: missing devDependency was failing repo build task