|
1 | 1 | ignores: |
2 | 2 | - '@mongodb-js/bump-monorepo-packages' |
3 | 3 | - '@mongodb-js/sbom-tools' |
| 4 | + |
4 | 5 | # TODO: We keep testing-library/dom at the root to work around weird npm |
5 | 6 | # workspace hoising issues caused by outdated transient dependencies. This can |
6 | 7 | # go away when we update all our usage of @testing-library packages to the |
7 | 8 | # version matching what @leafygreen is using |
8 | 9 | - '@testing-library/dom' |
| 10 | + |
9 | 11 | # npm picks up the node-gyp installation in this repository rather than the |
10 | 12 | # one it ships with, so we install one of our own to get the version right |
11 | 13 | # (because we need one with vscode 2022 support for github actions CI) |
12 | 14 | - 'node-gyp' |
13 | | - # lerna is used as a script |
14 | | - - 'lerna' |
| 15 | + |
| 16 | + # npm@11 has issues with applying overrides to the dependencies installed in |
| 17 | + # the workspaces: if a workspace dependency has a dependency on the package we |
| 18 | + # are trying to override, the override will not be applied during install and |
| 19 | + # incorrect version will end up in the dependency tree, indicated by the |
| 20 | + # ELSPROBLEMS error. We can work around this by installing the dependency that |
| 21 | + # is triggering the issue at the root of the monorepo, in that case the |
| 22 | + # override will be correctly applied to the dependency |
| 23 | + # |
| 24 | + # IMPORTANT: It is not enough to install the dependency you are trying to |
| 25 | + # override at root, it needs to be the dependencies (one or many) that is |
| 26 | + # causing the ELSPROBLEMS issue itself |
| 27 | + - '@mongodb-js/diagramming' |
| 28 | + - '@mongodb-js/eslint-config-devtools' |
| 29 | + - ag-grid-react |
| 30 | + - braintrust |
| 31 | + # TODO: we removed all enzyme tests, remove this from the shared mocha config |
| 32 | + # so that it doesn't end up in our transitive deps at all |
| 33 | + - chai-enzyme |
| 34 | + - express |
| 35 | + - react-leaflet |
| 36 | + - react-leaflet-draw |
| 37 | + - reflux |
0 commit comments