Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Clean up deps, devDeps, and peerDeps across all packages #4276

Merged
merged 11 commits into from
Jun 14, 2023
32 changes: 32 additions & 0 deletions .changeset/wild-balloons-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
"@medusajs/admin-ui": patch
"@medusajs/admin": patch
"@medusajs/cache-inmemory": patch
"@medusajs/cache-redis": patch
"@medusajs/event-bus-local": patch
"@medusajs/event-bus-redis": patch
"@medusajs/inventory": patch
"@medusajs/medusa-cli": patch
"medusa-file-minio": patch
"medusa-file-s3": patch
"medusa-file-spaces": patch
"medusa-fulfillment-webshipper": patch
"@medusajs/medusa-js": patch
"medusa-payment-klarna": patch
"medusa-payment-manual": patch
"medusa-payment-paypal": patch
"medusa-payment-stripe": patch
"medusa-plugin-algolia": patch
"medusa-plugin-brightpearl": patch
"medusa-plugin-contentful": patch
"medusa-plugin-discount-generator": patch
"medusa-plugin-economic": patch
"medusa-plugin-ip-lookup": patch
"medusa-plugin-mailchimp": patch
"medusa-plugin-meilisearch": patch
"medusa-plugin-restock-notification": patch
"medusa-plugin-segment": patch
"@medusajs/medusa": patch
---

