@robby-rabbitman/nx-plus-web-test-runner
Version:
Web Test Runner integration for Nx workspaces.
23 lines • 836 B
TypeScript
import { type Generator } from '@nx/devkit';
/**
* TODO: can this type be generated from the schema.json or the json imported
* and then inferred in order to be synced?
*/
interface WebTestRunnerInitGeneratorSchema {
/**
* The name of the `Web Test Runner` test target e.g. 'test' or
* 'web-test-runner'.
*/
testTargetName?: string;
/** Whether to skip adding the plugin. */
skipAddPlugin?: boolean;
/** Whether to skip formatting the updated files. */
skipFormat?: boolean;
}
/**
* Adds the `@robby-rabbitman/nx-plus-web-test-runner/plugins/web-test-runner`
* plugin to the `nx.json` file.
*/
export declare const webTestRunnerInitGenerator: Generator<WebTestRunnerInitGeneratorSchema>;
export default webTestRunnerInitGenerator;
//# sourceMappingURL=web-test-runner-init.generator.d.ts.map