chore: bump astro to 4.0

This commit is contained in:
Maciej Jur 2023-12-05 23:25:25 +01:00
parent 3a18af36b3
commit 1273c8bf28
Signed by: kamov
GPG key ID: 191CBFF5F72ECAFD
4 changed files with 987 additions and 976 deletions

View file

@ -14,11 +14,12 @@ import remarkRuby from './src/utils/remark/ruby';
export default defineConfig({
site: 'https://kamoshi.org',
trailingSlash: 'always',
devToolbar: {
enabled: true,
},
markdown: {
remarkPlugins: [
// NOTE: pinned ^2.0.0
remarkDirective,
// NOTE: pinned ^5.0.0
remarkMath,
[remarkEmoji, { accessible: true }],
[remarkRuby, { sep: ';' }],
@ -32,9 +33,6 @@ export default defineConfig({
theme: 'min-light'
},
},
experimental: {
devOverlay: true,
},
integrations: [
mdx(),
solid(),

View file

@ -11,13 +11,13 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^1.1.5",
"@astrojs/mdx": "^2.0.0",
"@astrojs/solid-js": "^3.0.2",
"@citation-js/plugin-bibtex": "^0.7.2",
"@js-temporal/polyfill": "^0.4.4",
"astro": "^3.6.1",
"astro": "^4.0.1",
"astro-pagefind": "^1.3.0",
"chart.js": "^4.4.0",
"chart.js": "^4.4.1",
"citation-js": "^0.7.4",
"leaflet": "^1.9.4",
"leaflet.markercluster": "^1.5.3",
@ -26,14 +26,14 @@
"rehype-katex": "^7.0.0",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.0",
"remark-directive": "^2.0.1",
"remark-directive": "^3.0.0",
"remark-emoji": "^4.0.1",
"remark-gfm": "^4.0.0",
"remark-math": "^5.1.1",
"remark-math": "^6.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"reveal.js": "^5.0.2",
"solid-js": "^1.8.6",
"solid-js": "^1.8.7",
"unified": "^11.0.4",
"unist-util-visit": "^5.0.0"
},
@ -44,6 +44,6 @@
"@types/unist": "^3.0.2",
"pagefind": "^1.0.4",
"sass": "^1.69.5",
"sharp": "^0.32.6"
"sharp": "^0.33.0"
}
}

File diff suppressed because it is too large Load diff

View file

@ -34,7 +34,7 @@ I've decided to ditch fully-featured IDEs such as IntelliJ and lighter editors s
I also like the fact that the entire config for Neovim can be stored in a git repository. I uploaded mine to a [GitHub repository](https://github.com/kamoshi/dotfiles/tree/main/nvim) for anyone curious. You can use Lua to configure this editor instead of Vimscript, which is pretty cool, I like Lua.
![Neovim screengrab](../../assets/posts/neovim.png)
![Neovim screengrab](@assets/posts/neovim.png)
## Arch Linux
@ -53,7 +53,7 @@ On top of all that, Arch Linux is a rolling release distro, which means that eve
Below is an obligatory neofetch screenshot.
![Obligatory neofetch screengrab](../../assets/posts/arch.png)
![Obligatory neofetch screengrab](@assets/posts/arch.png)
For some time I probably won't be writing anything new in here. It's really ironic, but now that I do have a lot of time, I don't really have anything interesting to write about. I have a ton of things to do, which I couldn't really do while I was studying full time at a university.