Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/curly-doors-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-svelte": patch
---

correct default package.json format
2 changes: 1 addition & 1 deletion packages/create-svelte/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function write_common_files(cwd, options, name) {
pkg.devDependencies = sort_keys(pkg.devDependencies);
pkg.name = to_valid_package_name(name);

fs.writeFileSync(pkg_file, JSON.stringify(pkg, null, ' '));
fs.writeFileSync(pkg_file, JSON.stringify(pkg, null, '\t'));
}

/**
Expand Down
1 change: 0 additions & 1 deletion packages/create-svelte/shared/+eslint/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ node_modules
!.env.example

# Ignore files for PNPM, NPM and YARN
package.json
pnpm-lock.yaml
package-lock.json
yarn.lock
1 change: 0 additions & 1 deletion packages/create-svelte/shared/+prettier/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ node_modules
!.env.example

# Ignore files for PNPM, NPM and YARN
package.json
pnpm-lock.yaml
package-lock.json
yarn.lock