chore: Remove prepublishOnly script (#8699)

* wip

* wip

* verbose logging

* remove prepublish scripts

* chore: add back prepublish scripts

* wip

* remove prepublishOnly script

* chore: Clean up rest of build scripts

* add back build script

* feedback

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
Oli Juhl
2024-08-27 10:31:38 +02:00
committed by GitHub
parent 98b4c76ece
commit 2bacf86d3c
52 changed files with 13 additions and 72 deletions

View File

@@ -10,8 +10,7 @@
"dev": "node --loader ts-node/esm src/index.ts",
"start": "node dist/index.js",
"build": "tsc",
"watch": "tsc --watch",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
"watch": "tsc --watch"
},
"dependencies": {
"@medusajs/utils": "^1.11.9",

View File

@@ -24,8 +24,7 @@
"scripts": {
"test": "jest --passWithNoTests src",
"build": "rimraf dist && tsc",
"watch": "tsc --watch",
"prepublishOnly": "cross-env NODE_ENV=production tsc --build"
"watch": "tsc --watch"
},
"author": "Sebastian Rindom",
"license": "MIT",

View File

@@ -43,7 +43,6 @@
"directory": "packages/medusa-dev-cli"
},
"scripts": {
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"test": "jest --passWithNoTests -- src",
"build": "tsc",
"watch": "tsc --watch"

View File

@@ -31,7 +31,6 @@
"uuid": "^9.0.0"
},
"scripts": {
"prepublishOnly": "cross-env NODE_ENV=production tsc --build",
"build": "tsc --build",
"medusa-oas": "ts-node src/index.ts"
},