From ec167cd2ee23a3d68c4249761678429fe2217dc7 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Sat, 1 Apr 2023 11:21:00 +0200 Subject: [PATCH] refactor: configure for myself --- .gitignore | 1 - .prettierignore | 5 +- .prettierrc | 16 - .prettierrc.cjs | 15 + CONTRIBUTING.md | 110 + README.md | 35 + astro.config.ts | 66 +- package-lock.json | 13839 -------------------------------- package.json | 16 +- pnpm-lock.yaml | 5151 ++++++++++++ public/og_image.png | Bin 9885 -> 89961 bytes src/assets/images/logo.png | Bin 8378 -> 1532504 bytes src/components/HeadSEO.astro | 4 +- src/components/Item.astro | 18 +- src/components/Picture.astro | 6 +- src/components/Username.astro | 2 +- src/config.ts | 91 +- src/layouts/Layout.astro | 18 +- src/pages/index.astro | 26 +- tailwind.config.cjs | 150 +- 20 files changed, 5515 insertions(+), 14054 deletions(-) delete mode 100644 .prettierrc create mode 100644 .prettierrc.cjs create mode 100644 CONTRIBUTING.md create mode 100644 README.md delete mode 100644 package-lock.json create mode 100644 pnpm-lock.yaml diff --git a/.gitignore b/.gitignore index 0e958e1..7329a85 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ # build output -.vercel/ dist/ .output/ diff --git a/.prettierignore b/.prettierignore index 76b517c..4be6e16 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1 @@ -dist -node_modules -.github -.changeset \ No newline at end of file +dist/* \ No newline at end of file diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index a4e3110..0000000 --- a/.prettierrc +++ /dev/null @@ -1,16 +0,0 @@ -{ - "printWidth": 120, - "semi": true, - "singleQuote": true, - "tabWidth": 2, - "trailingComma": "es5", - "useTabs": true, - "overrides": [ - { - "files": [".*", "*.json", "*.md", "*.toml", "*.yml"], - "options": { - "useTabs": false - } - } - ] -} diff --git a/.prettierrc.cjs b/.prettierrc.cjs new file mode 100644 index 0000000..bd1f410 --- /dev/null +++ b/.prettierrc.cjs @@ -0,0 +1,15 @@ +module.exports = { + plugins: [ + require.resolve("prettier-plugin-astro"), + require.resolve("prettier-plugin-tailwindcss"), + ], + overrides: [ + { + files: "*.astro", + options: { + parser: "astro", + }, + }, + ], + }; + \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..8bd33c7 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,110 @@ +## Commit Message Format + +_This specification is inspired by and supersedes the [Brainclements commit message format](https://gist.github.com/brianclements/841ea7bffdb01346392c)._ + +We have very precise rules over how our Git commit messages must be formatted. +This format leads to **easier to read commit history**. + +Each commit message consists of a **header**, a **body**, and a **footer**. + +``` +
+ + + +