diff --git a/src/index.ts b/src/index.ts index ce2e98d..29f2b7e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -401,5 +401,5 @@ const updatePackageJson = ( pkg.name = name; } - fs.writeFileSync(pkgJsonPath, JSON.stringify(pkg, null, 2)); + fs.writeFileSync(pkgJsonPath, `${JSON.stringify(pkg, null, 2)}\n`); };