Skip to content

Commit

Permalink
fix(opentelemetry-js): remove deprecated lerna parameter
Browse files Browse the repository at this point in the history
The parameter `useWorkspaces` was removed on [lerna](lerna/lerna#3695),
and trying to compile (`npm run compile`) or test (`npm test`) fails with the error:

```
lerna ERR! ECONFIGWORKSPACES The "useWorkspaces" option has been removed. By default lerna will resolve your packages using your package manager's workspaces configuration. Alternatively, you can manually provide a list of package globs to be used instead via the "packages" option in lerna.json.
```

Once the attribute is removed, the commands work as expected.

Fixes open-telemetry#4556
  • Loading branch information
maryliag committed Mar 19, 2024
1 parent 3a426e8 commit 2a74804
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "independent",
"npmClient": "npm",
"useWorkspaces": true
"npmClient": "npm"
}

0 comments on commit 2a74804

Please sign in to comment.