Skip to content

Rename package #38

@davidjgoss

Description

@davidjgoss

This repo is evolving from "pretty formatter" to something more like "terminal formatters" that includes the pretty printer, progress printer and summary printer. This is a good direction! But it raises the question of whether we should rename the repo and the package(s) it publishes accordingly.


With JavaScript we have established a convention for message-based formatters where the default export from the package is the formatter plugin, meaning the package can be referenced directly like cucumber-js -f @cucumber/pretty-formatter (and shorthands like pretty are just an alias for this). We could maintain that by publishing a single npm package but using sub path exports so we'd have @cucumber/terminal-formatters/pretty and @cucumber/terminal-formatters/progress etc, and still do name exports on the main entry point for things that need to be accessed programatically or by type systems.

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