what: - migrates medusa package to swc/jest - migrates plugins integration tests to swc/jest - parallelises a few of the heavy test packages - fixes typeorm circular dependencies **Unit Tests** Before: 1 job => ~30 mins After: 2 jobs => ~5 mins <img width="260" alt="Screenshot 2024-03-25 at 15 11 49" src="https://github.com/medusajs/medusa/assets/5105988/e1df6985-5bd6-48d0-b87b-336d3c77d0cf"> **Plugins** Before: 1 job => ~10 mins After: 1 job => ~5 mins <img width="254" alt="Screenshot 2024-03-25 at 15 26 03" src="https://github.com/medusajs/medusa/assets/5105988/c1cec0e2-a1c3-41d1-9372-46d114d804c6"> Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "@medusajs/utils",
|
|
"version": "1.11.7",
|
|
"description": "Medusa utilities functions shared by Medusa core and Modules",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/utils"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"author": "Medusa",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.17",
|
|
"cross-env": "^5.2.1",
|
|
"express": "^4.18.2",
|
|
"jest": "^29.6.3",
|
|
"rimraf": "^5.0.1",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"dependencies": {
|
|
"@medusajs/types": "^1.11.14",
|
|
"@mikro-orm/core": "5.9.7",
|
|
"@mikro-orm/migrations": "5.9.7",
|
|
"@mikro-orm/postgresql": "5.9.7",
|
|
"awilix": "^8.0.1",
|
|
"bignumber.js": "^9.1.2",
|
|
"knex": "2.4.2",
|
|
"ulid": "^2.3.0"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
|
|
"build": "rimraf dist && tsc --build",
|
|
"watch": "tsc --build --watch",
|
|
"test": "jest --silent --bail --maxWorkers=50% --forceExit"
|
|
}
|
|
}
|