From 0998bc355e6425e6b2bdf3d2da7124aa7b63b2a2 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 17 Aug 2023 08:58:11 +0000
Subject: [PATCH] fix rebuild debouncing
---
package.json | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/package.json b/package.json
index 622c38a..17e46b0 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "@jackyzha0/quartz",
"description": "🌱 publish your digital garden and notes as a website",
"private": true,
- "version": "4.0.5",
+ "version": "4.0.7",
"type": "module",
"author": "jackyzha0 <j.zhao2k19@gmail.com>",
"license": "MIT",
@@ -12,8 +12,10 @@
"url": "https://github.com/jackyzha0/quartz.git"
},
"scripts": {
- "typecheck": "tsc --noEmit",
- "test": "tsx ./quartz/path.test.ts"
+ "check": "tsc --noEmit && npx prettier . --check",
+ "format": "npx prettier . --write",
+ "test": "tsx ./quartz/util/path.test.ts",
+ "profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1"
},
"keywords": [
"site generator",
@@ -31,6 +33,7 @@
"@floating-ui/dom": "^1.4.0",
"@napi-rs/simple-git": "^0.1.8",
"chalk": "^4.1.2",
+ "chokidar": "^3.5.3",
"cli-spinner": "^0.2.10",
"d3": "^7.8.5",
"esbuild-sass-plugin": "^2.9.0",
@@ -38,11 +41,14 @@
"github-slugger": "^2.0.0",
"globby": "^13.1.4",
"gray-matter": "^4.0.3",
+ "hast-util-to-html": "^8.0.4",
"hast-util-to-jsx-runtime": "^1.2.0",
"hast-util-to-string": "^2.0.0",
"is-absolute-url": "^4.0.1",
"js-yaml": "^4.1.0",
+ "lightningcss": "^1.21.5",
"mdast-util-find-and-replace": "^2.2.2",
+ "mdast-util-to-hast": "^12.3.0",
"mdast-util-to-string": "^3.2.0",
"micromorph": "^0.4.5",
"plausible-tracker": "^0.3.8",
@@ -53,7 +59,7 @@
"reading-time": "^1.5.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-katex": "^6.0.3",
- "rehype-mathjax": "^4.0.2",
+ "rehype-mathjax": "^4.0.3",
"rehype-pretty-code": "^0.10.0",
"rehype-raw": "^6.1.1",
"rehype-slug": "^5.1.0",
@@ -72,6 +78,7 @@
"unist-util-visit": "^4.1.2",
"vfile": "^5.3.7",
"workerpool": "^6.4.0",
+ "ws": "^8.13.0",
"yargs": "^17.7.2"
},
"devDependencies": {
@@ -82,10 +89,12 @@
"@types/js-yaml": "^4.0.5",
"@types/node": "^20.1.2",
"@types/pretty-time": "^1.1.2",
- "@types/serve-handler": "^6.1.1",
+ "@types/source-map-support": "^0.5.6",
"@types/workerpool": "^6.4.0",
+ "@types/ws": "^8.5.5",
"@types/yargs": "^17.0.24",
"esbuild": "^0.18.11",
+ "prettier": "^3.0.0",
"tsx": "^3.12.7",
"typescript": "^5.0.4"
}
--
Gitblit v1.10.0