chore: Use caret range
8 changes: 4 additions & 4 deletions integration-tests/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"build": "babel src -d dist --extensions \".ts,.js\""
},
"dependencies": {
"@medusajs/cache-inmemory": "1.8.7",
"@medusajs/event-bus-local": "1.9.4",
"@medusajs/medusa": "1.12.0",
"@medusajs/cache-inmemory": "workspace:*",
"@medusajs/event-bus-local": "workspace:*",
"@medusajs/medusa": "workspace:*",
"faker": "^5.5.3",
"medusa-interfaces": "1.3.7",
"medusa-interfaces": "workspace:*",
"typeorm": "^0.3.16"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions integration-tests/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"build": "babel src -d dist --extensions \".ts,.js\""
},
"dependencies": {
"@medusajs/cache-inmemory": "1.8.7",
"@medusajs/event-bus-local": "1.9.4",
"@medusajs/medusa": "1.12.0",
"@medusajs/cache-inmemory": "workspace:*",
"@medusajs/event-bus-local": "workspace:*",
"@medusajs/medusa": "workspace:*",
"faker": "^5.5.3",
"medusa-fulfillment-webshipper": "1.3.9",
"medusa-interfaces": "1.3.7",
"medusa-plugin-sendgrid": "1.3.9",
"medusa-fulfillment-webshipper": "workspace:*",
"medusa-interfaces": "workspace:*",
"medusa-plugin-sendgrid": "workspace:*",
"typeorm": "^0.3.16"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/repositories/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"test:integration": "jest --silent=false --runInBand --bail --detectOpenHandles --forceExit"
},
"dependencies": {
"@medusajs/medusa": "1.12.0",
"medusa-interfaces": "1.3.7",
"@medusajs/medusa": "workspace:*",
"medusa-interfaces": "workspace:*",
"typeorm": "^0.3.16"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"vite": "^4.1.4"
},
"devDependencies": {
"@medusajs/medusa": "1.12.0",
"@medusajs/types": "1.8.7",
"@medusajs/medusa": "^1.12.0",
"@medusajs/types": "^1.8.7",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
"directory": "packages/admin"
},
"dependencies": {
"@medusajs/admin-ui": "1.8.7",
"@medusajs/admin-ui": "^1.8.7",
"commander": "^10.0.0",
"dotenv": "^16.0.3",
"express": "^4.17.1",
"fs-extra": "^11.1.0",
"medusa-core-utils": "1.2.0",
"medusa-core-utils": "^1.2.0",
"ora": "5.4.0",
"picocolors": "^1.0.0",
"ts-dedent": "^2.2.0"
},
"peerDependencies": {
"@medusajs/medusa": "1.12.0"
"@medusajs/medusa": "^1.12.0"
},
"devDependencies": {
"@types/express": "^4.17.13",
Expand Down
4 changes: 2 additions & 2 deletions packages/cache-inmemory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/types": "1.8.7",
"@medusajs/types": "^1.8.7",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"ts-jest": "^25.5.1",
Expand All @@ -30,6 +30,6 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@medusajs/modules-sdk": "1.8.7"
"@medusajs/modules-sdk": "^1.8.7"
}
}
4 changes: 2 additions & 2 deletions packages/cache-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/types": "1.8.7",
"@medusajs/types": "^1.8.7",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"ts-jest": "^25.5.1",
Expand All @@ -30,7 +30,7 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@medusajs/modules-sdk": "1.8.7",
"@medusajs/modules-sdk": "^1.8.7",
"awilix": "^8.0.0",
"ioredis": "^5.3.1"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/event-bus-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/types": "1.8.7",
"@medusajs/types": "^1.8.7",
"cross-env": "^5.2.1",
"jest": "^25.5.2",
"ts-jest": "^25.5.1",
Expand All @@ -30,7 +30,7 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@medusajs/modules-sdk": "1.8.7",
"@medusajs/utils": "1.9.0"
"@medusajs/modules-sdk": "^1.8.7",
"@medusajs/utils": "^1.9.0"
}
}
6 changes: 3 additions & 3 deletions packages/event-bus-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/types": "1.8.7",
"@medusajs/types": "^1.8.7",
"cross-env": "^5.2.1",
"jest": "^25.5.2",
"medusa-test-utils": "^1.1.40",
Expand All @@ -31,8 +31,8 @@
"test": "jest --passWithNoTests"
},
"dependencies": {
"@medusajs/modules-sdk": "1.8.7",
"@medusajs/utils": "1.9.0",
"@medusajs/modules-sdk": "^1.8.7",
"@medusajs/utils": "^1.9.0",
"awilix": "^8.0.0",
"bullmq": "^3.5.6",
"ioredis": "^5.2.5"
Expand Down
6 changes: 3 additions & 3 deletions packages/inventory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/types": "1.8.7",
"@medusajs/types": "^1.8.7",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
"dependencies": {
"@medusajs/modules-sdk": "1.8.7",
"@medusajs/utils": "1.9.0",
"@medusajs/modules-sdk": "^1.8.7",
"@medusajs/utils": "^1.9.0",
"awilix": "^8.0.0",
"typeorm": "^0.3.16"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/medusa-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"jest": "^25.5.4"
},
"dependencies": {
"@medusajs/utils": "1.9.0",
"@medusajs/utils": "^1.9.0",
"axios": "^0.21.4",
"chalk": "^4.0.0",
"configstore": "5.0.1",
Expand All @@ -50,7 +50,7 @@
"is-valid-path": "^0.1.1",
"meant": "^1.0.3",
"medusa-core-utils": "^1.2.0",
"medusa-telemetry": "0.0.16",
"medusa-telemetry": "^0.0.16",
"open": "^8.0.6",
"ora": "^5.4.1",
"pg-god": "^1.0.12",
Expand Down
4 changes: 2 additions & 2 deletions packages/medusa-file-minio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Edin Skeja",
"license": "MIT",
"devDependencies": {
"@medusajs/medusa": "1.12.0",
"@medusajs/medusa": "^1.12.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"typescript": "^4.9.5"
Expand All @@ -26,7 +26,7 @@
"watch": "tsc --watch"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"aws-sdk": "^2.983.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/medusa-file-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Sebastian Mateos Nicolajsen",
"license": "MIT",
"devDependencies": {
"@medusajs/medusa": "1.12.0",
"@medusajs/medusa": "^1.12.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"medusa-interfaces": "^1.3.7",
Expand All @@ -28,7 +28,7 @@
"watch": "tsc --watch"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"aws-sdk": "^2.983.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-file-spaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"@babel/plugin-transform-classes": "^7.9.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/medusa-fulfillment-webshipper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.5",
"@babel/runtime": "^7.9.6",
"@medusajs/medusa": "1.12.0",
"@medusajs/medusa": "^1.12.0",
"client-sessions": "^0.8.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
Expand All @@ -31,7 +31,7 @@
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"axios": "^0.20.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/medusa-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"uuid": "^9.0.0"
},
"peerDependencies": {
"@medusajs/medusa": "1.12.0"
"@medusajs/medusa": "^1.12.0"
},
"repository": {
"type": "git",
Expand All @@ -43,7 +43,7 @@
"url": "https://github.com/medusajs/medusa/issues"
},
"devDependencies": {
"@medusajs/medusa": "1.12.0",
"@medusajs/medusa": "^1.12.0",
"@types/uuid": "^9.0.0",
"cross-env": "^7.0.3",
"jest": "^27.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-payment-klarna/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"@babel/plugin-transform-classes": "^7.9.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-payment-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-payment-paypal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"watch": "tsc --watch"
},
"devDependencies": {
"@medusajs/medusa": "1.12.0",
"@medusajs/medusa": "^1.12.0",
"@types/stripe": "^8.0.417",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/medusa-payment-stripe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"watch": "tsc --watch"
},
"devDependencies": {
"@medusajs/medusa": "1.12.0",
"@medusajs/medusa": "^1.12.0",
"@types/stripe": "^8.0.417",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"typescript": "^4.9.5"
},
"peerDependencies": {
"@medusajs/medusa": "1.12.0"
"@medusajs/medusa": "^1.12.0"
},
"dependencies": {
"body-parser": "^1.19.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/medusa-plugin-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"watch": "tsc --watch"
},
"dependencies": {
"@medusajs/modules-sdk": "1.8.7",
"@medusajs/utils": "1.9.0",
"@medusajs/modules-sdk": "^1.8.7",
"@medusajs/utils": "^1.9.0",
"algoliasearch": "^4.15.0"
},
"devDependencies": {
"@medusajs/types": "1.8.7",
"@medusajs/types": "^1.8.7",
"client-sessions": "^0.8.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-brightpearl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"axios": "^0.19.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"@babel/plugin-transform-classes": "^7.9.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-discount-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
"medusa-interfaces": "^1.3.7"
},
"dependencies": {
"body-parser": "^1.19.0",
Expand Down
Loading