chore(): Cleanup and organize deps (#13940)

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* Create lucky-poets-scream.md

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* dedupe snapshot this build

* split into 4 shard

* re configure packages integration tests

* re configure packages integration tests

* re configure packages integration tests

* re configure packages integration tests

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* reduce shard for packages
This commit is contained in:
Adrien de Peretti
2025-11-03 19:06:37 +01:00
committed by GitHub
parent cdbb4b925b
commit afb40d437b
83 changed files with 6898 additions and 11792 deletions

View File

@@ -61,25 +61,13 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"watch": "tsc --watch ",
"watch:test": "tsc --watch",
"build": "rimraf dist && tsc --build",
"test": "jest --bail --forceExit -- src/**/__tests__/**/*.ts"
"watch": "yarn run -T tsc --watch ",
"watch:test": "yarn run -T tsc --watch",
"build": "yarn run -T rimraf dist && yarn run -T tsc --build",
"test": "../../../node_modules/.bin/jest --bail --forceExit --testPathPattern=src"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.218.0",
"@medusajs/cli": "2.11.2",
"@swc/core": "^1.7.28",
"@swc/jest": "^0.2.36",
"@types/cors": "^2.8.17",
"@types/jsonwebtoken": "^8.5.9",
"connect-dynamodb": "^3.0.5",
"ioredis": "^5.4.1",
"jest": "^29.7.0",
"rimraf": "^5.0.1",
"supertest": "^7.1.4",
"typescript": "^5.6.2",
"vite": "^5.4.14"
"@medusajs/cli": "2.11.2"
},
"dependencies": {
"@jercle/yargonaut": "^1.1.5",

View File

@@ -53,7 +53,7 @@ export function createBodyParserMiddlewaresStack(
handler: RequestHandler | MiddlewareFunction,
route: { route: string; method?: string }
) => RequestHandler | MiddlewareFunction
) {
): RequestHandler[] {
return (["json", "text", "urlencoded"] as (keyof typeof parsers)[]).map(
(parser) => {
function bodyParser(