Skip to content

nx plugin - cli executor for the code pushup CLI #63

@BioPhoton

Description

@BioPhoton

User story

As a user of Nx I want to have convenient configuration of my code-pushup related target.
A custom executor for the code-pushup CLI would reduce configuration and setup cost.

Acceptance criteria

Dual Build

Problems regarding the dual build:

  • @poppinss/cliui also doesn't support CJS for some time.
    Possible workaround for @poppinss/cliui would be a dynamic import
  • non-CJS-compatible runtime dependencies are lighthouse and lighthouse-logger
  • big refactoring as turning all functions async that touch one of the incompatible tools

Conclusion use the CLI in a separate process instead and duplicate some of the logic.

Implementation details

https://github.com/code-pushup/cli/tree/add-executor-to-nx-plugin

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions