Commitlint: Add commitlint to Greenkeeper's list of monorepos

Created on 7 May 2019  路  5Comments  路  Source: conventional-changelog/commitlint


At this moment commitlint isn't recognized as a monorepo by https://greenkeeper.io/

Expected Behavior



Greenkeeper identifies commitlint as something it should deal with in a batch when upgrading.

Current Behavior



Greenkeeper creates multiple PRs for each package on my repositories.

Affected packages

  • [x] cli
  • [x] core
  • [x] prompt
  • [x] config-angular

Possible Solution



We can add commitlint to https://github.com/greenkeeperio/monorepo-definitions and it should work.

Context



A PR for each package upgrade results in tedious and conflicting changes in my package.json and package-lock.json files I have to manually edit. That beats the purpose of having automated dependencies watchdog.

Your Environment


Greenkeeper and GitHub. E.g. I had to manually rewrite https://github.com/apiaryio/dredd-transactions/pull/277/ twice to pass.

help wanted

All 5 comments

Sounds good! Do you want to lend a hand and propose a PR at Greenkeeper?

Sure, would you help me to list the packages which make sense to have listed there? I was going through the repo, but I am a bit confused from what all is actually getting published to npm and what is just a helper package.

Sure, would you help me to list the packages which make sense to have listed there? I was going through the repo, but I am a bit confused from what all is actually getting published to npm and what is just a helper package.

Technically we publish all packages to NPM. The relevant packages as far as most commitlint users are concerned live in @commitlint and @alias while the ones in @packages can be considered internal tools.

This is the list:

$ yarn lerna ls --no-private
commitlint-config-angular
commitlint-config-lerna-scopes
commitlint-config-patternplate
commitlint
@commitlint/cli
@commitlint/config-angular-type-enum
@commitlint/config-angular
@commitlint/config-conventional
@commitlint/config-lerna-scopes
@commitlint/config-patternplate
@commitlint/core
@commitlint/ensure
@commitlint/execute-rule
@commitlint/format
@commitlint/is-ignored
@commitlint/lint
@commitlint/load
@commitlint/message
@commitlint/parse
@commitlint/prompt-cli
@commitlint/prompt
@commitlint/read
@commitlint/resolve-extends
@commitlint/rules
@commitlint/to-lines
@commitlint/top-level
@commitlint/travis-cli

I made a PR there, so now it's up to the maintainers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

padamstx picture padamstx  路  4Comments

texhnolyze picture texhnolyze  路  3Comments

ResDiaryLewis picture ResDiaryLewis  路  4Comments

EECOLOR picture EECOLOR  路  3Comments

xmlking picture xmlking  路  4Comments