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:
@@ -0,0 +1,14 @@
|
||||
const defineJestConfig = require("../../../define_jest_config")
|
||||
|
||||
module.exports = defineJestConfig({
|
||||
moduleNameMapper: {
|
||||
"^(\\.{1,2}/.*)\\.js$": "$1",
|
||||
},
|
||||
extensionsToTreatAsEsm: [".ts"],
|
||||
testPathIgnorePatterns: [
|
||||
"dist/",
|
||||
"node_modules/",
|
||||
"__fixtures__/",
|
||||
"__mocks__/",
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user