Skip to content

Commit

Permalink
fix: restore package.json format in init script (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
ananni13 authored Jun 8, 2023
1 parent 93342ee commit 7a70821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remix.init/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default async function main({ isTypeScript, rootDirectory }) {
const fileOperationPromises = [
fs.writeFile(FLY_TOML_PATH, newFlyTomlContent),
fs.writeFile(ENV_PATH, newEnv),
fs.writeFile(PKG_PATH, JSON.stringify(packageJson)),
fs.writeFile(PKG_PATH, JSON.stringify(packageJson, null, 2)),
fs.copyFile(
path.join(rootDirectory, 'remix.init', 'gitignore'),
path.join(rootDirectory, '.gitignore'),
Expand Down

0 comments on commit 7a70821

Please sign in to comment.