question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add commitlint to Greenkeeper's list of monorepos

See original GitHub issue

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

  • cli
  • core
  • prompt
  • 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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
honzajavorekcommented, May 9, 2019

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

1reaction
marioneblcommented, May 9, 2019

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
Read more comments on GitHub >

github_iconTop Results From Across the Web

uPortal-Project/uportal-app-framework | Coveralls - Test Coverage ...
Repo Added 25 Sep 2017 08:59PM UTC. Total Files 72. # Builds 2516 Last ... LAST BUILD ON BRANCH greenkeeper/monorepo.commitlint-20200107154302.
Read more >
Announcing: Greenkeeper 3. Adding monorepo support and ...
This is an open list of popular monorepos and their constituent modules, and anyone can add or update definitions via a pull request....
Read more >
JS monorepos in prod 3: commit enforcement and changelog ...
The list of supported scopes is enforced by @commitlint/config-lerna-scopes and “release” is not one of them. The solution is to plug ourselves ...
Read more >
thisisnic/starrating: node_modules/webpack-cli/CHANGELOG.md
ci: add commitlint when trying to commit (#595); ci: Set up CI with Azure Pipelines (89d3a19); ci: fix commitlint (#592); ci: Add a...
Read more >
Create a monorepo with Lerna | by Damian Cyrus - Medium
Add Husky and commitlint to the root folder. We install more packages mentioned before to root and configure them: npm install --save-dev husky ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found