[
"release",
"example-package",
"ds-theme",
"storybook-utils",
"test-utils",
"ui-utils",
"ds-web-banner",
"ds-web-button-group",
"ds-web-context-menu",
"ds-web-drawer",
"ds-web-password-field",
"ds-web-progress-bar",
"ds-web-phone-number-field",
"ds-web-select",
"ds-web-select-with-additional-field",
"ds-web-stepper",
"ds-web-tile",
"typescript",
"resolve-pathname",
"history",
"typescript",
"value-equal",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"acorn-import-assertions",
"commander",
"acorn",
"loader-runner",
"serialize-javascript",
"supports-color",
"tapable",
"jest-worker",
"terser",
"terser-webpack-plugin",
"ts-loader",
"typescript",
"watchpack",
"webpack",
"webpack-cli",
"webpack-sources",
"acorn",
"acorn-import-assertions",
"commander",
"jest-worker",
"loader-runner",
"serialize-javascript",
"supports-color",
"tapable",
"terser",
"terser-webpack-plugin",
"ts-loader",
"typescript",
"watchpack",
"webpack",
"webpack-cli",
"webpack-sources",
"typescript",
"typescript",
"acorn",
"typescript",
"acorn-import-assertions",
"jest-worker",
"loader-runner",
"serialize-javascript",
"commander",
"supports-color",
"tapable",
"terser",
"terser-webpack-plugin",
"ts-loader",
"watchpack",
"webpack",
"typescript",
"webpack-cli",
"webpack-sources",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"typescript",
"helper-wasm-section",
"wasm-edit",
"wast-printer",
"wasm-opt",
"configtest",
"info",
"serve",
"bin",
"dist",
"helper-wasm-section",
"wasm-opt",
"wasm-edit",
"wast-printer",
"configtest",
"info",
"serve",
"dist",
"bin",
"helper-wasm-section",
"wasm-edit",
"wast-printer",
"wasm-opt",
"configtest",
"info",
"serve",
"bin",
"dist",
"commander",
"source-map",
"commander",
"source-map",
"commander",
"source-map"
]
Hi there,
I am using
@commitlint/config-lerna-scopesfor helping commitlint to find the scope of Lerna to create conventional commits. Today, I noticed that after I changed theworkspaceconfiguration frompackages/*topackages/**to support nested packages inside thepackagesfolder, the package gathers all packages dependencies liketypescript.Expected Behavior
It should gives me only my packages inside my monorepo while using a nested packages folder approach like
packages/**The output of the scopes should be like this:
✅ Prettied console output for expected scopes
Current Behavior
It gives me all packages even the dependencies of my subfolder packages.
Output is like that:
🚨 Prettied console output for current situation for scope names
Possible Solution
Steps to Reproduce (for bugs)
workspaces: ['packages/*']toworkspaces: ['packages/**']🗂️ commitlint.config.js
Context
Your Environment
commitlint --versiongit --versionnode --version