diff --git a/.github/renovate.json b/.github/renovate.json deleted file mode 100644 index 38f7729..0000000 --- a/.github/renovate.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": ["config:base"], - "dependencyDashboard": false, - "labels": ["renovate"], - "automerge": true, - "rangeStrategy": "bump", - "schedule": ["before 3am on Monday"] -} diff --git a/astro.config.mjs b/astro.config.mjs index d630352..b0a8bb7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,8 +1,11 @@ +// https://astro.build/config import { defineConfig } from "astro/config"; import sitemap from "@astrojs/sitemap"; -// https://astro.build/config export default defineConfig({ site: "https://astro-multiverse.netlify.app", + experimental: { + assets: true, + }, integrations: [sitemap()], }); diff --git a/netlify.toml b/netlify.toml index dea320c..4f15c69 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,8 @@ [build] command = "pnpm run build" publish = "dist" + +[[plugins]] + # Netlify Plugin Lighthouse + # see detail: https://github.com/netlify/netlify-plugin-lighthouse + package = "@netlify/plugin-lighthouse" \ No newline at end of file diff --git a/package.json b/package.json index 9447c3e..193259a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/image": "^0.16.0", + "@astrojs/sitemap": "^1.2.0", "astro": "^2.1.2" } } diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..0364be3 --- /dev/null +++ b/renovate.json @@ -0,0 +1,15 @@ +{ + "extends": ["config:base"], + "dependencyDashboard": false, + "labels": ["renovate"], + "automerge": true, + "schedule": ["before 3am on Monday"], + "packageRules": [ + { + "groupName": "astro", + "labels": ["astro"], + "matchPackageNames": ["astro"], + "matchPackagePatterns": ["^@astro", "^astro"] + } + ] +} diff --git a/src/components/Thumb.astro b/src/components/Thumb.astro index 7753509..03d5752 100644 --- a/src/components/Thumb.astro +++ b/src/components/Thumb.astro @@ -1,12 +1,12 @@ --- -import {Image} from "@astrojs/image/components"; +import { Image } from "astro:assets"; const { href, title, description } = Astro.props; ---
- + Astro Multiverse

{title}

{description}

diff --git a/src/env.d.ts b/src/env.d.ts index 3f1cb6e..b8736c7 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1,2 +1,2 @@ /// -/// \ No newline at end of file +/// diff --git a/tsconfig.json b/tsconfig.json index fb3164b..1a46b47 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,3 @@ { - "extends": "astro/tsconfigs/base", - "compilerOptions": { - "types": ["@astrojs/image/client"], - "allowJs": true, - "baseUrl": ".", - "paths": { - "~/*": ["src/*"] - } - } + "extends": "astro/tsconfigs/base" } \ No newline at end of file