Skip to content

Commit

Permalink
fix: Medusa package version should use ~ instead of ^ (medusajs#11077)
Browse files Browse the repository at this point in the history
RESOLVES FRMW-2859
  • Loading branch information
adrien2p authored Jan 22, 2025
1 parent 91112b4 commit 9321920
Show file tree
Hide file tree
Showing 67 changed files with 452 additions and 440 deletions.
2 changes: 1 addition & 1 deletion packages/admin/admin-bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"package.json"
],
"devDependencies": {
"@medusajs/types": "^2.3.1",
"@medusajs/types": "~2.3.1",
"@types/compression": "^1.7.5",
"copyfiles": "^2.4.1",
"express": "^4.21.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/admin-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"zod": "^3.22"
},
"dependencies": {
"@medusajs/admin-shared": "^2.3.1"
"@medusajs/admin-shared": "~2.3.1"
},
"peerDependencies": {
"zod": "^3.22"
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"zod": "3.22.4"
},
"devDependencies": {
"@medusajs/admin-shared": "^2.3.1",
"@medusajs/admin-shared": "~2.3.1",
"@medusajs/admin-vite-plugin": "2.3.1",
"@medusajs/types": "2.3.1",
"@medusajs/ui-preset": "2.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/create-medusa-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"watch": "tsc --watch"
},
"dependencies": {
"@medusajs/telemetry": "^2.3.1",
"@medusajs/telemetry": "~2.3.1",
"boxen": "^5",
"chalk": "^5.2.0",
"commander": "^10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/medusa-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@medusajs/telemetry": "^2.3.1",
"@medusajs/telemetry": "~2.3.1",
"@medusajs/utils": "2.3.1",
"@types/express": "^4.17.17",
"chalk": "^4.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/oas/medusa-oas-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/types": "^2.3.1",
"@medusajs/types": "~2.3.1",
"@types/js-yaml": "^4.0.9",
"jest": "^29.1.0",
"js-yaml": "^4.1.0",
Expand All @@ -35,8 +35,8 @@
"medusa-oas": "ts-node src/index.ts"
},
"dependencies": {
"@medusajs/medusa": "^2.3.1",
"@medusajs/utils": "^2.3.1",
"@medusajs/medusa": "~2.3.1",
"@medusajs/utils": "~2.3.1",
"@readme/json-schema-ref-parser": "^1.2.0",
"@readme/openapi-parser": "^2.4.0",
"@redocly/cli": "^1.7.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/core-flows/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/framework": "^2.3.1",
"@medusajs/framework": "~2.3.1",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/knex": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
Expand All @@ -44,7 +44,7 @@
"json-2-csv": "^5.5.4"
},
"peerDependencies": {
"@medusajs/framework": "^2.0.0",
"@medusajs/framework": "~2.0.0",
"awilix": "^8.0.1"
},
"scripts": {
Expand Down
16 changes: 8 additions & 8 deletions packages/core/framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts"
},
"devDependencies": {
"@medusajs/cli": "^2.3.1",
"@medusajs/cli": "~2.3.1",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/knex": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
Expand All @@ -74,12 +74,12 @@
},
"dependencies": {
"@jercle/yargonaut": "^1.1.5",
"@medusajs/modules-sdk": "^2.3.1",
"@medusajs/orchestration": "^2.3.1",
"@medusajs/telemetry": "^2.3.1",
"@medusajs/types": "^2.3.1",
"@medusajs/utils": "^2.3.1",
"@medusajs/workflows-sdk": "^2.3.1",
"@medusajs/modules-sdk": "~2.3.1",
"@medusajs/orchestration": "~2.3.1",
"@medusajs/telemetry": "~2.3.1",
"@medusajs/types": "~2.3.1",
"@medusajs/utils": "~2.3.1",
"@medusajs/workflows-sdk": "~2.3.1",
"@opentelemetry/api": "^1.9.0",
"@types/express": "^4.17.17",
"compression": "1.7.4",
Expand All @@ -96,7 +96,7 @@
"zod": "3.22.4"
},
"peerDependencies": {
"@medusajs/cli": "^2.0.0",
"@medusajs/cli": "~2.0.0",
"@mikro-orm/cli": "6.4.3",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/knex": "6.4.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/js-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@medusajs/types": "^2.3.1",
"@medusajs/types": "~2.3.1",
"fetch-event-stream": "^0.1.5",
"qs": "^6.12.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/core/modules-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@medusajs/orchestration": "^2.3.1",
"@medusajs/types": "^2.3.1",
"@medusajs/utils": "^2.3.1"
"@medusajs/orchestration": "~2.3.1",
"@medusajs/types": "~2.3.1",
"@medusajs/utils": "~2.3.1"
},
"peerDependencies": {
"@mikro-orm/core": "6.4.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/orchestration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@medusajs/types": "^2.3.1",
"@medusajs/utils": "^2.3.1"
"@medusajs/types": "~2.3.1",
"@medusajs/utils": "~2.3.1"
},
"peerDependencies": {
"@mikro-orm/core": "6.4.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@graphql-codegen/typescript": "^4.0.9",
"@graphql-tools/merge": "^9.0.7",
"@graphql-tools/schema": "^10.0.6",
"@medusajs/types": "^2.3.1",
"@medusajs/types": "~2.3.1",
"@types/pluralize": "^0.0.33",
"bignumber.js": "^9.1.2",
"dotenv": "^16.4.5",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/workflows-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@medusajs/modules-sdk": "^2.3.1",
"@medusajs/orchestration": "^2.3.1",
"@medusajs/types": "^2.3.1",
"@medusajs/utils": "^2.3.1",
"@medusajs/modules-sdk": "~2.3.1",
"@medusajs/orchestration": "~2.3.1",
"@medusajs/types": "~2.3.1",
"@medusajs/utils": "~2.3.1",
"ulid": "^2.3.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"@atomico/rollup-plugin-sizes": "^1.1.4",
"@medusajs/toolbox": "^2.3.1",
"@medusajs/toolbox": "~2.3.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@testing-library/dom": "^9.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/ui-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"tailwindcss": ">=3.0.0"
},
"devDependencies": {
"@medusajs/toolbox": "^2.3.1",
"@medusajs/toolbox": "~2.3.1",
"tailwindcss": "^3.4.1",
"tsup": "^7.1.0",
"typescript": "^5.1.6"
Expand Down
4 changes: 2 additions & 2 deletions packages/design-system/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"devDependencies": {
"@faker-js/faker": "^9.2.0",
"@medusajs/ui-preset": "^2.2.0",
"@medusajs/ui-preset": "~2.2.0",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-interactions": "^8.3.5",
"@storybook/addon-links": "^8.3.5",
Expand Down Expand Up @@ -81,7 +81,7 @@
"vitest": "^0.32.2"
},
"dependencies": {
"@medusajs/icons": "^2.3.0",
"@medusajs/icons": "~2.3.0",
"@radix-ui/react-accordion": "1.2.0",
"@radix-ui/react-alert-dialog": "1.1.1",
"@radix-ui/react-avatar": "1.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/medusa-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"author": "Medusa",
"license": "MIT",
"devDependencies": {
"@medusajs/framework": "^2.3.1",
"@medusajs/framework": "~2.3.1",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/knex": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
Expand All @@ -45,8 +45,8 @@
"randomatic": "^3.1.1"
},
"peerDependencies": {
"@medusajs/framework": "^2.0.0",
"@medusajs/medusa": "^2.0.0",
"@medusajs/framework": "~2.0.0",
"@medusajs/medusa": "~2.0.0",
"@mikro-orm/postgresql": "6.4.3",
"awilix": "^8.0.1"
},
Expand Down
90 changes: 45 additions & 45 deletions packages/medusa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"test:integration": "jest --forceExit -- src/**/integration-tests/**/__tests__/**/*.ts"
},
"devDependencies": {
"@medusajs/framework": "^2.3.1",
"@medusajs/framework": "~2.3.1",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/instrumentation": "^0.53.0",
"@opentelemetry/instrumentation-pg": "^0.44.0",
Expand All @@ -64,49 +64,49 @@
"dependencies": {
"@inquirer/checkbox": "^2.3.11",
"@inquirer/input": "^2.2.9",
"@medusajs/admin-bundler": "^2.3.1",
"@medusajs/api-key": "^2.3.1",
"@medusajs/auth": "^2.3.1",
"@medusajs/auth-emailpass": "^2.3.1",
"@medusajs/auth-github": "^2.3.1",
"@medusajs/auth-google": "^2.3.1",
"@medusajs/cache-inmemory": "^2.3.1",
"@medusajs/cache-redis": "^2.3.1",
"@medusajs/cart": "^2.3.1",
"@medusajs/core-flows": "^2.3.1",
"@medusajs/currency": "^2.3.1",
"@medusajs/customer": "^2.3.1",
"@medusajs/event-bus-local": "^2.3.1",
"@medusajs/event-bus-redis": "^2.3.1",
"@medusajs/file": "^2.3.1",
"@medusajs/file-local": "^2.3.1",
"@medusajs/file-s3": "^2.3.1",
"@medusajs/fulfillment": "^2.3.1",
"@medusajs/fulfillment-manual": "^2.3.1",
"@medusajs/index": "^2.3.1",
"@medusajs/inventory": "^2.3.1",
"@medusajs/link-modules": "^2.3.1",
"@medusajs/locking": "^2.3.1",
"@medusajs/locking-postgres": "^2.3.1",
"@medusajs/locking-redis": "^2.3.1",
"@medusajs/notification": "^2.3.1",
"@medusajs/notification-local": "^2.3.1",
"@medusajs/notification-sendgrid": "^2.3.1",
"@medusajs/order": "^2.3.1",
"@medusajs/payment": "^2.3.1",
"@medusajs/payment-stripe": "^2.3.1",
"@medusajs/pricing": "^2.3.1",
"@medusajs/product": "^2.3.1",
"@medusajs/promotion": "^2.3.1",
"@medusajs/region": "^2.3.1",
"@medusajs/sales-channel": "^2.3.1",
"@medusajs/stock-location": "^2.3.1",
"@medusajs/store": "^2.3.1",
"@medusajs/tax": "^2.3.1",
"@medusajs/telemetry": "^2.3.1",
"@medusajs/user": "^2.3.1",
"@medusajs/workflow-engine-inmemory": "^2.3.1",
"@medusajs/workflow-engine-redis": "^2.3.1",
"@medusajs/admin-bundler": "~2.3.1",
"@medusajs/api-key": "~2.3.1",
"@medusajs/auth": "~2.3.1",
"@medusajs/auth-emailpass": "~2.3.1",
"@medusajs/auth-github": "~2.3.1",
"@medusajs/auth-google": "~2.3.1",
"@medusajs/cache-inmemory": "~2.3.1",
"@medusajs/cache-redis": "~2.3.1",
"@medusajs/cart": "~2.3.1",
"@medusajs/core-flows": "~2.3.1",
"@medusajs/currency": "~2.3.1",
"@medusajs/customer": "~2.3.1",
"@medusajs/event-bus-local": "~2.3.1",
"@medusajs/event-bus-redis": "~2.3.1",
"@medusajs/file": "~2.3.1",
"@medusajs/file-local": "~2.3.1",
"@medusajs/file-s3": "~2.3.1",
"@medusajs/fulfillment": "~2.3.1",
"@medusajs/fulfillment-manual": "~2.3.1",
"@medusajs/index": "~2.3.1",
"@medusajs/inventory": "~2.3.1",
"@medusajs/link-modules": "~2.3.1",
"@medusajs/locking": "~2.3.1",
"@medusajs/locking-postgres": "~2.3.1",
"@medusajs/locking-redis": "~2.3.1",
"@medusajs/notification": "~2.3.1",
"@medusajs/notification-local": "~2.3.1",
"@medusajs/notification-sendgrid": "~2.3.1",
"@medusajs/order": "~2.3.1",
"@medusajs/payment": "~2.3.1",
"@medusajs/payment-stripe": "~2.3.1",
"@medusajs/pricing": "~2.3.1",
"@medusajs/product": "~2.3.1",
"@medusajs/promotion": "~2.3.1",
"@medusajs/region": "~2.3.1",
"@medusajs/sales-channel": "~2.3.1",
"@medusajs/stock-location": "~2.3.1",
"@medusajs/store": "~2.3.1",
"@medusajs/tax": "~2.3.1",
"@medusajs/telemetry": "~2.3.1",
"@medusajs/user": "~2.3.1",
"@medusajs/workflow-engine-inmemory": "~2.3.1",
"@medusajs/workflow-engine-redis": "~2.3.1",
"@swc/core": "1.5.7",
"@swc/helpers": "^0.5.11",
"@types/express": "^4.17.17",
Expand All @@ -127,7 +127,7 @@
"zod": "3.22.4"
},
"peerDependencies": {
"@medusajs/framework": "^2.0.0",
"@medusajs/framework": "~2.0.0",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/knex": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/modules/api-key/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"orm:cache:clear": " MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts medusa-mikro-orm cache:clear"
},
"devDependencies": {
"@medusajs/framework": "^2.3.1",
"@medusajs/test-utils": "^2.3.1",
"@medusajs/framework": "~2.3.1",
"@medusajs/test-utils": "~2.3.1",
"@mikro-orm/cli": "6.4.3",
"@swc/core": "^1.7.28",
"@swc/jest": "^0.2.36",
Expand All @@ -47,7 +47,7 @@
"typescript": "^5.6.2"
},
"peerDependencies": {
"@medusajs/framework": "^2.0.0",
"@medusajs/framework": "~2.0.0",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
"@mikro-orm/postgresql": "6.4.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/modules/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"orm:cache:clear": " MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts medusa-mikro-orm cache:clear"
},
"devDependencies": {
"@medusajs/framework": "^2.3.1",
"@medusajs/test-utils": "^2.3.1",
"@medusajs/framework": "~2.3.1",
"@medusajs/test-utils": "~2.3.1",
"@mikro-orm/cli": "6.4.3",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
Expand All @@ -50,7 +50,7 @@
"typescript": "^5.6.2"
},
"peerDependencies": {
"@medusajs/framework": "^2.0.0",
"@medusajs/framework": "~2.0.0",
"@mikro-orm/core": "6.4.3",
"@mikro-orm/migrations": "6.4.3",
"@mikro-orm/postgresql": "6.4.3",
Expand Down
Loading

0 comments on commit 9321920

Please sign in to comment.