Skip to content

Monorepo split #11

@kirbysayshi

Description

@kirbysayshi

There are a few existing components that make sense as standalone packages:

  • demo app (/demo)
  • Monaco editor with NFPlayer+NFGrapher hinting (it severely slows down the build time and dev time feedback loop since it's megabytes of JS. Also requires expanding memory limits at compile times due to how large the source maps are!) (it's also kind of hard to separate out, since it compiles to separate scripts that must be loaded into a web worker, and thus must be reachable by whatever the final consuming process is)
  • Player (current root)
  • CLI (src/cli.ts): would be nice to keep CLI dependencies away from actual Player dependencies.
  • TimeInstant (maybe useful if you are consuming NFGrapher without the player?)
  • future MusicalMath (time and interval calculations based on musical concepts like beats, bars, tempo, keys, pitches)

It could also just greatly complicate infrastructure for little gain. Probable approach https://medium.com/@jsilvax/a-workflow-guide-for-lerna-with-yarn-workspaces-60f97481149d

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions