Files
medusa-store/packages/medusa-test-utils/package.json
Harminder Virk 48e00169d2 breaking: move shared HTTP utils to the framework (#9402)
Fixes: FRMW-2728, FRMW-2729

After this PR gets merged the following middleware will be exported from the `@medusajs/framework/http` import path.

- applyParamsAsFilters
- clearFiltersByKey
- applyDefaultFilters
- setContext
- getQueryConfig
- httpCompression
- maybeApplyLinkFilter
- refetchEntities
- unlessPath
- validateBody
- validateQuery

Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
2024-10-03 09:42:00 +00:00

60 lines
1.4 KiB
JSON

{
"name": "medusa-test-utils",
"version": "1.1.44",
"description": "Test utils for Medusa",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-test-utils"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest --passWithNoTests src"
},
"files": [
"dist",
"!dist/**/__tests__",
"!dist/**/__mocks__",
"!dist/**/__fixtures__"
],
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/framework": "^0.0.1",
"@mikro-orm/core": "5.9.7",
"@mikro-orm/knex": "5.9.7",
"@mikro-orm/migrations": "5.9.7",
"@mikro-orm/postgresql": "5.9.7",
"awilix": "^8.0.1",
"jest": "^29.7.0",
"pg": "^8.13.0",
"pg-god": "^1.0.12",
"rimraf": "^3.0.2",
"typescript": "^5.6.2"
},
"dependencies": {
"@types/express": "^4.17.17",
"axios": "^0.21.4",
"express": "^4.21.0",
"get-port": "^5.1.0",
"randomatic": "^3.1.1"
},
"peerDependencies": {
"@medusajs/framework": "^0.0.1",
"@medusajs/medusa": "^1.20.5",
"@mikro-orm/postgresql": "5.9.7",
"awilix": "^8.0.1"
},
"peerDependenciesMeta": {
"@medusajs/medusa": {
"optional": true
}
},
"gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808"
}