From e21f0f9bb97cbc4bd59f6bce0e0fce451b6d2b01 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 09 Aug 2023 04:28:09 +0000
Subject: [PATCH] change reading time to content meta

---
 package.json |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index 8b0af9c..0d5e7a0 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,7 +12,8 @@
     "url": "https://github.com/jackyzha0/quartz.git"
   },
   "scripts": {
-    "typecheck": "tsc --noEmit",
+    "check": "tsc --noEmit && npx prettier . --check",
+    "format": "npx prettier . --write",
     "test": "tsx ./quartz/path.test.ts"
   },
   "keywords": [
@@ -39,11 +40,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",
@@ -54,7 +58,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",
@@ -85,10 +89,12 @@
     "@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