melos.yaml

Every project requires a melos.yaml project in the root. The below outlines all of the specific fields and their purpose.

name

The name of this project, using for display purposes within IO environments and IDEs.

name: My Awesome Project

repository

The URL of where the git repository, which contains this project, is centraly hosted.

Supported hosts:

  • GitHub
repository: https://github.com/invertase/melos

packages

A list of local packages Melos will use to execute commands against. The list can be of specific paths or a glob pattern expansion format.

packages:
  - packages/**
  - ext/some_other_package

scripts

TODO

command/version/linkToCommits

Whether to add links to commits in the CHANGELOG.md, that is generated by the version command.

Enabling this option, requries repository to be specified.

command:
  version:
    linkToCommits: true