You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because [email protected] doesn't have this package anymore(@lerna/project)
but have this package(@lerna/project) in [email protected] version
Affected packages
cli
core
prompt
config-angular
Possible Solution
@commitlint/config-lerna-scopes/index.js
// fix this code, lerna doesn't have this package anymore(@lerna/project)
const {getPackages} = importFrom(cwd, '@lerna/project');
Steps to Reproduce
1. First step
use "@commitlint/cli": "^17.5.0","@commitlint/config-conventional": "^17.4.4","@commitlint/config-lerna-scopes": "^17.4.2","lerna": "6.6.1","lint-staged": "^13.2.0",[email protected]
use pnpm install package
2. Second step
commit code with commitlint,then commit error.
Context
Using pnpm to manage lerna, unable to submit code after upgrading lerna.
Expected Behavior
Expected:Can submit code normally without reporting errors!
Current Behavior
"@commitlint/config-lerna-scopes": "^17.4.2",
"lerna": "6.6.1",
[email protected]
when i use [email protected], commit code with error:
I noticed an error in this position:
@commitlint/config-lerna-scopes/index.js this file:
because [email protected] doesn't have this package anymore(@lerna/project)
but have this package(@lerna/project) in [email protected] version
Affected packages
Possible Solution
@commitlint/config-lerna-scopes/index.js
// fix this code, lerna doesn't have this package anymore(@lerna/project)
const {getPackages} = importFrom(cwd, '@lerna/project');
Steps to Reproduce
Context
Using pnpm to manage lerna, unable to submit code after upgrading lerna.
commitlint --version
@commitlint/[email protected]
git --version
2.26.0.windows.1
node --version
16.14.0
The text was updated successfully, but these errors were encountered: