When running yarn docs:api on Windows there are differences in the generated docs/pages/api-docs/*.json files regarding new lines: Example:
diff --git a/docs/pages/api-docs/badge.json b/docs/pages/api-docs/badge.json
index ff098c8330..5ccd01cc11 100644
--- a/docs/pages/api-docs/badge.json
+++ b/docs/pages/api-docs/badge.json
@@ -5,7 +5,7 @@
"name": "shape",
"description": "{ horizontal: 'left'<br>| 'right', vertical: 'bottom'<br>| 'top' }"
},
- "default": "{\n vertical: 'top',\n horizontal: 'right',\n}"
+ "default": "{\r\n vertical: 'top',\r\n horizontal: 'right',\r\n}"
},
"badgeContent": { "type": { "name": "node" } },
"children": { "type": { "name": "node" } },
Current Behavior 😯
Around 30+ files are affected.
Expected Behavior 🤔
No changes should be generated if there is no code change.
Steps to Reproduce 🕹
Run yarn docs:api on current next on Windows.
When running
yarn docs:apion Windows there are differences in the generateddocs/pages/api-docs/*.jsonfiles regarding new lines: Example:Current Behavior 😯
Around 30+ files are affected.
Expected Behavior 🤔
No changes should be generated if there is no code change.
Steps to Reproduce 🕹
Run
yarn docs:apion currentnexton Windows.