File

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

Description

Schema for the generate-and-serve Executor

Extends

GenerateAppSchema

Index

Properties

Properties

port (Optional)
Type number
Description

Port to use for the underlying Angular development server.

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;

  /**
   * Port to use for the underlying Angular development server.
   */
  port?: number;
}

results matching ""

    No results matching ""