Skip to content

Access package.json in custom task #360

@jonaszuberbuehler

Description

@jonaszuberbuehler

Expected Behavior

It would be nice to be able to access the projects package.json within a custom task (e.g. for getting the version or the like).

Current Behavior

The only hacky way I've found was by using workspace._reader._readers[0]._project.

Affected components (if known)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions