feat(create-medusa-app): add support for pnpm and specifying package manager (#14443)
* feat(create-medusa-app): add support for pnpm and specifying package manager * fixes * add medusa command method * add tests for package manager * fix duplicate messages * throw if chosen package manager is not available * better package manager and version detector * add debug message * fix version detection * fix for yarn v3 * fix migration command * yarn v3 fix * remove .yarn directory for non-yarn package managers * run npm ci to validate npm installation * fixes * fixes * remove corepack line * remove if condition
This commit is contained in:
@@ -9,8 +9,9 @@
|
||||
"scripts": {
|
||||
"dev": "node --loader ts-node/esm src/index.ts",
|
||||
"start": "node dist/index.js",
|
||||
"build": "tsc",
|
||||
"watch": "yarn run -T tsc --watch"
|
||||
"build": "yarn run -T tsc",
|
||||
"watch": "yarn run -T tsc --watch",
|
||||
"test": "../../../node_modules/.bin/jest --passWithNoTests src"
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/deps": "2.12.5",
|
||||
|
||||
Reference in New Issue
Block a user