Skip to content

Commit

Permalink
chore(): Add engines to all package.json if needed (medusajs#5812)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p authored Dec 7, 2023
1 parent 1c90610 commit 946db51
Show file tree
Hide file tree
Showing 49 changed files with 145 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/cache-inmemory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/cache-inmemory"
},
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/cache-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"files": [
"dist"
],
Expand Down
3 changes: 3 additions & 0 deletions packages/core-flows/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"files": [
"dist"
],
Expand Down
3 changes: 3 additions & 0 deletions packages/event-bus-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"author": "Medusa",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/event-bus-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"author": "Medusa",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/gatsby-source-medusa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"keywords": [
"gatsby",
"gatsby-plugin",
Expand Down
3 changes: 3 additions & 0 deletions packages/inventory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"author": "Medusa",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/link-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"author": "Medusa",
"license": "MIT",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"dist",
"cli.js"
],
"engines": {
"node": ">=16"
},
"scripts": {
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.2.0",
"description": "Core utils for Medusa",
"main": "dist/index.js",
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-dev-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"watch": "tsc --watch"
},
"engines": {
"node": ">=12.13.0"
"node": ">=16"
},
"gitHead": "41a5425405aea5045a26def95c0dc00cf4a5a44d"
}
3 changes: 3 additions & 0 deletions packages/medusa-file-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-file-minio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-file-minio"
},
"engines": {
"node": ">=16"
},
"author": "Edin Skeja",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-file-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-file-s3"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Mateos Nicolajsen",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-file-spaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-file-spaces"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-fulfillment-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-fulfillment-manual"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-fulfillment-webshipper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-fulfillment-webshipper"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-interfaces"
},
"engines": {
"node": ">=16"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-payment-adyen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-payment-adyen"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-payment-klarna/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-payment-klarna"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-payment-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-payment-manual"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-payment-paypal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"author": "Medusa",
"license": "MIT",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-payment-stripe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"author": "Medusa",
"license": "MIT",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"author": "Medusa",
"license": "MIT",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-brightpearl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-brightpearl"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-contentful"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-discount-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-discount-generator"
},
"engines": {
"node": ">=16"
},
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-economic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-economic"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-ip-lookup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-ip-lookup"
},
"engines": {
"node": ">=16"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-mailchimp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-mailchimp"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl, Tomek Pur",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-meilisearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-meilisearch"
},
"engines": {
"node": ">=16"
},
"files": [
"dist"
],
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-restock-notification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-restock-notification"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom <[email protected]>",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-segment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-segment"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-sendgrid"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-slack-notification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-slack-notification"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-twilio-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-twilio-sms"
},
"engines": {
"node": ">=16"
},
"author": "Oliver Juhl",
"license": "AGPL-3.0-or-later",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-plugin-wishlist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-plugin-wishlist"
},
"engines": {
"node": ">=16"
},
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-source-shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-source-shopify"
},
"engines": {
"node": ">=16"
},
"author": "Kasper Fabrcius Kristensen <[email protected]>",
"license": "MIT",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-telemetry"
},
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/medusa-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/medusajs/medusa",
"directory": "packages/medusa-test-utils"
},
"engines": {
"node": ">=16"
},
"scripts": {
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
Expand Down
Loading

0 comments on commit 946db51

Please sign in to comment.