Skip to content

Commit

Permalink
fix: remove extra space from package jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaubrey committed Aug 14, 2023
1 parent b5d8d20 commit 9fe89f4
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 20 deletions.
1 change: 0 additions & 1 deletion cli/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@
"del-cli": "^3.0.0"
}
}

1 change: 0 additions & 1 deletion cli/cut/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@
"type-fest": "^3.5.1"
}
}

2 changes: 1 addition & 1 deletion cli/cut/src/utils/versionPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const versionPackage = (

try {
verboseLog(`Outputting package.json with new version: ${newVersion}`);
writeFileSync(packageJsonPath, `${JSON.stringify({ ...packageJson, version: newVersion }, undefined, 2)}\n\n`);
writeFileSync(packageJsonPath, `${JSON.stringify({ ...packageJson, version: newVersion }, undefined, 2)}\n`);
} catch (error: unknown) {
verboseLog(`Package.json output error: ${(error as Error).name}, ${(error as Error).message}`);
throw new Error(`Could not write the package.json to: ${packageJsonPath}`);
Expand Down
1 change: 0 additions & 1 deletion cli/new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@
"lodash": "^4.17.21"
}
}

1 change: 0 additions & 1 deletion cli/postinstall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@
"type-fest": "^3.5.1"
}
}

1 change: 0 additions & 1 deletion cli/publish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@
"del-cli": "^3.0.0"
}
}

1 change: 0 additions & 1 deletion cli/setup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@
"del-cli": "^3.0.0"
}
}

1 change: 0 additions & 1 deletion cli/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
"type-fest": "^3.5.1"
}
}

1 change: 0 additions & 1 deletion cli/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@
"type-fest": "^3.5.1"
}
}

1 change: 0 additions & 1 deletion cli/write/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@
"del-cli": "^3.0.0"
}
}

1 change: 0 additions & 1 deletion configs/babel-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@
"babel-plugin-macros": "<4"
}
}

1 change: 0 additions & 1 deletion configs/commitlint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
"@commitlint/prompt-cli": "<18"
}
}

1 change: 0 additions & 1 deletion configs/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@
"eslint-plugin-unicorn": "<47"
}
}

1 change: 0 additions & 1 deletion configs/jest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@
"suppress-experimental-warnings": "<2"
}
}

1 change: 0 additions & 1 deletion configs/markdownlint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@
"markdownlint-cli": "<1"
}
}

1 change: 0 additions & 1 deletion configs/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@
"prettier": "<3"
}
}

1 change: 0 additions & 1 deletion configs/rollup-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@
"rollup-plugin-sourcemaps": "<1"
}
}

1 change: 0 additions & 1 deletion configs/syncpack-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
"syncpack": "<10"
}
}

1 change: 0 additions & 1 deletion configs/ts-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@
"typescript": "<6"
}
}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@
"syncpack": "^9.8.6",
"typescript": "^5.0.3"
}
}
}

0 comments on commit 9fe89f4

Please sign in to comment.