refactor(medusa-interfaces): Migrate baseService to TS + improve the service it self (#1314)

* refactor(medusa-interfaces): Migrate baseService to TS + improve the service it self

* feat(medusa,medusa-interfaces): Cleanup and move base-service to medusa core

* medusa(medusa, medusa-interfaces): Improve typings

* medusa(medusa, medusa-interfaces): buildQuery make properties optionals

* feat(medusa-interfaces): Revert temporarly the medusa-interfaces while moving the base-service to the medusa core

* feat(medusa): Improve base-service typings

* feat(medusa): Remove template that is not necessary
This commit is contained in:
Adrien de Peretti
2022-04-13 17:42:09 +02:00
committed by GitHub
parent edc6d9d29c
commit 3f19a3c4d5
8 changed files with 23658 additions and 20393 deletions

View File

@@ -9,7 +9,7 @@
"directory": "packages/medusa-interfaces"
},
"scripts": {
"build": "babel src --out-dir dist/ --ignore **/__tests__",
"build": "tsc --build",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir dist/ --ignore **/__tests__",
"test": "jest"
@@ -24,18 +24,23 @@
"@babel/plugin-transform-instanceof": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.5",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime": "^7.9.6",
"cross-env": "^5.2.1",
"eslint": "^6.8.0",
"jest": "^25.5.2",
"prettier": "^1.19.1",
"typeorm": "^0.2.29"
"typeorm": "^0.2.29",
"typescript": "^4.4.4",
"medusa-core-utils": "^1.1.31",
"medusa-test-utils": "^1.1.37"
},
"peerDependencies": {
"typeorm": "0.x"
"typeorm": "0.x",
"medusa-core-utils": "^1.1.31"
},
"dependencies": {
"medusa-core-utils": "^1.1.31"
},
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e"
}