Skip to content
Open
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
34 changes: 18 additions & 16 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import sitemap from "@astrojs/sitemap";
import remarkToc from "remark-toc";
import rehypeSlug from "rehype-slug";
import rehypeAutolinkHeadings from "rehype-autolink-headings";
import { unified } from "@astrojs/markdown-remark";
import metaTags from "astro-meta-tags";
import deleteUnusedImages from "astro-delete-unused-images";
import { execSync } from "node:child_process";
Expand Down Expand Up @@ -131,24 +132,25 @@ export default defineConfig({
plugins: [tailwindcss(), syncKeynoterImages()],
},
markdown: {
remarkPlugins: [
[
remarkToc,
{
heading: "contents",
},
processor: unified({
remarkPlugins: [
[
remarkToc,
{
heading: "contents",
},
],
],
],
rehypePlugins: [
rehypeSlug,
[
rehypeAutolinkHeadings,
{
behavior: "wrap",
},
rehypePlugins: [
rehypeSlug,
[
rehypeAutolinkHeadings,
{
behavior: "wrap",
},
],
],
],
plugins: [tailwindcss()],
}),
},
site: process.env.SITE_URL || "https://ep2026.europython.eu",
redirects: {
Expand Down
41 changes: 23 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
},
"dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.10",
"@astrojs/check": "^0.9.9",
"@astrojs/mdx": "^4.3.14",
"@astrojs/check": "^0.9.10",
"@astrojs/markdown-remark": "^7.2.2",
"@astrojs/mdx": "^7.0.5",
"@astrojs/sitemap": "^3.7.3",
"@astrojs/svelte": "^7.2.5",
"@astrojs/svelte": "^9.0.1",
"@astrojs/ts-plugin": "^1.10.10",
"@fortawesome/fontawesome-free": "^6.7.2",
"@nanostores/persistent": "^1.3.4",
"@nanostores/persistent": "^1.3.5",
"@tailwindcss/typography": "^0.5.20",
"@tailwindcss/vite": "^4.3.2",
"astro": "^6.4.8",
"astro-compress": "^2.4.1",
"@tailwindcss/vite": "^4.3.3",
"astro": "^7.2.0",
"astro-compress": "^2.4.2",
"astro-delete-unused-images": "^1.0.3",
"astro-meta-tags": "^0.2.2",
"astro-pagefind": "^1.8.6",
Expand All @@ -34,31 +35,31 @@
"date-fns-tz": "^3.2.0",
"lite-youtube-embed": "^0.3.4",
"marked": "^16.4.2",
"nanostores": "^1.4.0",
"nanostores": "^1.4.2",
"pagefind": "^1.5.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-toc": "^9.0.0",
"sharp": "^0.34.5",
"svelte": "^5.56.4",
"tailwindcss": "^4.3.2",
"svelte": "^5.56.8",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.3",
"vite": "^6.4.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.6.0",
"eslint": "^10.8.0",
"eslint-plugin-astro": "^2.1.1",
"eslint-plugin-svelte": "^3.20.0",
"globals": "^17.7.0",
"eslint-plugin-svelte": "^3.22.0",
"globals": "^17.9.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"lint-staged": "^17.3.0",
"oxipng": "^1.0.1",
"prettier": "^3.9.4",
"prettier": "^3.9.6",
"prettier-plugin-astro": "^0.14.1",
"svgo": "^4.0.1",
"svgo": "^4.0.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.62.1"
"typescript-eslint": "^8.66.0"
},
"prettier": {
"proseWrap": "always"
Expand Down Expand Up @@ -87,7 +88,11 @@
"astro@<6.1.10": ">=6.1.10",
"esbuild@>=0.27.3 <0.28.1": ">=0.28.1",
"astro@<6.3.3": ">=6.3.3",
"astro@<6.4.6": ">=6.4.6"
"astro@<6.4.6": ">=6.4.6",
"astro@>=2.9.0 <=7.0.9": ">=7.1.0",
"astro@<7.0.6": ">=7.0.6",
"astro@>=3.10.0 <7.0.4": ">=7.0.4",
"sharp@<0.35.0": ">=0.35.0"
}
}
}
Loading
Loading