chore: include rimraf as part of the build for most of the packages (#4615)

* chore: include rimraf as part of the build for most of the packages

* cleanup

* revert medusa interface

* missing script update
This commit is contained in:
Adrien de Peretti
2023-07-31 09:23:27 +02:00
committed by GitHub
parent c8ef0c6d25
commit 58d4c230e2
23 changed files with 64 additions and 22 deletions
+2 -1
View File
@@ -20,13 +20,14 @@
"@medusajs/types": "^1.8.8",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
"dependencies": {
+2 -1
View File
@@ -20,13 +20,14 @@
"@medusajs/types": "^1.8.8",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
"dependencies": {
+2 -1
View File
@@ -20,13 +20,14 @@
"@medusajs/types": "^1.8.10",
"cross-env": "^5.2.1",
"jest": "^25.5.2",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
"dependencies": {
+2 -1
View File
@@ -21,13 +21,14 @@
"cross-env": "^5.2.1",
"jest": "^25.5.2",
"medusa-test-utils": "^1.1.40",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
"dependencies": {
+2 -1
View File
@@ -20,6 +20,7 @@
"@medusajs/types": "^1.8.11",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
@@ -32,7 +33,7 @@
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
}
}
+2 -1
View File
@@ -20,7 +20,7 @@
],
"scripts": {
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch",
"prepare": "cross-env NODE_ENV=production yarn run build"
},
@@ -30,6 +30,7 @@
"@types/yargs": "^15.0.15",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.9.5"
},
+2 -1
View File
@@ -10,7 +10,7 @@
},
"scripts": {
"test": "jest",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"watch": "tsc --watch"
},
@@ -22,6 +22,7 @@
"devDependencies": {
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
+2 -1
View File
@@ -17,12 +17,13 @@
"@medusajs/medusa": "^1.12.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"typescript": "^4.9.5"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"peerDependencies": {
+2 -1
View File
@@ -17,12 +17,13 @@
"@medusajs/medusa": "^1.12.3",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"typescript": "^4.9.5"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"peerDependencies": {
+2 -1
View File
@@ -18,12 +18,13 @@
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"medusa-test-utils": "^1.1.40",
"rimraf": "^5.0.1",
"typescript": "^4.9.5"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"peerDependencies": {
+1 -1
View File
@@ -10,4 +10,4 @@
"plugins": ["@babel/plugin-transform-runtime"]
}
}
}
}
+2 -1
View File
@@ -11,7 +11,7 @@
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "babel src --out-dir dist --ignore '**/__tests__','**/__mocks__'",
"build": "rimraf dist && babel src --out-dir dist --ignore '**/__tests__','**/__mocks__'",
"watch": "babel -w src --out-dir dist --ignore '**/__tests__','**/__mocks__'"
},
"files": [
@@ -33,6 +33,7 @@
"jest": "^25.5.4",
"medusa-core-utils": "^1.2.0",
"medusa-test-utils": "^1.1.40",
"rimraf": "^5.0.1",
"typescript": "^4.4.4"
},
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e"
+2 -1
View File
@@ -16,7 +16,7 @@
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"devDependencies": {
@@ -25,6 +25,7 @@
"@types/stripe": "^8.0.417",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"typescript": "^4.4.4"
},
"peerDependencies": {
+2 -1
View File
@@ -16,7 +16,7 @@
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"devDependencies": {
@@ -25,6 +25,7 @@
"awilix": "^8.0.1",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"typescript": "^4.9.5"
},
"peerDependencies": {
+2 -1
View File
@@ -15,7 +15,7 @@
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"dependencies": {
@@ -28,6 +28,7 @@
"client-sessions": "^0.8.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"typescript": "^4.4.4"
},
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e",
@@ -16,12 +16,13 @@
"client-sessions": "^0.8.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"typescript": "^4.4.4"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"peerDependencies": {
@@ -15,7 +15,7 @@
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
},
"dependencies": {
@@ -33,6 +33,7 @@
"@medusajs/types": "^1.10.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"typescript": "^4.9.5"
},
"gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e",
+2 -1
View File
@@ -29,6 +29,7 @@
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"medusa-interfaces": "^1.3.7",
"rimraf": "^5.0.1",
"supertest": "^4.0.2",
"ts-jest": "^25.5.1",
"typeorm": "^0.3.16",
@@ -37,7 +38,7 @@
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"serve": "node dist/app.js",
"test": "jest"
},
+2 -1
View File
@@ -19,6 +19,7 @@
"devDependencies": {
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
@@ -31,7 +32,7 @@
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest",
"watch": "tsc --build --watch"
}
+2 -1
View File
@@ -20,6 +20,7 @@
"@medusajs/types": "^1.9.0",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
@@ -29,7 +30,7 @@
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest"
}
+2 -1
View File
@@ -20,6 +20,7 @@
"@medusajs/types": "^1.8.8",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"rimraf": "^5.0.1",
"ts-jest": "^25.5.1",
"typescript": "^4.4.4"
},
@@ -32,7 +33,7 @@
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
}
}
+2 -1
View File
@@ -21,13 +21,14 @@
"awilix": "^8.0.0",
"cross-env": "^5.2.1",
"ioredis": "^5.2.5",
"rimraf": "^5.0.1",
"typeorm": "^0.3.16",
"typescript": "^4.4.4",
"winston": "^3.8.2"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"build": "tsc --build",
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "exit 0"
}