Skip to content

Commit

Permalink
revert babel packages
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermrbl committed Aug 10, 2023
1 parent aef229a commit 4049c74
Show file tree
Hide file tree
Showing 50 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion packages/cache-inmemory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cache-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-medusa-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dev": "ts-node --esm src/index.ts",
"build": "tsc",
"watch": "tsc --watch",
"prepublishOnly": "tsc --build"
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
},
"dependencies": {
"@medusajs/utils": "^1.9.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/event-bus-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/event-bus-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/generated/client-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist"
],
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "yarn prebuild && tsc --build",
"prebuild": "ts-node ./scripts/build.ts && yarn prettier",
"prettier": "prettier --write --loglevel warn ./src/lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/inventory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch",
"prepublishOnly": "tsc --build"
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
},
"author": "Sebastian Rindom",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"test": "jest",
"build": "rimraf dist && tsc --build",
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"watch": "tsc --watch"
},
"files": [
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 @@ -42,7 +42,7 @@
"directory": "packages/medusa-dev-cli"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests",
"build": "tsc",
"watch": "tsc --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-file-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"typescript": "^4.9.5"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-file-minio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"typescript": "^4.9.5"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-file-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"typescript": "^4.9.5"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
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 @@ -28,7 +28,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-fulfillment-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"prepublishOnly": "tsc --build"
"prepare": "cross-env NODE_ENV=production yarn run build"
},
"peerDependencies": {
"medusa-interfaces": "1.3.7"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-fulfillment-webshipper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"medusa-interfaces": "^1.3.7"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"directory": "packages/medusa-interfaces"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && babel src --out-dir dist --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir dist --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"build": "tsup src/index.ts",
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests"
},
"author": "Oliver Juhl",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-payment-adyen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
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 @@ -28,7 +28,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
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 @@ -28,7 +28,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
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 @@ -14,7 +14,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-payment-stripe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
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 @@ -31,7 +31,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
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 @@ -27,7 +27,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
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 @@ -26,7 +26,7 @@
"medusa-interfaces": "^1.3.7"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-economic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-ip-lookup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"directory": "packages/medusa-plugin-ip-lookup"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-mailchimp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"typescript": "^4.4.4"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-meilisearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-restock-notification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ulid": "^2.3.0"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-segment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-sendgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"typeorm": "^0.3.16"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-slack-notification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-twilio-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-plugin-wishlist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"medusa-test-utils": "^1.1.40"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"scripts": {
"build": "tsup src/index.ts",
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook",
"test": "echo \"Tests disabled temporarily\""
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-source-shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Kasper Fabrcius Kristensen <[email protected]>",
"license": "MIT",
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir . --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir . --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"scripts": {
"start": "nodemon --watch plugins/ --watch src/ --exec babel-node src/app.js",
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"watch": "babel -w src --out-dir dist/ --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'",
"build": "babel src -d dist --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'",
"serve": "node dist/app.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"directory": "packages/medusa-test-utils"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir dist/ --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir dist/ --ignore '**/__tests__','**/__mocks__'"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"serve": "node dist/app.js",
"test": "jest --maxWorkers=50% --detectOpenHandles --forceExit"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"resolve-cwd": "^3.0.0"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest",
"watch": "tsc --build --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/oas/medusa-oas-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"uuid": "^9.0.0"
},
"scripts": {
"prepublishOnly": "tsc --build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "tsc --build",
"medusa-oas": "ts-node src/index.ts",
"test": "NODE_OPTIONS='--unhandled-rejections=strict' jest src"
Expand Down
Loading

0 comments on commit 4049c74

Please sign in to comment.