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 6a84961
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 24 deletions.
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-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-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-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
4 changes: 2 additions & 2 deletions packages/product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@mikro-orm/postgresql": "5.7.12",
"awilix": "^8.0.0",
"dotenv": "^16.1.4",
"lodash": "^4.17.21",
"knex": "2.4.2"
"knex": "2.4.2",
"lodash": "^4.17.21"
}
}

0 comments on commit 6a84961

Please sign in to comment.