Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional name to semver/version groups #118

Closed
JamieMason opened this issue Feb 16, 2023 · 1 comment
Closed

Add optional name to semver/version groups #118

JamieMason opened this issue Feb 16, 2023 · 1 comment

Comments

@JamieMason
Copy link
Owner

Description

  1. Add an optional name/label/description property to semver groups and version groups.
  2. Output those names in list, list-mismatches etc.
  3. When no name is set, use it's array index + 1 as we do today.
@JamieMason
Copy link
Owner Author

Released in 9.3.2, docs to be updated later today but here is an example until then:

{
  "customTypes": {
    "engines": {
      "path": "engines",
      "strategy": "versionsByName"
    },
    "packageManager": {
      "path": "packageManager",
      "strategy": "name@version"
    }
  },
  "semverGroups": [
    {
      "dependencies": ["@aws-sdk/**"],
      "label": "AWS SDK Packages",
      "packages": ["**"],
      "range": ""
    }
  ],
  "versionGroups": [
    {
      "dependencies": ["@aws-sdk/**"],
      "label": "AWS SDK Packages",
      "packages": ["**"]
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant