Skip to content

Commit

Permalink
Migrate to static build
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Mar 4, 2022
1 parent aad427d commit 18ee020
Show file tree
Hide file tree
Showing 15 changed files with 930 additions and 1,144 deletions.
16 changes: 16 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ const config: AstroUserConfig = {
buildOptions: {
site: "https://princesseuh.netlify.app/",
},
markdownOptions: {
render: [
"@astrojs/markdown-remark",
{
// Pick a syntax highlighter. Can be 'prism' (default), 'shiki' or false to disable any highlighting.
syntaxHighlight: "shiki",
// If you are using shiki, here you can define a global theme and
// add custom languages.
shikiConfig: {
theme: "material-darker",
langs: [],
wrap: false,
},
},
],
},
renderers: [],
vite: {
optimizeDeps: {
Expand Down
2 changes: 1 addition & 1 deletion content/wiki/computers/vscodepico8/vscodepico8.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Start-Process .\reload-pico8.exe
And to reload PICO-8, this AHK script was used:
```autohotkey
```plaintext
if WinExist("ahk_exe pico8.exe")
WinActivate ; use the window found above
SendInput, ^{r}
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,35 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "astro dev",
"dev": "astro dev --experimental-static-build",
"build": "astro build",
"build:static": "astro build --experimental-static-build",
"preview": "astro preview",
"lint": "eslint . --ext .ts,.js"
},
"devDependencies": {
"@11ty/eleventy-img": "^1.0.0",
"@types/node": "^17.0.14",
"astro": "^0.22.20",
"typescript": "^4.5.5"
"@11ty/eleventy-img": "^1.1.0",
"@types/node": "^17.0.21",
"astro": "^0.23",
"typescript": "^4.6.2"
},
"dependencies": {
"@types/eslint": "^8.4.1",
"@types/prettier": "^2.4.3",
"@types/tailwindcss": "^3.0.5",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"astro-eleventy-img": "^0.2.1",
"astro-icon": "0.5.3",
"astro-social-images": "^0.3.1",
"@types/prettier": "^2.4.4",
"@types/tailwindcss": "^3.0.9",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"astro-eleventy-img": "^0.2.3",
"astro-icon": "0.6.0",
"astro-social-images": "^0.3.3",
"autoprefixer": "^10.4.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"netlify-plugin-cache": "^1.0.3",
"prettier": "^2.5.1",
"prettier-plugin-astro": "^0.0.12",
"quicklink": "^2.2.0",
"tailwindcss": "^3.0.18"
"tailwindcss": "^3.0.23"
}
}
Loading

0 comments on commit 18ee020

Please sign in to comment.