diff --git a/scripts/runtime.ts b/scripts/runtime.ts index 588e0f15..6db711a1 100644 --- a/scripts/runtime.ts +++ b/scripts/runtime.ts @@ -41,7 +41,7 @@ const processPackageFile = async (currentRuntime: IRuntime, newRuntime: IRuntime scripts[script] = scripts[script].replaceAll(currentRuntime.npx, newRuntime.npx) } //? Save the package.json - await fs.writeFile(file, JSON.stringify(packageJson, null, 2), "utf8") + await fs.writeFile(file, JSON.stringify(packageJson, null, 2) + "\n", "utf8") chalk.blue(`Done for ${file}`) } }