diff --git a/.github/release.yml b/.github/release.yml index 9a3fa84..fe07f72 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -1,3 +1,4 @@ +--- changelog: exclude: labels: @@ -23,7 +24,7 @@ changelog: labels: - "type: fix" - - title: ":nail_care: Style, UI, UX" + - title: ":nail_care: Style" labels: - "type: style" @@ -31,12 +32,35 @@ changelog: labels: - "type: docs" - - title: ":hammer: Build/Test Dependency Upgrades" + - title: ":test_tube: Test Dependency Upgrades" labels: - - "type: dependencies" - - "dependencies" - "type: test" + + - title: ":dependabot: :link: Library Updates" + labels: + - "go" + + - title: ":dependabot: :octocat: [Dev] GitHub Actions Dependency Upgrades" + labels: + - "github_actions" + + - title: " :dependabot: :whale: [Dev] Docker Dependency Upgrades" + labels: + - "docker" + + - title: ":dependabot: :clown_face: [Dev] Javascript Dependency Upgrades" + labels: + - "npm" + + - title: ":dependabot: :snake: [Dev] Python Dependency Upgrades" + labels: + - "python" + + - title: ":robot: [Dev] CI/Build Dependency Upgrades" + labels: - "type: ci" - "type: build" - - "type: chore" + + - title: ":broom: General Housekeeping" + labels: - "type: task" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index b276eda..dd30268 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,4 +11,4 @@ permissions: jobs: label-pr: - uses: esacteksab/.github/.github/workflows/labeler.yml@a8c115bb45c00eb2afacce789b66672b5011b092 # v0.80.9 + uses: esacteksab/.github/.github/workflows/labeler.yml@54c4917edc3b129da69d95127d0a73c296b9f344 # v0.80.11 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 56fe87c..aa1488e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -17,4 +17,4 @@ permissions: jobs: precommit-reusable: - uses: esacteksab/.github/.github/workflows/pre-commit.yml@a8c115bb45c00eb2afacce789b66672b5011b092 # v0.80.9 + uses: esacteksab/.github/.github/workflows/pre-commit.yml@54c4917edc3b129da69d95127d0a73c296b9f344 # v0.80.11 diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 99dd4a4..4815934 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -16,4 +16,4 @@ concurrency: jobs: typos-reusable: - uses: esacteksab/.github/.github/workflows/spelling.yml@a8c115bb45c00eb2afacce789b66672b5011b092 # v0.80.9 + uses: esacteksab/.github/.github/workflows/spelling.yml@54c4917edc3b129da69d95127d0a73c296b9f344 # v0.80.11 diff --git a/.mise.toml b/.mise.toml index 4bd7e61..48487ed 100644 --- a/.mise.toml +++ b/.mise.toml @@ -8,5 +8,5 @@ path = ".venv" [tools] -pnpm = "latest" -hugo-extended = "v0.156.0" + pnpm = "latest" + hugo-extended = "v0.159.1" diff --git a/.prettierrc b/.prettierrc index 431c50a..dec5adf 100644 --- a/.prettierrc +++ b/.prettierrc @@ -14,7 +14,6 @@ "parser": "go-template", "goTemplateBracketSpacing": true, "bracketSameLine": true, - "embeddedLanguageFormatting": "off", "htmlWhitespaceSensitivity": "css" } }, @@ -33,8 +32,7 @@ } } ], - "tailwindStylesheet": "./assets/css/*.css", - "tailwindConfig": "./tailwind.config.js", + "tailwindStylesheet": "./assets/css/prettier-tailwind.css", "tailwindFunctions": ["tw"], "cssDeclarationSorterOrder": "smacss" } diff --git a/README.md b/README.md index a9d413f..f991f05 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,16 @@ Not a unique name I know. - There has been some attention paid to a11y, but it may still fall short while I work through things. - Early attempts at i18n. +### Prettier and Stylesheets + +This repo configures Tailwind-aware formatting through `.prettierrc` using `tailwindStylesheet`, which points to `assets/css/prettier-tailwind.css`. + +This is editor/build-tool metadata for formatting only. It is not part of the Hugo runtime stylesheet pipeline and is not shipped to browsers. + +That file currently imports both `assets/css/main.css` and `assets/css/syntax.css`. + +When adding additional stylesheets under `assets/css/`, update `assets/css/prettier-tailwind.css` to include them. If the location or filename of the combined stylesheet changes, also update the `tailwindStylesheet` value in `.prettierrc`. + ## Installation ```bash diff --git a/assets/css/prettier-tailwind.css b/assets/css/prettier-tailwind.css new file mode 100644 index 0000000..0eb93b6 --- /dev/null +++ b/assets/css/prettier-tailwind.css @@ -0,0 +1,2 @@ +@import "./main.css"; +@import "./syntax.css"; diff --git a/config.toml b/config.toml index c852a56..98ca6cc 100644 --- a/config.toml +++ b/config.toml @@ -23,4 +23,4 @@ title = "My New Hugo Site" [module.hugoVersion] extended = true - min = "0.140.0" + min = "0.159.0" diff --git a/hugo_stats.json b/hugo_stats.json index d0b48d6..87e7ef0 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -6,20 +6,22 @@ "div", "footer", "h1", + "h2", "h3", "head", "header", "html", "i", - "input", - "label", "li", "link", "main", "meta", "nav", + "p", + "path", "script", "span", + "svg", "title", "ul" ], @@ -27,21 +29,16 @@ "@container", "active", "bg-neutral-100", - "bg-neutral-50", + "bg-white", "border-1", - "border-orange-500", "bottom-8", + "close-menu", "dark:bg-neutral-900", "dark:bg-zinc-800", - "dark:border-amber-500", "dark:text-neutral-50", - "fa-bars", - "fa-inverse", - "fa-square", - "fa-stack", - "fa-stack-1x", - "fa-stack-2x", + "fa-heart", "fas", + "fixed", "flex", "flex-1", "flex-col", @@ -49,9 +46,12 @@ "flex-row-reverse", "flex-wrap", "footer-links", + "h-6", + "hamburger", "header-title", "hidden", "inline-flex", + "invisible", "items-baseline", "items-center", "lg:mx-32", @@ -60,6 +60,7 @@ "m-0", "main", "max-sm:mb-0", + "mb-1", "mb-2", "md:contents", "md:flex", @@ -69,22 +70,38 @@ "md:pr-4", "md:pt-4", "md:px-8", + "md:text-base", + "md:visible", "menu-", + "menu-content", + "min-h-screen", + "mobile-menu", "mt-2", + "mt-auto", "nav-links", "no-underline", + "overflow-x-hidden", "p-0", "p-2", "pager", "powered-by", "pr-4", + "pt-8", "px-2", + "relative", + "rounded", "text-neutral-900", "text-sm", - "text-sm/6" + "text-xs", + "tight", + "title_cursor", + "w-6", + "w-full", + "z-20" ], "ids": [ - "menu" + "body", + "mobile-menu" ] } } diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ce970f1..bd8e784 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,20 +1,23 @@