@o3r/schematics
Version:
Schematics module of the Otter framework
16 lines • 762 B
TypeScript
import type { Tree } from '@angular-devkit/schematics';
/**
* If ng-package.json is found under the /src/ folder of the module, it means sub entry points mechanism is implemented
* @param tree tree
* @param destination the destination path
*/
export declare function moduleHasSubEntryPoints(tree: Tree, destination: string): boolean;
/**
* Checks if exists and returns the 'store' project from angular.json.
* Otherwise, it returns the default project if exists, if not it returns the first project
* @param tree tree
* @param destination the destination path
* @param entityName the entity name
*/
export declare function writeSubEntryPointPackageJson(tree: Tree, destination: string, entityName: string): void;
//# sourceMappingURL=sub-entry.d.ts.map