* feat: add tax calculation strategy (#885) * feat: add tax calculation strategy * fix: adds strategy loader * fix: eslint ignore * chore: cleanup * fix: allow plugin overwrites * fix: allow plugin overwrites * fix: fake region * Update packages/medusa/src/loaders/strategies.ts Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com> * feat: adds tax related db entities + tax provider (#896) * feat: adds tax related db entities + tax provider * fix: add tax provider tests * fix: add tax service unit tests * fix: tests + migrations * fix: add inherited tax lines * chore: rm tax-line repo * fix: test * fix: pr comments * fix: unit test * feat: totals service to ts (#911) * feat: adds tax related db entities + tax provider * fix: add tax provider tests * fix: add tax service unit tests * fix: tests + migrations * feat: totals service to ts * fix: remove totals.js * fix: add shipping methods * fix: add inherited tax lines * chore: rm tax-line repo * fix: test * fix: tests * fix: tests * fix: unit test * fix: adds TotalsServiceProps * feat: adds integration tests for automatic tax calculation + shipping tax rates (#945) * feat: adds tax related db entities + tax provider * fix: add tax provider tests * fix: add tax service unit tests * fix: tests + migrations * feat: totals service to ts * fix: remove totals.js * fix: add shipping methods * fix: add inherited tax lines * chore: rm tax-line repo * fix: test * fix: tests * fix: tests * fix: unit test * fix: integration test helpers * fix: adds factories + tests automatic tax rates * fix: remove verbose * fix: adds TotalsServiceProps * fix: add shipping tax lines * fix: add migration for shipping taxes * fix: integration tests for shipping taxes * fix: integration tests for shipping taxes * fix: jsdoc types * Feat/manual taxes (#950) * feat: adds tax related db entities + tax provider * fix: add tax provider tests * fix: add tax service unit tests * fix: tests + migrations * feat: totals service to ts * fix: remove totals.js * fix: add shipping methods * fix: add inherited tax lines * chore: rm tax-line repo * fix: test * fix: tests * fix: tests * fix: unit test * fix: integration test helpers * fix: adds factories + tests automatic tax rates * fix: remove verbose * fix: adds TotalsServiceProps * fix: add shipping tax lines * fix: add migration for shipping taxes * fix: integration tests for shipping taxes * fix: integration tests for shipping taxes * fix: add integration tests for manual taxes * fix: cart service - cleanup jsdoc * feat: add /carts/id/taxes to manually calculate taxes * feat: add integration tests for order tax calculations * fix: unit tests * fix: merge * fix: rm verbose * fix: unit tests * fix: object -> cartOrOrder * fix: rounding * Feat/complete order w tax lines (#951) * feat: adds tax related db entities + tax provider * fix: add tax provider tests * fix: add tax service unit tests * fix: tests + migrations * feat: totals service to ts * fix: remove totals.js * fix: add shipping methods * fix: add inherited tax lines * chore: rm tax-line repo * fix: test * fix: tests * fix: tests * fix: unit test * fix: integration test helpers * fix: adds factories + tests automatic tax rates * fix: remove verbose * fix: adds TotalsServiceProps * fix: add shipping tax lines * fix: add migration for shipping taxes * fix: integration tests for shipping taxes * fix: integration tests for shipping taxes * fix: add integration tests for manual taxes * fix: cart service - cleanup jsdoc * feat: add /carts/id/taxes to manually calculate taxes * feat: add integration tests for order tax calculations * feat: adds cart completion strategy + create order w. tax lines * fix: unit tests * fix: merge * fix: rm verbose * fix: unit tests * fix: unit tests * fix: unit tests * fix: ensure calculation for list orders * fix: unit tests * fix: integration tests * fix: adds cart order type gaurds * Docs/tax api (#954) * feat: adds tax related db entities + tax provider * fix: add tax provider tests * fix: add tax service unit tests * fix: tests + migrations * feat: totals service to ts * fix: remove totals.js * fix: add shipping methods * fix: add inherited tax lines * chore: rm tax-line repo * fix: test * fix: tests * fix: tests * fix: unit test * fix: integration test helpers * fix: adds factories + tests automatic tax rates * fix: remove verbose * fix: adds TotalsServiceProps * fix: add shipping tax lines * fix: add migration for shipping taxes * fix: integration tests for shipping taxes * fix: integration tests for shipping taxes * fix: add integration tests for manual taxes * fix: cart service - cleanup jsdoc * feat: add /carts/id/taxes to manually calculate taxes * feat: add integration tests for order tax calculations * feat: adds cart completion strategy + create order w. tax lines * fix: unit tests * fix: merge * fix: rm verbose * fix: unit tests * fix: unit tests * fix: unit tests * fix: ensure calculation for list orders * fix: unit tests * fix: integration tests * docs: documents tax related methods and types * fix: require either item_id or shipping_method_id * feat: product type tax rate (#969) * feat: adds tax related db entities + tax provider * fix: add tax provider tests * fix: add tax service unit tests * fix: tests + migrations * feat: totals service to ts * fix: remove totals.js * fix: add shipping methods * fix: add inherited tax lines * chore: rm tax-line repo * fix: test * fix: tests * fix: tests * fix: unit test * fix: integration test helpers * fix: adds factories + tests automatic tax rates * fix: remove verbose * fix: adds TotalsServiceProps * fix: add shipping tax lines * fix: add migration for shipping taxes * fix: integration tests for shipping taxes * fix: integration tests for shipping taxes * fix: add integration tests for manual taxes * fix: cart service - cleanup jsdoc * feat: add /carts/id/taxes to manually calculate taxes * feat: add integration tests for order tax calculations * feat: adds cart completion strategy + create order w. tax lines * fix: unit tests * fix: merge * fix: rm verbose * fix: unit tests * fix: unit tests * fix: unit tests * fix: ensure calculation for list orders * fix: unit tests * fix: integration tests * docs: documents tax related methods and types * fix: require either item_id or shipping_method_id * feat: adds returns tests for new tax system * feat: adds return lines + integration tests for swaps * feat: return integration tests * feat: adds product type tax rates * feat: add tax management endpoints * fix: create single migration * fix: adds tax rates to js client * fix: strats * Fix/plugin tests (#998) * plugin testing setup * fix: test sendgrid plugin * fix: test sendgrid plugin * chore: clean * chore: clean * fix: clean up tests * fix: remove dirty import * fix: sendgrid + brightpearl * fix: plugin integration tests * fix: klarna * fix: shipping method tax * fix: remove taxrates * fix: unit tests * fix: integration * fix: integration * fix: plugins tests * fix: ignore plugins * fix: tests * fix: taxes (#1017) * fix: taxes * fix: taxes * fix: faulty ref * fix: create tax-lines with claim items * fix: snapshot tax-liens * fix: allows integration test teardown to force deleting tables * fix: tests * fix: merge * fix: adds tax-rates to client * fix: adds tax-rates to medusa-react * fix: tests * fix: tests * fix: add product types * fix: adds tax provider endpoint + cascaded deletes on tax rate relations * fix: move errors to service layer * fix: cleanup api * fix: unit tests * fix: error handler in base-service * fix: Add order region to swap on createFulfillment (#1110) Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
98 lines
2.6 KiB
JSON
98 lines
2.6 KiB
JSON
{
|
|
"name": "@medusajs/medusa",
|
|
"version": "1.1.64",
|
|
"description": "E-commerce for JAMstack",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"medusa": "./cli.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/medusa"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"author": "Sebastian Rindom",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.14.3",
|
|
"@babel/core": "^7.14.3",
|
|
"@babel/preset-typescript": "^7.13.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/jsonwebtoken": "^8.5.5",
|
|
"babel-preset-medusa-package": "^1.1.19",
|
|
"cross-env": "^5.2.1",
|
|
"eslint": "^7.32.0",
|
|
"jest": "^25.5.2",
|
|
"medusa-interfaces": "^1.1.34",
|
|
"nodemon": "^2.0.1",
|
|
"prettier": "^1.19.1",
|
|
"sqlite3": "^5.0.2",
|
|
"supertest": "^4.0.2",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"scripts": {
|
|
"start": "nodemon --watch plugins/ --watch src/ --exec babel-node src/app.js",
|
|
"watch": "tsc --build --watch",
|
|
"prepare": "cross-env NODE_ENV=production npm run build",
|
|
"build": "tsc --build",
|
|
"serve": "node dist/app.js",
|
|
"test": "jest",
|
|
"test:unit": "jest"
|
|
},
|
|
"peerDependencies": {
|
|
"medusa-interfaces": "1.x",
|
|
"typeorm": "0.2.x"
|
|
},
|
|
"dependencies": {
|
|
"@hapi/joi": "^16.1.8",
|
|
"@medusajs/medusa-cli": "^1.1.27",
|
|
"@types/lodash": "^4.14.168",
|
|
"awilix": "^4.2.3",
|
|
"body-parser": "^1.19.0",
|
|
"bull": "^3.12.1",
|
|
"chokidar": "^3.4.2",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.13.1",
|
|
"connect-redis": "^5.0.0",
|
|
"cookie-parser": "^1.4.4",
|
|
"core-js": "^3.6.5",
|
|
"cors": "^2.8.5",
|
|
"cross-spawn": "^7.0.3",
|
|
"dotenv": "^8.2.0",
|
|
"express": "^4.17.1",
|
|
"express-session": "^1.17.1",
|
|
"fs-exists-cached": "^1.0.0",
|
|
"glob": "^7.1.6",
|
|
"ioredis": "^4.17.3",
|
|
"ioredis-mock": "^5.6.0",
|
|
"iso8601-duration": "^1.3.0",
|
|
"joi": "^17.3.0",
|
|
"joi-objectid": "^3.0.1",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"medusa-core-utils": "^1.1.31",
|
|
"medusa-test-utils": "^1.1.37",
|
|
"morgan": "^1.9.1",
|
|
"multer": "^1.4.2",
|
|
"passport": "^0.4.0",
|
|
"passport-http-bearer": "^1.0.1",
|
|
"passport-jwt": "^4.0.0",
|
|
"passport-local": "^1.0.0",
|
|
"pg": "^8.5.1",
|
|
"randomatic": "^3.1.1",
|
|
"redis": "^3.0.2",
|
|
"reflect-metadata": "^0.1.13",
|
|
"request-ip": "^2.1.3",
|
|
"resolve-cwd": "^3.0.0",
|
|
"scrypt-kdf": "^2.0.1",
|
|
"sqlite3": "^5.0.2",
|
|
"ulid": "^2.3.0",
|
|
"uuid": "^8.3.1",
|
|
"winston": "^3.2.1"
|
|
},
|
|
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e"
|
|
}
|