Skip to content

Commit

Permalink
build: update dependencies (#45)
Browse files Browse the repository at this point in the history
Updates all dependencies that can be updated.

Note that @fullhuman/purgecss wasn't updated to
v6.0.0, as it falsely purges our typography styles
that we `@apply` in main.css, such as
`body:where(p):not(:where([class~=not-prose],[class~=not-prose]*))`.
  • Loading branch information
cjshearer committed Jun 18, 2024
1 parent 991f5e0 commit a775e72
Show file tree
Hide file tree
Showing 7 changed files with 880 additions and 1,371 deletions.
1 change: 0 additions & 1 deletion .stylelintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ rules:
- responsive
- screen
color-function-notation: null
declaration-block-trailing-semicolon:
no-descending-specificity:

ignoreFiles:
Expand Down
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Software Developer with 3 Years of Experience in Full Stack Web and Mobile Devel
- [![](svgs/brands/linkedin.svg)in/cjshearer](https://linkedin.com/in/cjshearer "My LinkedIn")
- [![](svgs/solid/house.svg)cjshearer.dev](https://cjshearer.dev "My Website")
- [![](svgs/solid/envelope.svg)cjshearer@live.com](mailto:cjshearer@live.com "My Email")
{ class="not-prose [&>*]:inline-svg inline-flex w-fit flex-wrap justify-center gap-4 whitespace-nowrap [&_svg]:mr-1"}
{ class="not-prose *:inline-svg inline-flex w-fit flex-wrap justify-center gap-4 whitespace-nowrap [&_svg]:mr-1"}

</header>

Expand Down
10 changes: 8 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname src;
hash = "sha256-LopdAXf7EScCbyXQ0op6xohdv6vRPdNQrVzIRxOvAG0=";
hash = "sha256-R/u7mpumGoR3Y7yHST8ksX8oHKQyIwJ33t3dz+JbT2w=";
};

postBuild = ''
Expand All @@ -47,6 +47,12 @@
'';
});

devShell = pkgs.mkShell { inherit nativeBuildInputs; };
devShell = pkgs.mkShell {
inherit nativeBuildInputs;

shellHook = ''
pnpm install
'';
};
});
}
6 changes: 2 additions & 4 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
{{ partialCached "head.html" . }}
<body
class="m-4 mb-2 print:m-0 [&>*]:mx-auto [&>*]:max-w-[8.5in] print:[&>*]:max-w-none"
>
<body class="m-4 mb-2 *:mx-auto *:max-w-[8.5in] print:m-0 print:*:max-w-none">
{{ .Content }}
</body>
</html>
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"author": "Cody Shearer",
"description": "A resume website",
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@fortawesome/fontawesome-free": "^6.4.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@fortawesome/fontawesome-free": "^6.5.2",
"@fullhuman/postcss-purgecss": "^5.0.0",
"@tailwindcss/typography": "^0.5.10",
"autoprefixer": "^10.4.16",
"lint-staged": "^13.3.0",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"postcss-html": "^1.5.0",
"prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.3.0",
"simple-git-hooks": "^2.9.0",
"stylelint": "^15.11.0",
"@tailwindcss/typography": "^0.5.13",
"autoprefixer": "^10.4.19",
"lint-staged": "^15.2.7",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-html": "^1.7.0",
"prettier": "^3.3.2",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.6.4",
"simple-git-hooks": "^2.11.1",
"stylelint": "^16.6.1",
"stylelint-config-html": "^1.1.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-tailwindcss": "^0.0.7",
"tailwindcss": "^3.3.5"
"tailwindcss": "^3.4.4"
},
"engines": {
"node": ">=20.2.0",
Expand Down
Loading

0 comments on commit a775e72

Please sign in to comment.