chore: Remove rimraf from prepare (#4741)

This commit is contained in:
Oli Juhl
2023-08-11 22:55:59 +02:00
committed by GitHub
parent 9469063f64
commit 1d2637572b
28 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
+1 -1
View File
@@ -26,7 +26,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
+1 -1
View File
@@ -10,7 +10,7 @@
"dev": "ts-node --esm src/index.ts",
"build": "tsc",
"watch": "tsc --watch",
"prepare": "cross-env NODE_ENV=production yarn run build"
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
},
"dependencies": {
"@medusajs/utils": "^1.9.3",
+1 -1
View File
@@ -26,7 +26,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
+1 -1
View File
@@ -27,7 +27,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
},
+1 -1
View File
@@ -7,7 +7,7 @@
"dist"
],
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run 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",
+1 -1
View File
@@ -32,7 +32,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
}
+1 -1
View File
@@ -22,7 +22,7 @@
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch",
"prepare": "cross-env NODE_ENV=production yarn run build"
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
},
"author": "Sebastian Rindom",
"license": "MIT",
+1 -1
View File
@@ -11,7 +11,7 @@
"scripts": {
"test": "jest",
"build": "rimraf dist && tsc --build",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"watch": "tsc --watch"
},
"files": [
+1 -1
View File
@@ -42,7 +42,7 @@
"directory": "packages/medusa-dev-cli"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests",
"build": "tsc",
"watch": "tsc --watch"
+1 -1
View File
@@ -21,7 +21,7 @@
"typescript": "^4.9.5"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
+1 -1
View File
@@ -21,7 +21,7 @@
"typescript": "^4.9.5"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
+1 -1
View File
@@ -22,7 +22,7 @@
"typescript": "^4.9.5"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
+1 -1
View File
@@ -14,7 +14,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
+1 -1
View File
@@ -14,7 +14,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
+1 -1
View File
@@ -13,7 +13,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
@@ -26,7 +26,7 @@
"medusa-interfaces": "^1.3.7"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run 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__'"
@@ -20,7 +20,7 @@
"typescript": "^4.4.4"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
@@ -13,7 +13,7 @@
"author": "Medusa",
"license": "MIT",
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch"
+1 -1
View File
@@ -37,7 +37,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run 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"
+2 -2
View File
@@ -31,9 +31,9 @@
"resolve-cwd": "^3.0.0"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest",
"test": "jest --runInBand --bail --forceExit",
"watch": "tsc --build --watch"
}
}
+1 -1
View File
@@ -29,7 +29,7 @@
"uuid": "^9.0.0"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run 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"
+2 -2
View File
@@ -29,9 +29,9 @@
"graphql": "^16.6.0"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest"
"test": "jest --runInBand --bail --forceExit"
}
}
+2 -2
View File
@@ -25,9 +25,9 @@
"scripts": {
"watch": "tsc --build --watch",
"watch:test": "tsc --build tsconfig.spec.json --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build && tsc-alias -p tsconfig.json",
"build": "rimraf dist && tsc --build && tsc-alias -p tsconfig.json",
"test": "jest --runInBand --forceExit -- src/**/__tests__/**/*.ts",
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
"test:integration": "jest --runInBand --forceExit -- integration-tests/**/__tests__/**/*.ts",
"migration:generate": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:generate",
"migration:initial": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:create --initial",
+1 -1
View File
@@ -32,7 +32,7 @@
},
"scripts": {
"watch": "tsc --build --watch",
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"test": "jest --passWithNoTests"
}
+1 -1
View File
@@ -27,7 +27,7 @@
"winston": "^3.8.2"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "exit 0"
+2 -2
View File
@@ -33,9 +33,9 @@
"ulid": "^2.3.0"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest"
"test": "jest --runInBand --bail --forceExit"
}
}
+2 -2
View File
@@ -33,9 +33,9 @@
"ulid": "^2.3.0"
},
"scripts": {
"prepare": "cross-env NODE_ENV=production yarn run build",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest"
"test": "jest --runInBand --bail --forceExit"
}
}