@brakebein/prisma-generator-nestjs-dto
Advanced tools
Comparing version 1.17.3 to 1.17.4
@@ -69,3 +69,3 @@ "use strict"; | ||
const fileName = (name, prefix = '', suffix = '', withExtension = false) => `${prefix}${transformFileNameCase(name)}${suffix}${(0, exports.when)(withExtension, '.ts')}`; | ||
const entityName = (name) => /dto$/i.test(name) | ||
const entityName = (name) => new RegExp(`${dtoSuffix || 'dto'}$`, 'i').test(name) | ||
? className(name, '', '') | ||
@@ -72,0 +72,0 @@ : className(name, entityPrefix, entitySuffix); |
{ | ||
"name": "@brakebein/prisma-generator-nestjs-dto", | ||
"description": "Generates DTO and Entity classes from Prisma Schema for NestJS", | ||
"version": "1.17.3", | ||
"version": "1.17.4", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137713