chore: update prettier configuration for print width (#519)
* feat: update prettier configuration for print width * chore: apply code formatting to entire repository * fix: remove build files * fix: format issue --------- Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
@@ -10,14 +10,9 @@ const getDependenciesAsync = async (): Promise<PackageJsonDependencies> => {
|
||||
cwd: "../../",
|
||||
absolute: true,
|
||||
});
|
||||
const packageContents = await Promise.all(
|
||||
pathNames.map(async (path) => await fsPromises.readFile(path, "utf-8")),
|
||||
);
|
||||
const packageContents = await Promise.all(pathNames.map(async (path) => await fsPromises.readFile(path, "utf-8")));
|
||||
const packageDependencies = packageContents
|
||||
.map(
|
||||
(packageContent) =>
|
||||
(JSON.parse(packageContent) as PackageJson).dependencies,
|
||||
)
|
||||
.map((packageContent) => (JSON.parse(packageContent) as PackageJson).dependencies)
|
||||
.filter((dependencies) => dependencies !== undefined);
|
||||
|
||||
let dependencies = {};
|
||||
|
||||
Reference in New Issue
Block a user