fix(medusa-dev): include packages/ subdirectories in discovery (#3293)

## What

Include packages/ subdirectories in medusa-dev packages discovery.

## Why

We started to use subdirectories in the monorepo `packages/` directory in order to better organize packages.

Packages in subdirectories were invisible to `medusa-dev` and could not be copied.

## How

Rely on monorepo package.json workspace glob patterns to discover packages that can be published to the local npm registry.
This commit is contained in:
Patrick
2023-02-21 16:12:02 +00:00
committed by GitHub
parent f43e9f0f20
commit e8e7d7bb53
5 changed files with 58 additions and 28 deletions
+2 -1
View File
@@ -19150,7 +19150,7 @@ __metadata:
languageName: node
linkType: hard
"glob@npm:^8.0.3":
"glob@npm:^8.0.3, glob@npm:^8.1.0":
version: 8.1.0
resolution: "glob@npm:8.1.0"
dependencies:
@@ -25415,6 +25415,7 @@ __metadata:
execa: ^4.1.0
find-yarn-workspace-root: ^2.0.0
fs-extra: ^9.0.1
glob: ^8.1.0
got: ^11.8.6
is-absolute: ^1.0.0
jest: ^25.5.4