Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to pnpm, update projects, and more #17

Merged
merged 3 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"editor.formatOnSave": true,
"files.associations": {
"*.css": "tailwindcss"
},
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Profile - Felix Hoffmann
# Portfolio Website

Hi, I am Felix, a computer science student from Germany.
This is my portfolio website. It is a static website built with [Astro](https://astro.build/), [Tailwind CSS](https://tailwindcss.com/), and [TypeScript](https://www.typescriptlang.org/).
11 changes: 5 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import remarkMermaid from "astro-diagram/remark-mermaid";
import { defineConfig } from "astro/config";

// https://astro.build/config
export default defineConfig({
site: "https://felix-hoffmann.dev",
experimental: {
assets: true,
},
markdown: {
shikiConfig: {
theme: "one-dark-pro",
wrap: true,
},
remarkPlugins: [remarkMermaid],
},
integrations: [tailwind(), sitemap(), react()],
});
76 changes: 43 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,48 +15,58 @@
"astro": "astro",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"format": "prettier --write .",
"format:check": "prettier --check ."
"format": "prettier --write . --plugin=prettier-plugin-astro",
"format:check": "prettier --check . --plugin=prettier-plugin-astro"
},
"dependencies": {
"@astrojs/react": "^2.2.1",
"@astrojs/sitemap": "^1.3.3",
"@astrojs/tailwind": "^4.0.0",
"@fontsource/inter": "^5.0.4",
"@fontsource/outfit": "^5.0.4",
"astro": "^2.8.0",
"astro-seo": "^0.7.4",
"class-variance-authority": "^0.6.1",
"clsx": "^1.2.1",
"lucide-react": "^0.259.0",
"@astrojs/react": "^3.0.4",
"@astrojs/sitemap": "^3.0.3",
"@astrojs/tailwind": "^5.0.2",
"@fontsource/inter": "^5.0.15",
"@fontsource/outfit": "^5.0.8",
"astro": "^3.5.4",
"astro-diagram": "^0.7.0",
"astro-seo": "^0.8.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"lucide-react": "^0.292.0",
"mermaid": "^9.4.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-merge": "^1.13.2",
"tailwindcss": "^3.3.2",
"tailwindcss-animate": "^1.0.6"
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.3.5",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"astro-eslint-parser": "^0.14.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-astro": "^0.27.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"astro-eslint-parser": "^0.16.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-astro": "^0.29.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-tailwindcss": "^3.13.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"prettier-plugin-astro": "^0.10.0",
"prettier-plugin-tailwindcss": "^0.3.0",
"typescript": "^5.1.6"
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"prettier-plugin-astro": "^0.12.2",
"prettier-plugin-tailwindcss": "^0.5.7",
"typescript": "^5.2.2"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"printWidth": 120
},
"lint-staged": {
"*.{astro,md,mdx,js,jsx,ts,tsx}": [
Expand Down
Loading
Loading