build: update to astro 3.0

This commit is contained in:
Maciej Jur 2023-09-01 23:01:54 +02:00
parent c138af1677
commit a0891caa5f
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD
5 changed files with 1054 additions and 749 deletions

View file

@ -20,7 +20,7 @@ export default defineConfig({
remarkDirective, remarkDirective,
[remarkRuby, {separator: ';'}], [remarkRuby, {separator: ';'}],
remarkBibliography, remarkBibliography,
[remarkEmoji as any, {accessible: true}], [remarkEmoji, {accessible: true}],
remarkMath, remarkMath,
], ],
rehypePlugins: [ rehypePlugins: [
@ -30,9 +30,6 @@ export default defineConfig({
theme: 'min-light' theme: 'min-light'
} }
}, },
experimental: {
assets: true,
},
integrations: [ integrations: [
mdx(), mdx(),
solid(), solid(),

View file

@ -11,38 +11,38 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/mdx": "^0.19.7", "@astrojs/mdx": "^1.0.0",
"@astrojs/solid-js": "^2.2.1", "@astrojs/solid-js": "^3.0.0",
"@citation-js/plugin-bibtex": "^0.6.8", "@citation-js/plugin-bibtex": "^0.6.8",
"@js-temporal/polyfill": "^0.4.4", "@js-temporal/polyfill": "^0.4.4",
"astro": "^2.10.12", "astro": "^3.0.6",
"astro-pagefind": "^1.2.3", "astro-pagefind": "^1.2.3",
"chart.js": "^4.3.3", "chart.js": "^4.4.0",
"citation-js": "^0.6.8", "citation-js": "^0.6.8",
"dayjs": "^1.11.9", "dayjs": "^1.11.9",
"leaflet": "^1.9.4", "leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3", "leaflet.markercluster": "^1.5.3",
"mdast-util-to-string": "^3.2.0", "mdast-util-to-string": "^4.0.0",
"purify-ts": "^2.0.1", "purify-ts": "^2.0.1",
"rehype-katex": "^6.0.3", "rehype-katex": "^6.0.3",
"rehype-raw": "^6.1.1", "rehype-raw": "^7.0.0",
"rehype-stringify": "^9.0.4", "rehype-stringify": "^10.0.0",
"remark-directive": "^2.0.1", "remark-directive": "^2.0.1",
"remark-emoji": "^3.1.2", "remark-emoji": "^4.0.0",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"remark-math": "^5.1.1", "remark-math": "^5.1.1",
"remark-parse": "^10.0.2", "remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0", "remark-rehype": "^10.1.0",
"reveal.js": "^4.5.0", "reveal.js": "^4.5.0",
"solid-js": "^1.7.11", "solid-js": "^1.7.11",
"unified": "^10.1.2", "unified": "^11.0.2",
"unist-util-visit": "^4.1.2" "unist-util-visit": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/leaflet": "^1.9.3", "@types/leaflet": "^1.9.4",
"@types/leaflet.markercluster": "^1.5.1", "@types/leaflet.markercluster": "^1.5.2",
"@types/reveal.js": "^4.4.2", "@types/reveal.js": "^4.4.2",
"@types/unist": "^2.0.7", "@types/unist": "^3.0.0",
"pagefind": "^0.12.0", "pagefind": "^0.12.0",
"sass": "^1.66.1" "sass": "^1.66.1"
} }

File diff suppressed because it is too large Load diff

2
src/env.d.ts vendored
View file

@ -1,2 +1,2 @@
/// <reference path="../.astro/types.d.ts" /> /// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client-image" /> /// <reference types="astro/client" />