@salesforce/packaging
    Preparing search index...

    Function findPackageDirectory

    • This function finds the package directory in the project that matches the given packageId

      Parameters

      • project: SfProject | undefined

        The SfProject instance to search

      • packageId: string

        The package ID to match against

      Returns Optional<NamedPackageDir>

      A NamedPackageDir or empty object if not found