From ad4145fb10dbf32d8f99e1de555339dba0979f72 Mon Sep 17 00:00:00 2001
From: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
Date: Sat, 26 Aug 2023 20:21:44 +0000
Subject: [PATCH] feat: support CLI arguments for `npx quartz create` (#421)
---
package.json | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/package.json b/package.json
index 0d5e7a0..6ed52d6 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.7",
+ "version": "4.0.10",
"type": "module",
"author": "jackyzha0 <j.zhao2k19@gmail.com>",
"license": "MIT",
@@ -12,9 +12,14 @@
"url": "https://github.com/jackyzha0/quartz.git"
},
"scripts": {
+ "docs": "npx quartz build --serve -d docs",
"check": "tsc --noEmit && npx prettier . --check",
"format": "npx prettier . --write",
- "test": "tsx ./quartz/path.test.ts"
+ "test": "tsx ./quartz/util/path.test.ts",
+ "profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1"
+ },
+ "engines": {
+ "node": ">=18.14"
},
"keywords": [
"site generator",
@@ -30,12 +35,13 @@
"dependencies": {
"@clack/prompts": "^0.6.3",
"@floating-ui/dom": "^1.4.0",
- "@napi-rs/simple-git": "^0.1.8",
+ "@napi-rs/simple-git": "0.1.9",
+ "async-mutex": "^0.4.0",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"cli-spinner": "^0.2.10",
"d3": "^7.8.5",
- "esbuild-sass-plugin": "^2.9.0",
+ "esbuild-sass-plugin": "^2.12.0",
"flexsearch": "0.7.21",
"github-slugger": "^2.0.0",
"globby": "^13.1.4",
@@ -45,7 +51,7 @@
"hast-util-to-string": "^2.0.0",
"is-absolute-url": "^4.0.1",
"js-yaml": "^4.1.0",
- "lightningcss": "^1.21.5",
+ "lightningcss": "1.21.7",
"mdast-util-find-and-replace": "^2.2.2",
"mdast-util-to-hast": "^12.3.0",
"mdast-util-to-string": "^3.2.0",
@@ -73,6 +79,7 @@
"serve-handler": "^6.1.5",
"source-map-support": "^0.5.21",
"to-vfile": "^7.2.4",
+ "toml": "^3.0.0",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"vfile": "^5.3.7",
@@ -88,12 +95,11 @@
"@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",
+ "esbuild": "0.19.2",
"prettier": "^3.0.0",
"tsx": "^3.12.7",
"typescript": "^5.0.4"
--
Gitblit v1.10.0