invertase / melos

πŸŒ‹ A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.11k stars 198 forks source link

chore: Added melos.yaml json schema #745

Closed leoafarias closed 1 month ago

leoafarias commented 1 month ago

Melos.yaml schema validation should exist and be maintained together with melos.yaml changes.

The current melos.yaml schema is not updated with the latest options on the Melos Extension, so things like publish hooks and categories show as errors and autocomplete.

Why have it here?

# yaml-language-server: $schema=https://raw.githubusercontent.com/../melos.yaml.schema.json

name: melos_workspace

This schema contains changes to publish hooks and category.

After this is merged, we can make a PR on the VSCode extension to use this URL in order to keep it up-to-date.

Please let me know if you need this in a different place or directory.

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.