@toptal/davinci-monorepo 12.0.2-alpha-top-support-npm-62a0d26c.7 → 12.0.2-alpha-top-support-npm-bd4be099.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-monorepo",
3
- "version": "12.0.2-alpha-top-support-npm-62a0d26c.7+62a0d26c",
3
+ "version": "12.0.2-alpha-top-support-npm-bd4be099.8+bd4be099",
4
4
  "keywords": [
5
5
  "lint"
6
6
  ],
@@ -28,7 +28,7 @@
28
28
  "@manypkg/find-root": "^3.0.0",
29
29
  "@nodelib/fs.walk": "^1.2.6",
30
30
  "@oclif/core": "^1.16.1",
31
- "@toptal/davinci-cli-shared": "2.5.2-alpha-top-support-npm-62a0d26c.55+62a0d26c",
31
+ "@toptal/davinci-cli-shared": "2.5.2-alpha-top-support-npm-bd4be099.56+bd4be099",
32
32
  "chalk": "^4.1.2",
33
33
  "codeowners": "5.1.1",
34
34
  "dependency-cruiser": "^16.3.0",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "62a0d26c9f0d3e74903894448f28902f7d476686"
55
+ "gitHead": "bd4be099c10c765a95811ff41ac2c773d31abb00"
56
56
  }
@@ -1,4 +1,5 @@
1
1
  import { findRootSync } from '@manypkg/find-root'
2
+ import { YarnTool, PnpmTool, NpmTool, LernaTool } from '@manypkg/tools'
2
3
 
3
4
  /**
4
5
  * Find the root directory of a workspace/monorepo.
@@ -9,7 +10,9 @@ import { findRootSync } from '@manypkg/find-root'
9
10
  */
10
11
  export const findWorkspaceRoot = (cwd = process.cwd()) => {
11
12
  try {
12
- const result = findRootSync(cwd)
13
+ const result = findRootSync(cwd, {
14
+ tools: [YarnTool, PnpmTool, NpmTool, LernaTool],
15
+ })
13
16
 
14
17
  return result.rootDir
15
18
  } catch {