fix: mapper

This commit is contained in:
Supan Adit Pratama 2024-10-29 10:54:10 +07:00
parent 9dc9da831a
commit 791ae42eea
3 changed files with 10 additions and 10 deletions

View File

@ -80,8 +80,8 @@
"<rootDir>/libs/"
],
"moduleNameMapper": {
"^@aditama-labs/nest-autocrud/skeleton(|/.*)$": "<rootDir>/libs/skeleton/src/$1",
"^@aditama-labs/nest-autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/src/$1"
"^@aditama-labs/nest-autocrud/skeleton(|/.*)$": "<rootDir>/libs/skeleton/$1",
"^@aditama-labs/nest-autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/$1"
}
}
}

View File

@ -11,9 +11,9 @@
"^.+\\.(t|j)s$": "ts-jest"
},
"moduleNameMapper": {
"@aditama-labs/nest-autocrud/skeleton/(.*)": "<rootDir>/../libs/skeleton/src/$1",
"@aditama-labs/nest-autocrud/skeleton": "<rootDir>/../libs/skeleton/src",
"@aditama-labs/nest-autocrud/prisma/(.*)": "<rootDir>/../libs/prisma/src/$1",
"@aditama-labs/nest-autocrud/prisma": "<rootDir>/../libs/prisma/src"
"@aditama-labs/nest-autocrud/skeleton/(.*)": "<rootDir>/../libs/skeleton/$1",
"@aditama-labs/nest-autocrud/skeleton": "<rootDir>/../libs/skeleton",
"@aditama-labs/nest-autocrud/prisma/(.*)": "<rootDir>/../libs/prisma/$1",
"@aditama-labs/nest-autocrud/prisma": "<rootDir>/../libs/prisma"
}
}

View File

@ -19,16 +19,16 @@
"noFallthroughCasesInSwitch": false,
"paths": {
"@aditama-labs/nest-autocrud/skeleton": [
"libs/skeleton/src"
"libs/skeleton"
],
"@aditama-labs/nest-autocrud/skeleton/*": [
"libs/skeleton/src/*"
"libs/skeleton/*"
],
"@aditama-labs/nest-autocrud/prisma": [
"libs/prisma/src"
"libs/prisma"
],
"@aditama-labs/nest-autocrud/prisma/*": [
"libs/prisma/src/*"
"libs/prisma/*"
]
}
}