File

libs/nx/src/executors/generate-and-serve/schema.ts

Description

Schema for the generate-and-serve Executor

Extends

GenerateAppSchema

Index

Properties

Properties

serveTarget
Type string
Description

The serve target to use for serving the generated application.

import { GenerateAppSchema } from '../shared/generate-app/schema';

// this "cli" comment is necessary for Nx to recognize this as an Executor schema.
// don't remove!
/**
 * Schema for the `generate-and-serve` Executor
 * @cli "nx"
 */
export interface GenerateAndServeExecutorSchema extends GenerateAppSchema {
  /**
   * The serve target to use for serving the generated application.
   * @examples ["my-journey:serve-generated-app:development"]
   * @pattern "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$"
   */
  serveTarget: string;
}

results matching ""

    No results matching ""