chore: Start cleaning up medusa-core-utils (#7450)

**What**
- remove medusa-core-utils
- dispatch the utils where they belongs
- update usage

**NOTE**
I have been wondering if the graceful class should go into the utils package or medusa package, I ve put it in the medusa package as it seems to be the best place I can see for now and is tight to the server as well. Also, I wanted to avoid the utils package to depends on http and net dependencies, happy to change that if you feel like it
This commit is contained in:
Adrien de Peretti
2024-05-27 08:00:15 +00:00
committed by GitHub
parent 28a3f9a3df
commit b8bc3ed16f
69 changed files with 61 additions and 1384 deletions
-17
View File
@@ -5466,7 +5466,6 @@ __metadata:
is-valid-path: ^0.1.1
jest: ^25.5.4
meant: ^1.0.3
medusa-core-utils: ^1.2.0
medusa-telemetry: ^0.0.17
open: ^8.0.6
ora: ^5.4.1
@@ -5559,9 +5558,7 @@ __metadata:
jest: ^25.5.4
jsonwebtoken: ^9.0.0
lodash: ^4.17.21
medusa-core-utils: ^1.2.2
medusa-telemetry: ^0.0.17
medusa-test-utils: ^1.1.44
morgan: ^1.9.1
multer: ^1.4.5-lts.1
node-schedule: ^2.1.1
@@ -23647,19 +23644,6 @@ __metadata:
languageName: node
linkType: hard
"medusa-core-utils@^1.2.0, medusa-core-utils@^1.2.2, medusa-core-utils@workspace:packages/medusa-core-utils":
version: 0.0.0-use.local
resolution: "medusa-core-utils@workspace:packages/medusa-core-utils"
dependencies:
awilix: ^8.0.0
cross-env: ^5.2.1
jest: ^25.5.4
rimraf: ^5.0.1
ts-jest: ^25.5.1
typescript: ^4.4.4
languageName: unknown
linkType: soft
"medusa-dev-cli@workspace:packages/cli/medusa-dev-cli":
version: 0.0.0-use.local
resolution: "medusa-dev-cli@workspace:packages/cli/medusa-dev-cli"
@@ -23718,7 +23702,6 @@ __metadata:
"@mikro-orm/postgresql": 5.9.7
cross-env: ^5.2.1
jest: ^25.5.4
medusa-core-utils: ^1.2.2
randomatic: ^3.1.1
rimraf: ^3.0.2
typescript: ^5.1.6