Skip to content

Commit 11bdccf

Browse files
committedDec 3, 2024
build: update to astro v5
1 parent fbf6be8 commit 11bdccf

6 files changed

+3698
-3587
lines changed
 

‎astro.config.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default defineConfig({
3636
simpleIcons: ["orcid"],
3737
},
3838
}),
39+
/** Only needed to make the astro jsx runtime work correctly. */
3940
mdx(),
4041
react({
4142
include: reactFiles,
@@ -54,7 +55,6 @@ export default defineConfig({
5455
exclude: reactFiles,
5556
}),
5657
],
57-
output: "hybrid",
5858
prefetch: {
5959
defaultStrategy: "hover",
6060
prefetchAll: true,
@@ -69,9 +69,6 @@ export default defineConfig({
6969
},
7070
},
7171
scopedStyleStrategy: "where",
72-
security: {
73-
checkOrigin: true,
74-
},
7572
server: {
7673
/** Required by keystatic. */
7774
host: "127.0.0.1",

‎package.json

+54-54
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"node": "22.x",
88
"pnpm": "9.x"
99
},
10-
"packageManager": "pnpm@9.9.0",
10+
"packageManager": "pnpm@9.14.4",
1111
"scripts": {
1212
"build": "astro build",
1313
"dev": "astro dev",
@@ -36,29 +36,29 @@
3636
"dependencies": {
3737
"@acdh-oeaw/lib": "^0.1.12",
3838
"@acdh-oeaw/validate-env": "^0.0.3",
39-
"@astrojs/mdx": "^3.1.5",
40-
"@astrojs/node": "^8.3.3",
41-
"@astrojs/react": "^3.6.2",
42-
"@astrojs/rss": "^4.0.7",
43-
"@astrojs/sitemap": "^3.1.6",
44-
"@astrojs/solid-js": "^4.4.1",
45-
"@fontsource-variable/inter": "^5.0.21",
46-
"@iconify-json/lucide": "^1.2.3",
47-
"@iconify-json/simple-icons": "^1.2.2",
48-
"@keystatic/astro": "^5.0.0",
49-
"@keystatic/core": "^0.5.34",
50-
"@mdx-js/mdx": "^3.0.1",
51-
"@shikijs/rehype": "^1.16.2",
39+
"@astrojs/mdx": "^4.0.1",
40+
"@astrojs/node": "^9.0.0",
41+
"@astrojs/react": "^4.0.0",
42+
"@astrojs/rss": "^4.0.9",
43+
"@astrojs/sitemap": "^3.2.1",
44+
"@astrojs/solid-js": "^5.0.0",
45+
"@fontsource-variable/inter": "^5.1.0",
46+
"@iconify-json/lucide": "^1.2.17",
47+
"@iconify-json/simple-icons": "^1.2.14",
48+
"@keystatic/astro": "^5.0.3",
49+
"@keystatic/core": "^0.5.42",
50+
"@mdx-js/mdx": "^3.1.0",
51+
"@shikijs/rehype": "^1.24.0",
5252
"@sindresorhus/slugify": "^2.2.1",
53-
"astro": "^4.15.4",
54-
"astro-icon": "^1.1.1",
53+
"astro": "^5.0.1",
54+
"astro-icon": "^1.1.4",
5555
"clsx": "^2.1.1",
56-
"date-fns": "^3.6.0",
57-
"estree-util-value-to-estree": "^3.1.2",
56+
"date-fns": "^4.1.0",
57+
"estree-util-value-to-estree": "^3.2.1",
5858
"hast-util-heading": "^3.0.0",
5959
"hast-util-heading-rank": "^3.0.0",
60-
"hast-util-to-string": "^3.0.0",
61-
"lucide-react": "^0.438.0",
60+
"hast-util-to-string": "^3.0.1",
61+
"lucide-react": "^0.464.0",
6262
"react": "^18.3.1",
6363
"react-dom": "^18.3.1",
6464
"rehype-slug": "^6.0.0",
@@ -67,55 +67,55 @@
6767
"remark-mdx-frontmatter": "^5.0.0",
6868
"remark-smartypants": "^3.0.2",
6969
"sharp": "^0.33.5",
70-
"shiki": "^1.16.2",
71-
"solid-js": "^1.8.22",
70+
"shiki": "^1.24.0",
71+
"solid-js": "^1.9.3",
7272
"unist-util-visit": "^5.0.0",
73-
"valibot": "^0.41.0",
74-
"vite": "^5.4.3"
73+
"valibot": "1.0.0-beta.9",
74+
"vite": "^6.0.2"
7575
},
7676
"devDependencies": {
77-
"@acdh-oeaw/eslint-config": "^2.0.1",
78-
"@acdh-oeaw/eslint-config-astro": "^2.0.2",
79-
"@acdh-oeaw/eslint-config-playwright": "^2.0.2",
80-
"@acdh-oeaw/eslint-config-react": "^2.0.2",
81-
"@acdh-oeaw/eslint-config-solid": "^2.0.3",
82-
"@acdh-oeaw/eslint-config-tailwindcss": "^2.0.1",
77+
"@acdh-oeaw/eslint-config": "^2.0.5",
78+
"@acdh-oeaw/eslint-config-astro": "^2.0.6",
79+
"@acdh-oeaw/eslint-config-playwright": "^2.0.6",
80+
"@acdh-oeaw/eslint-config-react": "^2.0.6",
81+
"@acdh-oeaw/eslint-config-solid": "^2.0.7",
82+
"@acdh-oeaw/eslint-config-tailwindcss": "^2.0.7",
8383
"@acdh-oeaw/prettier-config": "^2.0.0",
84-
"@acdh-oeaw/stylelint-config": "^2.0.4",
85-
"@acdh-oeaw/tsconfig": "^1.1.1",
86-
"@astrojs/check": "^0.9.3",
87-
"@astrojs/ts-plugin": "^1.10.2",
88-
"@playwright/test": "^1.47.0",
84+
"@acdh-oeaw/stylelint-config": "^2.0.5",
85+
"@acdh-oeaw/tsconfig": "^1.3.0",
86+
"@astrojs/check": "^0.9.4",
87+
"@astrojs/ts-plugin": "^1.10.4",
88+
"@playwright/test": "^1.49.0",
8989
"@tailwindcss/typography": "^0.5.15",
90-
"@types/estree": "^1.0.5",
90+
"@types/estree": "^1.0.6",
9191
"@types/hast": "^3.0.4",
9292
"@types/mdast": "^4.0.4",
9393
"@types/mdx": "^2.0.13",
94-
"@types/node": "^20.16.5",
95-
"@types/react": "^18.3.5",
96-
"@types/react-dom": "^18.3.0",
97-
"axe-core": "^4.10.0",
98-
"axe-playwright": "^2.0.2",
99-
"ci-info": "^4.0.0",
100-
"dotenv": "^16.4.5",
101-
"dotenv-expand": "^11.0.6",
102-
"eslint": "^9.10.0",
94+
"@types/node": "^22.10.1",
95+
"@types/react": "^18.3.12",
96+
"@types/react-dom": "^18.3.1",
97+
"axe-core": "^4.10.2",
98+
"axe-playwright": "^2.0.3",
99+
"ci-info": "^4.1.0",
100+
"dotenv": "^16.4.7",
101+
"dotenv-expand": "^12.0.1",
102+
"eslint": "^9.16.0",
103103
"eslint-config-flat-gitignore": "^0.3.0",
104-
"globals": "^15.9.0",
104+
"globals": "^15.13.0",
105105
"is-ci": "^3.0.1",
106106
"lint-staged": "^15.2.10",
107107
"mdast-util-mdx-jsx": "^3.1.3",
108-
"npm-run-all2": "^6.2.2",
109-
"postcss": "^8.4.45",
110-
"prettier": "^3.3.3",
108+
"npm-run-all2": "^7.0.1",
109+
"postcss": "^8.4.49",
110+
"prettier": "^3.4.1",
111111
"prettier-plugin-astro": "^0.14.1",
112-
"retext-smartypants": "^6.1.1",
112+
"retext-smartypants": "^6.2.0",
113113
"schema-dts": "^1.1.2",
114114
"simple-git-hooks": "^2.11.1",
115-
"stylelint": "^16.9.0",
116-
"tailwindcss": "^3.4.10",
117-
"type-fest": "^4.26.1",
118-
"typescript": "^5.5.4",
115+
"stylelint": "^16.11.0",
116+
"tailwindcss": "^3.4.16",
117+
"type-fest": "^4.30.0",
118+
"typescript": "^5.7.2",
119119
"vfile": "^6.0.3"
120120
},
121121
"browserslist": {

0 commit comments

Comments
 (0)