* 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
15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
const defineJestConfig = require("../../../define_jest_config")
|
|
|
|
module.exports = defineJestConfig({
|
|
moduleNameMapper: {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1",
|
|
},
|
|
extensionsToTreatAsEsm: [".ts"],
|
|
testPathIgnorePatterns: [
|
|
"dist/",
|
|
"node_modules/",
|
|
"__fixtures__/",
|
|
"__mocks__/",
|
|
],
|
|
})
|