@toptal/davinci-monorepo 8.3.4-alpha-B2-139-fe-update-config-file-to-accept-b-2-in-p-rs-934a3cee.37 → 8.3.5-alpha-fx-4539-reduce-number-of-npm-warnings-postcss-e96576a0.6
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/CHANGELOG.md +7 -0
- package/package.json +3 -3
- package/src/utils/get-packages.js +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @toptal/davinci-monorepo
|
|
2
2
|
|
|
3
|
+
## 8.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2260](https://github.com/toptal/davinci/pull/2260) [`542bad58`](https://github.com/toptal/davinci/commit/542bad58258a06e420380f55f6c676323d9a3d3d) Thanks [@dmaklygin](https://github.com/dmaklygin)!
|
|
8
|
+
- handle workspaces also as objects in graph-generator
|
|
9
|
+
|
|
3
10
|
## 8.3.3
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-monorepo",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.5-alpha-fx-4539-reduce-number-of-npm-warnings-postcss-e96576a0.6+e96576a0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"lint"
|
|
6
6
|
],
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@nodelib/fs.walk": "^1.2.6",
|
|
29
29
|
"@oclif/core": "^1.16.1",
|
|
30
|
-
"@toptal/davinci-cli-shared": "2.3.10-alpha-
|
|
30
|
+
"@toptal/davinci-cli-shared": "2.3.10-alpha-fx-4539-reduce-number-of-npm-warnings-postcss-e96576a0.56+e96576a0",
|
|
31
31
|
"chalk": "^4.1.2",
|
|
32
32
|
"codeowners": "5.1.1",
|
|
33
33
|
"dependency-cruiser": "^12.5.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "e96576a0e48e31e1e00d4db145d56fda26f1b83c"
|
|
53
53
|
}
|
|
@@ -14,7 +14,12 @@ export const createGetPackages = fs => (root, cwd) => {
|
|
|
14
14
|
return []
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
const patterns =
|
|
18
|
+
pkgJson.workspaces instanceof Array
|
|
19
|
+
? pkgJson.workspaces
|
|
20
|
+
: Object.values(pkgJson.workspaces).flatMap(patterns => patterns)
|
|
21
|
+
|
|
22
|
+
return patterns.flatMap(pattern =>
|
|
18
23
|
glob
|
|
19
24
|
// glob's options.cwd defaults to process.cwd(), it means wherever we
|
|
20
25
|
// call `getPackages` function the pattern match is executed relative to
|