-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I don't know how it behaved in the past, but nowadays "lerna.json" without "packages" is perfectly valid - IMO with both lerna and lerna-lite.
When there is a lerna.json, created by lerna init
(lerna-lite or lerna), as simple as
{
"$schema": "node_modules/@lerna-lite/cli/schemas/lerna-schema.json",
"version": "0.0.0"
}
> ultra --info
only shows this error message
error Cannot read properties of undefined (reading 'length')
However, with
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"packages": [ "packages/*" ],
"version": "0.0.0"
}
it works:
Detected workspaces: yarn, lerna
Workspace yarn with npm
0 root at .
Metadata
Metadata
Assignees
Labels
No labels