Represents the main class responsible for generating index.ts files for specified directories.

Hierarchy

Constructors

Properties

builder: Builder = ...

The builder instance used for creating module structures.

linter: Linter = ...

The linter instance used for linting and formatting code.

ora: Ora = ...

Instance of the Ora abstraction for loading messages.

Methods

  • Generates index.ts files for the specified directory.

    Parameters

    • directory: string

      The directory for which to generate the index.ts file.

    Returns Promise<void>

    A Promise that resolves when the generation is complete.

    Method

    generate

  • Private

    Queues or dives deeper into the directory structure for file processing.

    Parameters

    • entities: FileLines

      The file lines configuration.

    • directory: string

      The current directory being processed.

    • file: string

      The current file or folder being processed.

    Returns Promise<void>

    A Promise that resolves when the processing is complete.

    Method

    queueOrDiveDeeper

  • Retrieves the top-level directories within the specified paths.

    Returns Promise<string[]>

    A Promise that resolves to an array of top-level directories.

    Method

    topLevelDirectories

Generated using TypeDoc