From cdd0be2aa8c6e0a6d97779f3db3072952b54bf13 Mon Sep 17 00:00:00 2001
From: Jiangnan Li <lijn101@nenu.edu.cn>
Date: Sun, 08 Jun 2025 09:23:01 +0000
Subject: [PATCH] feat(giscus): expose language option for Comments component (#2012)

---
 package.json |  116 ++++++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 88 insertions(+), 28 deletions(-)

diff --git a/package.json b/package.json
index 15b4a57..ba07693 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,9 @@
 {
   "name": "@jackyzha0/quartz",
   "description": "🌱 publish your digital garden and notes as a website",
-  "version": "4.1.0",
+  "private": true,
+  "version": "4.5.1",
+  "type": "module",
   "author": "jackyzha0 <j.zhao2k19@gmail.com>",
   "license": "MIT",
   "homepage": "https://quartz.jzhao.xyz",
@@ -9,6 +11,18 @@
     "type": "git",
     "url": "https://github.com/jackyzha0/quartz.git"
   },
+  "scripts": {
+    "quartz": "./quartz/bootstrap-cli.mjs",
+    "docs": "npx quartz build --serve -d docs",
+    "check": "tsc --noEmit && npx prettier . --check",
+    "format": "npx prettier . --write",
+    "test": "tsx --test",
+    "profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1"
+  },
+  "engines": {
+    "npm": ">=10.9.2",
+    "node": ">=22"
+  },
   "keywords": [
     "site generator",
     "ssg",
@@ -18,38 +32,84 @@
     "quartz"
   ],
   "bin": {
-    "quartz": "./quartz/bootstrap.mjs"
+    "quartz": "./quartz/bootstrap-cli.mjs"
   },
   "dependencies": {
-    "@inquirer/prompts": "^1.0.3",
-    "chalk": "^4.1.2",
+    "@clack/prompts": "^0.11.0",
+    "@floating-ui/dom": "^1.7.0",
+    "@myriaddreamin/rehype-typst": "^0.6.0",
+    "@napi-rs/simple-git": "0.1.19",
+    "@tweenjs/tween.js": "^25.0.0",
+    "@webgpu/types": "^0.1.61",
+    "ansi-truncate": "^1.2.0",
+    "async-mutex": "^0.5.0",
+    "chokidar": "^4.0.3",
     "cli-spinner": "^0.2.10",
-    "esbuild": "0.17.18",
-    "globby": "^13.1.4",
-    "preact": "^10.14.1",
-    "preact-render-to-string": "^6.0.3",
+    "d3": "^7.9.0",
+    "esbuild-sass-plugin": "^3.3.1",
+    "flexsearch": "0.7.43",
+    "github-slugger": "^2.0.0",
+    "globby": "^14.1.0",
+    "gray-matter": "^4.0.3",
+    "hast-util-to-html": "^9.0.5",
+    "hast-util-to-jsx-runtime": "^2.3.6",
+    "hast-util-to-string": "^3.0.1",
+    "is-absolute-url": "^4.0.1",
+    "js-yaml": "^4.1.0",
+    "lightningcss": "^1.30.1",
+    "mdast-util-find-and-replace": "^3.0.2",
+    "mdast-util-to-hast": "^13.2.0",
+    "mdast-util-to-string": "^4.0.0",
+    "micromorph": "^0.4.5",
+    "minimatch": "^10.0.1",
+    "pixi.js": "^8.9.2",
+    "preact": "^10.26.7",
+    "preact-render-to-string": "^6.5.13",
+    "pretty-bytes": "^7.0.0",
     "pretty-time": "^1.1.0",
-    "rehype-react": "^7.2.0",
-    "remark": "^14.0.2",
-    "remark-parse": "^10.0.1",
-    "remark-rehype": "^10.1.0",
-    "require-from-string": "^2.0.2",
-    "rimraf": "^5.0.0",
-    "serve-handler": "^6.1.5",
-    "to-vfile": "^7.2.4",
-    "unified": "^10.1.2",
-    "vfile": "^5.3.7",
-    "yargs": "^17.7.2"
+    "reading-time": "^1.5.0",
+    "rehype-autolink-headings": "^7.1.0",
+    "rehype-citation": "^2.3.1",
+    "rehype-katex": "^7.0.1",
+    "rehype-mathjax": "^7.1.0",
+    "rehype-pretty-code": "^0.14.1",
+    "rehype-raw": "^7.0.0",
+    "rehype-slug": "^6.0.0",
+    "remark": "^15.0.1",
+    "remark-breaks": "^4.0.0",
+    "remark-frontmatter": "^5.0.0",
+    "remark-gfm": "^4.0.1",
+    "remark-math": "^6.0.0",
+    "remark-parse": "^11.0.0",
+    "remark-rehype": "^11.1.2",
+    "remark-smartypants": "^3.0.2",
+    "rfdc": "^1.4.1",
+    "satori": "^0.13.1",
+    "serve-handler": "^6.1.6",
+    "sharp": "^0.34.2",
+    "shiki": "^1.26.2",
+    "source-map-support": "^0.5.21",
+    "to-vfile": "^8.0.0",
+    "toml": "^3.0.0",
+    "unified": "^11.0.5",
+    "unist-util-visit": "^5.0.0",
+    "vfile": "^6.0.3",
+    "workerpool": "^9.2.0",
+    "ws": "^8.18.2",
+    "yargs": "^18.0.0"
   },
   "devDependencies": {
-    "@types/cli-spinner": "^0.2.1",
-    "@types/hast": "^2.3.4",
-    "@types/pretty-time": "^1.1.2",
-    "@types/require-from-string": "^1.2.1",
-    "@types/serve-handler": "^6.1.1",
-    "@types/yargs": "^17.0.24",
-    "@types/node": "^20.1.2",
-    "esbuild": "0.17.18",
-    "typescript": "^5.0.4"
+    "@types/d3": "^7.4.3",
+    "@types/hast": "^3.0.4",
+    "@types/js-yaml": "^4.0.9",
+    "@types/node": "^22.15.23",
+    "@types/pretty-time": "^1.1.5",
+    "@types/source-map-support": "^0.5.10",
+    "@types/ws": "^8.18.1",
+    "@types/yargs": "^17.0.33",
+    "esbuild": "^0.25.5",
+    "prettier": "^3.5.3",
+    "tsx": "^4.19.4",
+    "typescript": "^5.8.3"
   }
 }

--
Gitblit v1.10.0