From 2a683749328ac29a048ac97b15edf075511c53aa Mon Sep 17 00:00:00 2001 From: David Herman Date: Wed, 27 Mar 2024 19:22:50 -0700 Subject: [PATCH] add a newline to the manifest --- pkgs/create-neon/src/package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/create-neon/src/package.ts b/pkgs/create-neon/src/package.ts index 1ff9fce68..cc2fd2c5f 100644 --- a/pkgs/create-neon/src/package.ts +++ b/pkgs/create-neon/src/package.ts @@ -113,7 +113,7 @@ export default class Package { const sorted = sort(JSON.parse(await fs.readFile(filename, "utf8"))); // 4. Save the result to package.json. - await fs.writeFile(filename, JSON.stringify(sorted, undefined, 2)); + await fs.writeFile(filename, JSON.stringify(sorted, undefined, 2) + "\n"); return new Package(sorted); }