From dccde1ec30fbb58e4df82941e15faa131746b82f Mon Sep 17 00:00:00 2001 From: Patrick Kollitsch Date: Thu, 26 Sep 2024 10:32:05 +0700 Subject: [PATCH] build(fix): recover build system Signed-off-by: Patrick Kollitsch --- .gitignore | 3 +++ .versionrc.cjs | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .versionrc.cjs diff --git a/.gitignore b/.gitignore index 4dabcdb..cf95add 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,6 @@ partials/structure/stylesheet.html # Hugo .hugo_build.lock resources/_gen/ + +# Build +.wireit diff --git a/.versionrc.cjs b/.versionrc.cjs new file mode 100644 index 0000000..183bc03 --- /dev/null +++ b/.versionrc.cjs @@ -0,0 +1,33 @@ +const defaultStandardVersion = require('@davidsneighbour/release-config'); +const localStandardVersion = { + scripts: {}, + bumpFiles: [ + { + filename: "package.json", + type: "json", + }, + { + filename: "exampleSite/data/ananke/build.json", + type: "json", + }, + ], + header: "# Changelog", + types: [ + { type: "content", section: "Content" }, + { type: "docs", section: "Documentation" }, + { type: "feat", section: "Features" }, + { type: "theme", section: "Theme" }, + { type: "style", section: "Styling" }, + { type: "refactor", section: "Refactors" }, + { type: "test", section: "Tests" }, + { type: "chore", section: "Chore" }, + { type: "config", section: "Configuration" }, + { type: "build", section: "Build System" }, + { type: "ci", section: "CI" }, + ] +}; +const standardVersion = { + ...defaultStandardVersion, + ...localStandardVersion, +}; +module.exports = standardVersion;