From 76fa9bbe00eba4249b12ef7c86ccdac4faa6051f Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 23 Jul 2023 00:39:10 +0000
Subject: [PATCH] run prettier on ci

---
 package.json |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 9d6ae92..64967a6 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.4",
+  "version": "4.0.5",
   "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": [
@@ -31,6 +32,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",
@@ -48,6 +50,7 @@
     "plausible-tracker": "^0.3.8",
     "preact": "^10.14.1",
     "preact-render-to-string": "^6.0.3",
+    "pretty-bytes": "^6.1.0",
     "pretty-time": "^1.1.0",
     "reading-time": "^1.5.0",
     "rehype-autolink-headings": "^6.1.1",
@@ -65,11 +68,13 @@
     "remark-smartypants": "^2.0.0",
     "rimraf": "^5.0.1",
     "serve-handler": "^6.1.5",
+    "source-map-support": "^0.5.21",
     "to-vfile": "^7.2.4",
     "unified": "^10.1.2",
     "unist-util-visit": "^4.1.2",
     "vfile": "^5.3.7",
     "workerpool": "^6.4.0",
+    "ws": "^8.13.0",
     "yargs": "^17.7.2"
   },
   "devDependencies": {
@@ -82,8 +87,10 @@
     "@types/pretty-time": "^1.1.2",
     "@types/serve-handler": "^6.1.1",
     "@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