From 57ff36f07a6d9ca8026fc8b5d638431749f7578e Mon Sep 17 00:00:00 2001 From: Mark Teekman Date: Thu, 6 Oct 2022 14:21:32 +0200 Subject: [PATCH] Cleanup project --- .npmrc | 2 +- .stylelintrc.json | 7 ------- astro.config.mjs | 8 +------- package.json | 9 +++------ postcss.config.cjs | 5 ----- public/robots.txt | 2 -- src/components/Navigation.astro | 2 +- src/layouts/DefaultLayout.astro | 2 +- 8 files changed, 7 insertions(+), 30 deletions(-) delete mode 100644 .stylelintrc.json delete mode 100644 postcss.config.cjs delete mode 100644 public/robots.txt diff --git a/.npmrc b/.npmrc index 0cc653b..e5f7648 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ -## force pnpm to hoist +# Expose Astro dependencies for `pnpm` users shamefully-hoist = true \ No newline at end of file diff --git a/.stylelintrc.json b/.stylelintrc.json deleted file mode 100644 index b71a17c..0000000 --- a/.stylelintrc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "stylelint-config-standard", - "rules": { - "at-rule-no-unknown": null, - "at-rule-empty-line-before": null - } -} diff --git a/astro.config.mjs b/astro.config.mjs index f10915c..4890b6f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,10 +1,4 @@ import { defineConfig } from 'astro/config' // https://astro.build/config -export default defineConfig({ - vite: { - ssr: { - external: ['svgo'] - } - } -}) +export default defineConfig({}) diff --git a/package.json b/package.json index 7bc8927..38981ef 100644 --- a/package.json +++ b/package.json @@ -11,14 +11,11 @@ "preview": "astro preview" }, "dependencies": { - "accessible-astro-components": "^1.5.6", + "accessible-astro-components": "^1.5.7", "astro-icon": "^0.7.3" }, "devDependencies": { - "astro": "^1.1.5", - "autoprefixer": "^10.4.0", - "sass": "^1.49.9", - "stylelint": "^13.13.1", - "stylelint-config-standard": "^22.0.0" + "astro": "^1.4.4", + "sass": "^1.49.9" } } diff --git a/postcss.config.cjs b/postcss.config.cjs deleted file mode 100644 index a47ef4f..0000000 --- a/postcss.config.cjs +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - plugins: { - autoprefixer: {}, - }, -}; diff --git a/public/robots.txt b/public/robots.txt deleted file mode 100644 index 1f53798..0000000 --- a/public/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: / diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index 4e2d0a6..9778ff5 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -37,7 +37,7 @@ import { Icon } from 'astro-icon' Your Logo - +