Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
if (
options.root &&
options.stateInterface &&
options.stateInterface !== 'State'
) {
options.stateInterface = stringUtils.classify(options.stateInterface);
}
const templateSource = apply(url('./files'), [
options.root && options.minimal ? filter(_ => false) : noop(),
applyTemplates({
...stringUtils,
...(options as object),
isLib: isLib(host, options),
environmentsPath,
}),
move(parsedPath.path),
]);
return chain([
branchAndMerge(
chain([addImportToNgModule(options), mergeWith(templateSource)])
),
])(host, context);
};
}