graphql-codegen-modules-gen
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "graphql-codegen-modules-gen", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -38,2 +38,11 @@ import { | ||
} | ||
function getGreen(str) { | ||
return "\x1b[32m" + str + "\x1b[0m"; | ||
} | ||
function pad(num, size) { | ||
var s = "000000000" + num; | ||
return s.substr(s.length - size); | ||
} | ||
/* End - Functions Helpers*/ | ||
@@ -126,17 +135,17 @@ | ||
); | ||
console.log( | ||
` ${getGreen("✔")} Merge -`, | ||
`${getGreen(pad(typedefsFiles.length, 2))} Typedefs`, | ||
`|`, | ||
`${getGreen(pad(resolversFiles.length, 2))} Resolvers`, | ||
`-`, | ||
`Module [${getGreen(moduleName)}]` | ||
); | ||
}); | ||
console.log( | ||
" \x1b[32m", | ||
"✔", | ||
"\x1b[0m", | ||
`Merge resolvers [${moduleNames.length} modules]` | ||
` ${getGreen("✔")} Merge done`, | ||
`[${getGreen(moduleNames.length)} modules]` | ||
); | ||
console.log( | ||
" \x1b[32m", | ||
"✔", | ||
"\x1b[0m", | ||
`Merge typedefs [${moduleNames.length} modules]` | ||
); | ||
} else { | ||
@@ -143,0 +152,0 @@ console.error(`❌ '${modulePath}' is not a valid folder path`); |
Sorry, the diff of this file is not supported yet
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
14146
306