Skip to content

Commit

Permalink
Merge pull request #23 from LyonSyonII/dev
Browse files Browse the repository at this point in the history
Rewrite CodeBlock.svelte into CodeBlock.astro
  • Loading branch information
LyonSyonII authored Dec 20, 2023
2 parents a862b07 + b7ba4a5 commit 9ba1f1e
Show file tree
Hide file tree
Showing 15 changed files with 1,947 additions and 4,942 deletions.
2 changes: 0 additions & 2 deletions frontend/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
import svelte from "@astrojs/svelte";
import { visualizer } from "rollup-plugin-visualizer";
import compress from "astro-compress";
import robotsTxt from "astro-robots-txt";
Expand Down Expand Up @@ -47,7 +46,6 @@ export default defineConfig({
},
},
}),
svelte(),
// TODO: Does not work at the moment
// https://github.com/alextim/astro-lib/tree/main/packages/astro-webmanifest
/* webmanifest({
Expand Down
8 changes: 3 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
"analyze": "source-map-explorer 'dist/_astro/*.js'"
},
"dependencies": {
"@codemirror/autocomplete": "^6.11.1",
"@codemirror/commands": "^6.3.2",
"@codemirror/lang-rust": "^6.0.1",
"@codemirror/language": "^6.9.3",
"@codemirror/search": "^6.5.5",
"@codemirror/state": "^6.3.3",
"@codemirror/view": "^6.22.3",
"@lezer/highlight": "^1.2.0",
Expand All @@ -23,9 +26,6 @@
"devDependencies": {
"@astrojs/check": "^0.3.3",
"@astrojs/starlight": "^0.15.1",
"@astrojs/svelte": "^5.0.1",
"@svelte-put/clickoutside": "^3.0.1",
"@svelte-put/shortcut": "^3.1.0",
"astro": "^4.0.6",
"astro-compress": "^2.2.5",
"astro-robots-txt": "^1.0.0",
Expand All @@ -35,8 +35,6 @@
"prettier-plugin-svelte": "^3.1.2",
"rollup-plugin-visualizer": "^5.11.0",
"sharp": "^0.33.1",
"svelte": "^4.2.8",
"svelte-codemirror-editor": "^1.2.0",
"terser": "^5.26.0",
"typescript": "^5.3.3"
}
Expand Down
Loading

0 comments on commit 9ba1f1e

Please sign in to comment.