* changed validator so that reqiurement shipping_option_id is now optional + added integration test that confirms that when an update contains a requirement without an ID it is created * fix: formatting * fix: un-bump babel-preset-medusa-package * chore: update yarn.lock * fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet * fix: implemented suggested changes, need to validate behaviour on clean branch so NOT ready for merging just yet * afix: made it impossible to set a min. subtotal requirement that is greater than max. subtotal * fix: added explanation to error * fix: Error when removing requirement on update Co-authored-by: olivermrbl <oliver@mrbltech.com>
22 lines
514 B
JSON
22 lines
514 B
JSON
{
|
|
"name": "api",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"test": "jest --runInBand --silent=false",
|
|
"build": "babel src -d dist --extensions \".ts,.js\""
|
|
},
|
|
"dependencies": {
|
|
"@medusajs/medusa": "1.1.36",
|
|
"medusa-interfaces": "1.1.21",
|
|
"typeorm": "^0.2.31"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.12.10",
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/node": "^7.12.10",
|
|
"babel-preset-medusa-package": "1.1.13",
|
|
"jest": "^26.6.3"
|
|
}
|
|
} |