**What** Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate. This pr also includes various fixes in different modules Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
62 lines
2.0 KiB
JSON
62 lines
2.0 KiB
JSON
{
|
|
"name": "@medusajs/user",
|
|
"version": "0.0.3",
|
|
"description": "Medusa Users module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/user"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"author": "Medusa",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"watch": "tsc --build --watch",
|
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
|
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
|
|
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
|
|
"test": "jest --runInBand --passWithNoTests --bail --forceExit -- src",
|
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
|
"migration:generate": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:generate",
|
|
"migration:initial": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:create --initial",
|
|
"migration:create": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:create",
|
|
"migration:up": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:up",
|
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
|
|
},
|
|
"devDependencies": {
|
|
"@medusajs/types": "^1.11.15",
|
|
"@mikro-orm/cli": "5.9.7",
|
|
"@swc/core": "^1.5.29",
|
|
"@swc/jest": "^0.2.36",
|
|
"cross-env": "^5.2.1",
|
|
"jest": "^29.7.0",
|
|
"medusa-test-utils": "^1.1.43",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-node": "^10.9.1",
|
|
"tsc-alias": "^1.8.6",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"dependencies": {
|
|
"@medusajs/modules-sdk": "^1.12.10",
|
|
"@medusajs/utils": "^1.11.8",
|
|
"@mikro-orm/core": "5.9.7",
|
|
"@mikro-orm/migrations": "5.9.7",
|
|
"@mikro-orm/postgresql": "5.9.7",
|
|
"awilix": "^8.0.0",
|
|
"dotenv": "^16.4.5",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"knex": "2.4.2"
|
|
}
|
|
}
|