Skip to content

Split core and cli into separate packages #182

@azu

Description

@azu

Hi, It is a suggestion that split core(parse/generator) and cli into separate packages.

This is commonly approach.

Pros

  • Fast installation
    • Currently, remark depended on native module like chokidar for --watch Watching files #51
    • Build time of native module is large :(
    • We want to use remark as pure JS parser/generator, but install native module.
  • Separated responsibility

Cons

  • Maintenance cost
    • That's why Babel apply monorepo approach.

My Proposal

  • Split stringify.js and parse.js to into separate package like remark-core
  • remark package contain cli that is the same as it is now.

What do you think about this?

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