Skip to content

Allow for this module to be exposed to and used by other Node scripts #1151

@EthanStandel

Description

This module uses some kind of non-standard resolution strategy that makes the module-resolution fail if called from child_process.exec, { $ } from "zx", etc. Even when I'm able to dance around that, direct use of dirname in Node now throws an error.

So this module can only be resolved as a CLI. Fixing this would allow projects to script around this tool.

Alternatively, rather than fixing the module resolution strategy for the CLI, just exposing the core functions as an SDK for Node scripts would be equally helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions