refactor(modules-sdk): Align configuration and fixes (#9239)

* refactor(modules-sdk): Align configuration and fixes

* typo

* fix configuration
This commit is contained in:
Adrien de Peretti
2024-09-23 12:12:26 +02:00
committed by GitHub
parent d0f1028820
commit 919d19095a
10 changed files with 88 additions and 42 deletions
+14 -8
View File
@@ -3,28 +3,39 @@
"version": "1.12.11",
"description": "SDK for medusa modules",
"main": "dist/index.js",
"export": {
".": "./dist/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/modules-sdk"
},
"engines": {
"node": ">=16"
"node": ">=20"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
"dist",
"!dist/**/__tests__",
"!dist/**/__fixtures__",
"!dist/**/__mocks__"
],
"author": "Medusa",
"license": "MIT",
"scripts": {
"build": "rimraf dist && tsc --build",
"test": "jest --runInBand --bail --forceExit",
"watch": "tsc --build --watch"
},
"devDependencies": {
"@medusajs/types": "^1.11.16",
"cross-env": "^5.2.1",
"jest": "^29.7.0",
"rimraf": "^5.0.1",
"typescript": "^5.1.6"
"typescript": "^5.6.2"
},
"dependencies": {
"@graphql-codegen/cli": "^5.0.2",
@@ -39,10 +50,5 @@
"peerDependencies": {
"@mikro-orm/core": "5.9.7",
"awilix": "^8.0.1"
},
"scripts": {
"build": "rimraf dist && tsc --build",
"test": "jest --runInBand --bail --forceExit",
"watch": "tsc --build --watch"
}
}