Skip to content

Commit

Permalink
[Fix] Update Repository Directory Paths for All Packages (#10910)
Browse files Browse the repository at this point in the history
This PR updates the `repository.directory` field in the `package.json` files for packages located within the `modules` folder.
  • Loading branch information
rahul-rocket authored Jan 13, 2025
1 parent 2a9ca1d commit ecf7378
Show file tree
Hide file tree
Showing 45 changed files with 47 additions and 44 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ dist/**
.vscode

**/tsconfig.tsbuildinfo

# Cache File
/packages/**/.cache
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 @@ -58,7 +58,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa.git",
"directory": "packages/create-medusa-app"
"directory": "packages/cli/create-medusa-app"
},
"author": "Medusa",
"publishConfig": {
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 @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-cli"
"directory": "packages/cli/medusa-cli"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/medusa-dev-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa.git",
"directory": "packages/medusa-dev-cli"
"directory": "packages/cli/medusa-dev-cli"
},
"scripts": {
"test": "jest --passWithNoTests -- src",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/oas/medusa-oas-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/oas/medusa-oas-cli"
"directory": "packages/cli/oas/medusa-oas-cli"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/oas/oas-github-ci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/oas/oas-github-ci"
"directory": "packages/cli/oas/oas-github-ci"
},
"private": true,
"author": "Medusa",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/modules-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/modules-sdk"
"directory": "packages/core/modules-sdk"
},
"engines": {
"node": ">=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/orchestration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/orchestration"
"directory": "packages/core/orchestration"
},
"engines": {
"node": ">=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/types"
"directory": "packages/core/types"
},
"engines": {
"node": ">=20"
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 @@ -9,7 +9,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/utils"
"directory": "packages/core/utils"
},
"engines": {
"node": ">=20.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/workflows-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/workflows"
"directory": "packages/core/workflows-sdk"
},
"engines": {
"node": ">=20.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/api-key/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/api-key"
"directory": "packages/modules/api-key"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/auth"
"directory": "packages/modules/auth"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/cache-inmemory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/cache-inmemory"
"directory": "packages/modules/cache-inmemory"
},
"engines": {
"node": ">=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/cache-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/cache-redis"
"directory": "packages/modules/cache-redis"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/cart"
"directory": "packages/modules/cart"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/currency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/currency"
"directory": "packages/modules/currency"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/customer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/customer"
"directory": "packages/modules/customer"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/event-bus-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/event-bus-local"
"directory": "packages/modules/event-bus-local"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/event-bus-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/event-bus-redis"
"directory": "packages/modules/event-bus-redis"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/file"
"directory": "packages/modules/file"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/fulfillment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/fulfillment"
"directory": "packages/modules/fulfillment"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/index"
"directory": "packages/modules/index"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/inventory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/inventory"
"directory": "packages/modules/inventory"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/link-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/link-modules"
"directory": "packages/modules/link-modules"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/locking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/locking"
"directory": "packages/modules/locking"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/order/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/order"
"directory": "packages/modules/order"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/payment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/payment"
"directory": "packages/modules/payment"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/pricing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/pricing"
"directory": "packages/modules/pricing"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/product"
"directory": "packages/modules/product"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/promotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/promotion"
"directory": "packages/modules/promotion"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/providers/file-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/file-local"
"directory": "packages/modules/providers/file-local"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/providers/file-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/file-local"
"directory": "packages/modules/providers/file-s3"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/providers/fulfillment-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/fulfillment-manual"
"directory": "packages/modules/providers/fulfillment-manual"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/providers/locking-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/locking-postgres"
"directory": "packages/modules/providers/locking-postgres"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/providers/locking-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/locking-redis"
"directory": "packages/modules/providers/locking-redis"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/providers/payment-stripe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/payment-stripe"
"directory": "packages/modules/providers/payment-stripe"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/region/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/region"
"directory": "packages/modules/region"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/sales-channel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/sales-channel"
"directory": "packages/modules/sales-channel"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/stock-location/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/stock-location"
"directory": "packages/modules/stock-location"
},
"engines": {
"node": ">=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/store"
"directory": "packages/modules/store"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/tax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/tax"
"directory": "packages/modules/tax"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/user"
"directory": "packages/modules/user"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/workflow-engine-inmemory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/workflow-engine-inmemory"
"directory": "packages/modules/workflow-engine-inmemory"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit ecf7378

Please sign in to comment.