Skip to content

Commit

Permalink
Merge pull request #168 from jerboa88/151-configure-pdf-generation-fo…
Browse files Browse the repository at this point in the history
…r-resume

151 configure pdf generation for resume
  • Loading branch information
jerboa88 authored Aug 15, 2024
2 parents 43780fd + 1cb99db commit c0ecfba
Show file tree
Hide file tree
Showing 63 changed files with 2,993 additions and 2,506 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.4
node-version: 22.6
cache: yarn

- name: Setup Pages
Expand Down
2,480 changes: 1,312 additions & 1,168 deletions .pnp.cjs

Large diffs are not rendered by default.

894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.1.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ compressionLevel: mixed

enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.4.0.cjs
2 changes: 1 addition & 1 deletion gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
INDEX_PATH,
SOCIAL_IMAGES_PATH,
} from './src/common/constants';
import { getAbsoluteUrl } from './src/common/utils';
import { getAbsoluteUrl } from './src/common/utils/urls';
import { SocialImageType, ThemeType } from './src/types/other';
import tailwindConfig from './tailwind.config';

Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@
"@botpoison/browser": "^0.1.30",
"@fontsource-variable/roboto-flex": "^5.0.15",
"@fontsource/poppins": "^5.0.14",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@tailwindcss/typography": "^0.5.13",
"@tsparticles/basic": "^3.4.0",
"@tsparticles/engine": "^3.4.0",
"@tailwindcss/typography": "^0.5.14",
"@tsparticles/basic": "^3.5.0",
"@tsparticles/engine": "^3.5.0",
"@tsparticles/react": "^3.0.0",
"@tsparticles/shape-square": "^3.4.0",
"daisyui": "^4.12.2",
"@tsparticles/shape-square": "^3.5.0",
"daisyui": "^4.12.10",
"dotenv": "^16.4.5",
"framer-motion": "^11.2.11",
"gatsby": "^5.13.6",
"framer-motion": "^11.3.27",
"gatsby": "^5.13.7",
"gatsby-plugin-component-to-image": "^1.0.1",
"gatsby-plugin-fontawesome": "^1.3.1",
"gatsby-plugin-manifest": "^5.13.1",
Expand All @@ -63,22 +63,22 @@
"gatsby-source-filesystem": "^5.13.1",
"gatsby-source-github-api": "^1.0.0",
"gatsby-transformer-remark": "^6.13.1",
"isomorphic-dompurify": "^2.12.0",
"jsdom": "^24.1.0",
"isomorphic-dompurify": "^2.14.0",
"jsdom": "^24.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.0"
"react-hook-form": "^7.52.2"
},
"devDependencies": {
"@biomejs/biome": "1.8.2",
"@biomejs/biome": "1.8.3",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.14.8",
"@types/node": "^22.3.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"typescript": "^5.5.2"
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4"
},
"packageManager": "yarn@4.3.1"
"packageManager": "yarn@4.4.0"
}
11 changes: 1 addition & 10 deletions src/common/config-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import type {
SentenceString,
UrlString,
} from '../types/strings';
import { arrayToObject, isDefined } from './utils';
import { arrayToObject, isDefined } from './utils/other';

// Types

Expand All @@ -56,10 +56,6 @@ type SiteMetadata = {
sourceUrl: UrlString;
author: {
name: {
first: Capitalize<string>;
last: Capitalize<string>;
initial: Capitalize<string>;
short: Capitalize<string>;
full: Capitalize<string>;
};
jobTitle: Capitalize<string>;
Expand Down Expand Up @@ -122,11 +118,6 @@ export function getSiteMetadata(): SiteMetadata {
sourceUrl: config.sourceUrl,
author: {
name: {
first: config.author.name.first,
last: config.author.name.last,
initial: config.author.name.first[0] as typeof config.author.name.first,
short:
`${config.author.name.first} ${config.author.name.last[0]}` as typeof config.author.name.first,
full: authorFullName,
},
jobTitle: config.author.jobTitle,
Expand Down
Loading

0 comments on commit c0ecfba

Please sign in to comment.