Skip to content

Commit

Permalink
Merge pull request #3 from LyonSyonII/dev
Browse files Browse the repository at this point in the history
v1.3.0: Third chapter finished
  • Loading branch information
LyonSyonII authored Dec 7, 2023
2 parents 0d17153 + c4268d3 commit 72a7283
Show file tree
Hide file tree
Showing 32 changed files with 2,357 additions and 661 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy

on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}

- name: Create Release
uses: ncipollo/[email protected]
with:
allowUpdates: true
draft: false
makeLatest: true
name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changes }}
token: ${{ github.token }}

- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# build output
**/dist/
stats.html
# generated types
**/.astro/

Expand Down
5 changes: 4 additions & 1 deletion frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
dist
build
coverage
node_modules
node_modules
.astro
**/*.mdx
15 changes: 12 additions & 3 deletions frontend/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import preact from "@astrojs/preact";
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";

// https://astro.build/config
export default defineConfig({
Expand All @@ -16,6 +16,7 @@ export default defineConfig({
src: "./src/assets/ferris.svg",
// replacesTitle: true,
},

social: {
github: "https://github.com/lyonsyonii/rust-quest",
},
Expand Down Expand Up @@ -46,5 +47,13 @@ export default defineConfig({
},
}),
svelte(),
compress(),
],
});
vite: {
plugins: [visualizer()],
},
markdown: {
remarkPlugins: [],
extendDefaultPlugins: true,
}
});
30 changes: 16 additions & 14 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,34 @@
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"prettier": "prettier --write ."
"prettier": "prettier --write .",
"analyze": "source-map-explorer 'dist/_astro/*.js'"
},
"dependencies": {
"@astrojs/check": "^0.3.1",
"@astrojs/preact": "^3.0.1",
"@astrojs/starlight": "^0.12.0",
"@astrojs/svelte": "^4.0.3",
"@astrojs/starlight": "^0.12.1",
"@astrojs/svelte": "^4.0.4",
"@codemirror/lang-rust": "^6.0.1",
"@codemirror/language": "^6.9.2",
"@codemirror/state": "^6.3.1",
"@codemirror/language": "^6.9.3",
"@codemirror/state": "^6.3.3",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.22.0",
"@codemirror/view": "^6.22.1",
"@ddietr/codemirror-themes": "^1.4.2",
"@lezer/highlight": "^1.2.0",
"astro": "^3.2.3",
"sharp": "^0.32.5",
"svelte": "^4.0.0",
"svelte-codemirror-editor": "^1.1.0",
"typescript": "^5.2.2"
"@macfja/svelte-persistent-store": "^2.4.1",
"astro": "^3.6.4",
"astro-compress": "^2.2.3",
"svelte": "^4.2.8",
"svelte-codemirror-editor": "^1.2.0",
"typescript": "^5.3.3"
},
"devDependencies": {
"@iconify/svelte": "^3.1.4",
"@svelte-put/clickoutside": "^3.0.0",
"@svelte-put/clickoutside": "^3.0.1",
"@svelte-put/shortcut": "^3.0.0",
"prettier": "^3.1.0",
"prettier-plugin-astro": "^0.12.2",
"prettier-plugin-svelte": "^3.1.0"
"prettier-plugin-svelte": "^3.1.2",
"rollup-plugin-visualizer": "^5.10.0"
}
}
Loading

0 comments on commit 72a7283

Please sign in to comment.