Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(tree: Tree, context: SchematicContext) =>
!options.onlyProject && options.createBase
? adjustBarrelIndex(
'component',
options,
`libs/features/${componentSettings.featureName}/base/index.ts`,
false,
true
)(tree, context)
: noop()(tree, context),
// add index barrel if needed