chore: formatted, prettified, legacy deps

This commit is contained in:
2025-07-16 10:52:08 +02:00
parent 7c93cd76d9
commit a83befd5b2
22 changed files with 682 additions and 1619 deletions

View File

@@ -99,7 +99,7 @@ const createPages: GatsbyNode["createPages"] = async ({ graphql, actions }) => {
const path = utils.concat(
constants.routes.categoryRoute,
"/",
utils.toKebabCase(category.fieldValue)
utils.toKebabCase(category.fieldValue),
);
for (let page = 0; page < total; page += 1) {

View File

@@ -28,7 +28,7 @@ const onCreateNode: GatsbyNode["onCreateNode"] = ({ node, actions, getNode }) =>
if (tags) {
const value = tags.map((tag) =>
utils.concat(constants.routes.tagRoute, "/", utils.toKebabCase(tag), "/")
utils.concat(constants.routes.tagRoute, "/", utils.toKebabCase(tag), "/"),
);
createNodeField({ node, name: "tagSlugs", value });
@@ -39,7 +39,7 @@ const onCreateNode: GatsbyNode["onCreateNode"] = ({ node, actions, getNode }) =>
constants.routes.categoryRoute,
"/",
utils.toKebabCase(category),
"/"
"/",
);
createNodeField({ node, name: "categorySlug", value });

View File

@@ -15,7 +15,7 @@ const onCreateWebpackConfig = (
...aliases,
[name]: path.resolve(target),
}),
{}
{},
),
},
});