Skip to content

Commit 9978ebc

Browse files
committed
Merge branch 'ep2025' into ep2025-firstimespeakersworkshop-cta
2 parents 923a23d + d0227ba commit 9978ebc

File tree

14 files changed

+1189
-1337
lines changed

14 files changed

+1189
-1337
lines changed

astro.config.mjs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,22 @@ import metaTags from "astro-meta-tags";
1111
import pagefind from "astro-pagefind";
1212
import deleteUnusedImages from "astro-delete-unused-images";
1313
import preload from "astro-preload";
14+
import { execSync } from "node:child_process";
15+
16+
let gitVersion = "";
17+
try {
18+
gitVersion = execSync("git rev-parse --short HEAD 2>&1 > /dev/null");
19+
} catch (e) {}
1420

1521
// https://astro.build/config
1622
export default defineConfig({
1723
vite: {
1824
define: {
19-
"process.env.VITE_BUILD_TIME": JSON.stringify(new Date().toISOString()),
25+
"import.meta.env.TIMESTAMP": new Date()
26+
.toISOString()
27+
.replace(/[-:T.Z]/g, "")
28+
.slice(0, 14),
29+
"import.meta.env.GIT_VERSION": new String(gitVersion),
2030
},
2131
resolve: {
2232
alias: {
@@ -76,7 +86,4 @@ export default defineConfig({
7686
remotePatterns: [{ protocol: "https" }],
7787
domains: ["programme.europython.eu", "placehold.co"],
7888
},
79-
experimental: {
80-
svg: true,
81-
},
8289
});

package.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
"dependencies": {
1414
"@astro-community/astro-embed-youtube": "^0.5.6",
1515
"@astrojs/check": "^0.9.4",
16-
"@astrojs/mdx": "^4.2.3",
17-
"@astrojs/react": "^4.2.3",
18-
"@astrojs/sitemap": "^3.3.0",
16+
"@astrojs/mdx": "^4.2.5",
17+
"@astrojs/react": "^4.2.5",
18+
"@astrojs/sitemap": "^3.3.1",
1919
"@astrojs/tailwind": "^5.1.5",
2020
"@fontsource-variable/inter": "^5.2.5",
2121
"@fortawesome/fontawesome-free": "^6.7.2",
2222
"@tailwindcss/typography": "^0.5.16",
23-
"@types/react": "^19.1.0",
24-
"@types/react-dom": "^19.1.1",
25-
"astro": "^5.5.2",
23+
"@types/react": "^19.1.2",
24+
"@types/react-dom": "^19.1.2",
25+
"astro": "^5.7.5",
2626
"astro-delete-unused-images": "^1.0.3",
2727
"astro-meta-tags": "^0.3.1",
2828
"astro-pagefind": "^1.8.3",
@@ -32,21 +32,23 @@
3232
"date-fns-tz": "^3.2.0",
3333
"hastscript": "^9.0.1",
3434
"js-yaml": "^4.1.0",
35-
"marked": "^15.0.7",
35+
"marked": "^15.0.11",
3636
"pagefind": "^1.3.0",
3737
"react": "^19.1.0",
3838
"react-dom": "^19.1.0",
3939
"rehype-autolink-headings": "^7.1.0",
4040
"rehype-slug": "^6.0.0",
4141
"remark-toc": "^9.0.0",
42-
"sharp": "^0.34.0",
42+
"sharp": "^0.34.1",
4343
"tailwindcss": "^3.4.17",
4444
"typescript": "^5.8.3"
4545
},
4646
"devDependencies": {
4747
"@types/js-yaml": "^4.0.9",
4848
"prettier": "^3.5.3",
49-
"prettier-plugin-astro": "^0.14.1"
49+
"prettier-plugin-astro": "^0.14.1",
50+
"tsx": "^4.19.3",
51+
"typescript": "^5.8.3"
5052
},
5153
"prettier": {
5254
"proseWrap": "always"

0 commit comments

Comments
 (0)