monorepo-next 11.0.7 → 11.0.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": "monorepo-next",
|
3
|
-
"version": "11.0.
|
3
|
+
"version": "11.0.8",
|
4
4
|
"description": "Detach monorepo packages from normal linking",
|
5
5
|
"bin": {
|
6
6
|
"next": "bin/next.js"
|
@@ -92,11 +92,11 @@
|
|
92
92
|
"mocha": "^10.0.0",
|
93
93
|
"mocha-helpers": "^9.0.0",
|
94
94
|
"remark-cli": "^12.0.0",
|
95
|
-
"remark-preset-lint-crowdstrike": "^
|
95
|
+
"remark-preset-lint-crowdstrike": "^4.0.0",
|
96
96
|
"renovate-config-standard": "^2.0.0",
|
97
97
|
"sinon": "^17.0.0",
|
98
98
|
"sinon-chai": "^3.5.0",
|
99
99
|
"standard-node-template": "6.0.0",
|
100
|
-
"yargs-help-output": "^
|
100
|
+
"yargs-help-output": "^5.0.0"
|
101
101
|
}
|
102
102
|
}
|
@@ -35,6 +35,10 @@ async function getPackageChangedFiles({
|
|
35
35
|
|
36
36
|
dirtyChanges = getLinesFromOutput(dirtyChanges).map(line => line.substr(3));
|
37
37
|
|
38
|
+
// if filename has space like `sample index.js`, if its modified and uncommited, that file will have double quotes in git status
|
39
|
+
// example: '"packages/package-a/sample index.js"'. We need to strip `"` for that reason.
|
40
|
+
dirtyChanges = dirtyChanges.map(line => line.replace(/"/g, ''));
|
41
|
+
|
38
42
|
let changedFiles = Array.from(new Set(committedChanges).union(dirtyChanges));
|
39
43
|
|
40
44
|
return changedFiles;
|