mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 23:27:28 +02:00
Add newlines at end of generated files (#283)
This commit is contained in:
parent
ad8921950c
commit
d97e2e9d81
6 changed files with 17 additions and 8 deletions
|
@ -39,7 +39,10 @@ console.log(
|
|||
);
|
||||
|
||||
const packageContent = { scripts: { examples: "docusaurus-examples" } };
|
||||
fs.writeFileSync(CWD + "/website/package.json", JSON.stringify(packageContent));
|
||||
fs.writeFileSync(
|
||||
CWD + "/website/package.json",
|
||||
JSON.stringify(packageContent, null, 2) + "\n"
|
||||
);
|
||||
|
||||
if (useYarn) {
|
||||
shell.exec("yarn add docusaurus --dev");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue