diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f62da4b..cad7ee2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,9 @@ jobs: - name: Install Dependencies run: bun i + - name: Check style + run: bun lint + - name: Check for errors run: bun check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 146cd20..5aab4a8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,5 +21,11 @@ jobs: - name: Install bun uses: oven-sh/setup-bun@v2 + - name: Install dependencies + run: bun i + + - name: Check types + run: bun check + - name: Check style - run: bun run lint + run: bun lint diff --git a/bun.lockb b/bun.lockb index bdedac1..4f2de7f 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 5d05f8e..87186ee 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "devDependencies": { "@sveltejs/adapter-static": "^1.0.0", "@sveltejs/kit": "^1.0.1", - "@types/highlight.js": "^10.1.0", + "@types/highlightjs": "^9.12.6", "@types/html-minifier": "^4.0.2", "@types/showdown": "^2.0.6", "autoprefixer": "^10.4.13", @@ -30,8 +30,14 @@ "postcss-scss": "^4.0.6", "prettier": "^2.8.1", "prettier-plugin-svelte": "^2.9.0", + "rehype-highlight": "^7.0.0", + "rehype-raw": "^7.0.0", + "rehype-shift-heading": "^2.0.0", + "rehype-stringify": "^10.0.0", "remark-frontmatter": "^5.0.0", "remark-html": "^16.0.1", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.1.0", "sass": "^1.57.1", "showdown": "^2.1.0", "svelte": "^3.55.0", @@ -46,4 +52,4 @@ "highlight.js": "^11.7.0", "modern-normalize": "^1.1.0" } -} +} \ No newline at end of file