@shopify/cli-kit
    Preparing search index...

    Function getProjectDir

    • Returns the project directory for the given path.

      Parameters

      • directory: string

        The path to search upward from.

      Returns string | undefined

      The project root directory, or undefined if not found.