@nxext/stencil
Version:
Nx plugin for stenciljs
18 lines (17 loc) • 801 B
TypeScript
import { TargetConfiguration } from '@nx/devkit';
import { ProjectType } from '../utils/typings';
/**
* The only target the generator writes explicitly is `lint`. `build`, `serve`,
* `test`, and `e2e` are inferred by `@nxext/stencil/plugin` (Project Crystal)
* from the presence of `stencil.config.ts`. See `packages/stencil/src/plugins/plugin.ts`.
*
* The legacy `@nxext/stencil:build|serve|test|e2e` executors remain in
* `src/executors/` as a backward-compatibility fallback for workspaces that
* still reference them explicitly in their project.json.
*/
export declare function getDefaultTargets(_projectType: ProjectType, options: {
projectRoot: string;
}): {
[key: string]: TargetConfiguration;
};
export declare function getLintTarget(projectRoot: string): TargetConfiguration;