-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
269 lines (269 loc) · 12.2 KB
/
Copy pathpackage.json
File metadata and controls
269 lines (269 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
{
"name": "@aarnphm/aarnphm.github.io",
"version": "4.6.0",
"private": true,
"description": "🌱 heavily modified version of Quartz for Aaron's notes",
"keywords": [
"blog",
"digital-garden",
"markdown",
"quartz",
"site generator",
"ssg"
],
"homepage": "https://aarnphm.xyz",
"license": "MIT",
"author": "Aaron Pham <contact@aarnphm.xyz>",
"repository": {
"type": "git",
"url": "https://github.com/aarnphm/aarnphm.github.io.git"
},
"bin": {
"quartz": "./quartz/bootstrap-cli.mjs"
},
"type": "module",
"scripts": {
"bundle": "pnpm exec quartz/bootstrap-cli.mjs build --concurrency 10 --bundleInfo --verbose",
"bundle:info": "pnpm exec quartz/bootstrap-cli.mjs bundleInfo",
"bundle:dev": "CF_PAGES=1 NODE_ENV=development pnpm bundle",
"prod": "NODE_ENV=production pnpm bundle",
"test": "tsx --test",
"embed": "USE_VLLM=1 VLLM_URL=\"http://localhost:8000/v1/embeddings\" uv run quartz/embed_build.py --jsonl public/embeddings-text.jsonl --model \"google/embeddinggemma-300m\" --out content/embeddings --dtype fp32 --dims 768 --chunk-size 128 --chunk-overlap 64 --concurrency 24 --batch-size 192 --max-tokens 2048",
"swarm": "pnpm exec tsx quartz/scripts/dev.ts",
"dev": "node quartz/scripts/dev-container.mjs",
"convert": "tsx quartz/scripts/convert.ts",
"vendor:ocw": "tsx quartz/scripts/vendor-ocw-course.ts",
"strava:auth": "tsx --env-file=.env quartz/scripts/auth-strava.ts",
"strava:sync": "tsx --env-file=.env quartz/scripts/sync-strava.ts",
"oura:auth": "tsx --env-file=.env quartz/scripts/auth-oura.ts",
"oura:sync": "tsx --env-file=.env quartz/scripts/sync-oura.ts",
"oura:garmin": "tsx --env-file=.env quartz/scripts/sync-oura-garmin.ts",
"core:sync": "tsx --env-file=.env quartz/scripts/sync-core-body-temperature.ts",
"wahoo:auth": "tsx --env-file=.env quartz/scripts/auth-wahoo.ts",
"wahoo:reauth": "tsx --env-file=.env quartz/scripts/auth-wahoo.ts --reauthorize",
"wahoo:sync": "tsx --env-file=.env quartz/scripts/sync-wahoo.ts",
"wahoo:sync-titles": "tsx --env-file=.env quartz/scripts/sync-wahoo-titles.ts",
"activity-providers:sync": "tsx --env-file=.env quartz/scripts/sync-activity-providers.ts",
"trainingpeaks:backfill": "tsx --env-file=.env quartz/scripts/backfill-trainingpeaks.ts",
"trainingpeaks:backfill-garmin": "tsx --env-file=.env quartz/scripts/backfill-trainingpeaks.ts --source garmin",
"trainingpeaks:backfill-strava": "tsx --env-file=.env quartz/scripts/backfill-trainingpeaks.ts --source strava",
"trainingpeaks:backfill-wahoo": "tsx --env-file=.env quartz/scripts/backfill-trainingpeaks.ts --source wahoo",
"trainingpeaks:titles": "tsx --env-file=.env quartz/scripts/sync-trainingpeaks-titles.ts",
"garmin:auth": "uv run --locked python quartz/scripts/garmin-auth.py authorize",
"garmin:sync": "pnpm apple:sync && pnpm core:sync && tsx --env-file=.env quartz/scripts/sync-garmin.ts && pnpm garmin:backfill",
"garmin:backfill": "pnpm garmin:backfill-runs --write && pnpm garmin:backfill-swims --write && pnpm garmin:sync-swim-types --write && pnpm garmin:sync-titles --write",
"garmin:sync-titles": "tsx --env-file=.env quartz/scripts/sync-garmin-titles.ts",
"garmin:sync-swim-titles": "tsx --env-file=.env quartz/scripts/sync-garmin-titles.ts --kind swim",
"garmin:sync-swim-types": "tsx --env-file=.env quartz/scripts/sync-garmin-titles.ts --kind swim --type pool-swim",
"garmin:backfill-runs": "tsx --env-file=.env quartz/scripts/backfill-garmin-runs.ts",
"garmin:backfill-swims": "tsx --env-file=.env quartz/scripts/backfill-garmin-runs.ts --sport swim",
"apple:sync": "tsx --env-file=.env quartz/scripts/sync-apple.ts",
"weather:sync": "tsx --env-file=.env quartz/scripts/sync-weather.ts",
"health": "pnpm strava:sync && pnpm oura:sync && pnpm weather:sync && pnpm apple:sync && pnpm core:sync",
"health:garmin": "pnpm garmin:sync",
"health:wahoo": "pnpm wahoo:sync && pnpm wahoo:sync-titles --write",
"health:all": "pnpm strava:sync && pnpm oura:sync && pnpm health:garmin && pnpm health:wahoo && pnpm weather:sync && pnpm trainingpeaks:titles --write",
"health:auth": "pnpm strava:auth && pnpm oura:auth",
"train:pace": "uv run quartz/scripts/pace_train.py --feed quartz/.quartz-cache/triathlon/data.jsonl --target pace",
"train:hr": "uv run quartz/scripts/pace_train.py --feed quartz/.quartz-cache/triathlon/data.jsonl --target hr",
"train": "pnpm train:hr && pnpm train:pace && pnpm models:local",
"models:local": "tsx quartz/scripts/local-pace-models.ts",
"models:publish": "tsx --env-file=.env quartz/scripts/publish-pace-model.ts",
"model:retrain": "pnpm train && pnpm models:publish",
"model:revert": "tsx --env-file=.env quartz/scripts/revert-pace-model.ts",
"dev:worker": "pnpm db:migrate:local && pnpm dlx wrangler dev --local",
"db:migrate:local": "pnpm exec wrangler d1 migrations apply COMMENTS_ROOM --local && pnpm exec wrangler d1 migrations apply FLASHCARDS --local && pnpm exec wrangler d1 migrations apply ARENA_READER --local",
"db:migrate": "pnpm exec wrangler d1 migrations apply COMMENTS_ROOM --remote && pnpm exec wrangler d1 migrations apply FLASHCARDS --remote && pnpm exec wrangler d1 migrations apply ARENA_READER --remote",
"cf:deploy": "pnpm check && pnpm db:migrate && pnpm dlx wrangler deploy",
"lint": "oxlint",
"check:codeblocks": "git -c core.quotepath=false ls-files '*.md' | tr '\\n' '\\0' | xargs -0 -n 1 cbfmt --best-effort --check || true",
"format:codeblocks": "git -c core.quotepath=false ls-files '*.md' | tr '\\n' '\\0' | xargs -0 -n 1 cbfmt --best-effort --write || true",
"check": "oxfmt --check && oxlint && tsgo --noEmit && tsx --test",
"format": "pnpx bibtex-tidy content/References.bib --months --merge=combine --no-align --sort=type,year,eprint --duplicates=key,doi,citation --no-escape --sort-fields=title,shorttitle,author,year,month,day,journal,booktitle,eprint,archivePrefix,primaryClass,location,on,publisher,address,series,volume,number,pages,doi,isbn,issn,url,urldate,copyright,category,note,metadata --strip-comments --no-remove-dupe-fields --blank-lines --modify && oxfmt && oxlint --fix && uvx ruff format",
"all": "pnpm format && pnpm convert && pnpm health && pnpm check",
"profile": "0x -D prof quartz/bootstrap-cli.mjs build --concurrency=1"
},
"dependencies": {
"@citation-js/core": "^0.7.21",
"@citation-js/plugin-bibtex": "^0.7.21",
"@citation-js/plugin-doi": "^0.7.21",
"@clack/prompts": "^1.8.1",
"@cloudflare/ai-chat": "^0.8.6",
"@cloudflare/codemode": "^0.3.8",
"@cloudflare/puppeteer": "^1.4.0",
"@cloudflare/workers-oauth-provider": "^0.7.2",
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-go": "^6.0.1",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/lang-markdown": "^6.5.2",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-rust": "^6.0.2",
"@codemirror/language": "^6.12.4",
"@codemirror/legacy-modes": "^6.5.4",
"@codemirror/lsp-client": "^6.2.5",
"@codemirror/state": "^6.7.5",
"@codemirror/view": "^6.43.12",
"@electric-sql/pglite": "0.5.3",
"@electric-sql/pglite-pgvector": "0.0.2",
"@floating-ui/dom": "^1.8.0",
"@garmin/fitsdk": "21.208.0",
"@huggingface/transformers": "^4.2.0",
"@jax-js/jax": "^0.1.24",
"@modelcontextprotocol/sdk": "^1.30.0",
"@napi-rs/simple-git": "^0.1.22",
"@replit/codemirror-vim": "^6.4.0",
"@types/turndown": "^5.0.6",
"agents": "^0.14.5",
"ansi-truncate": "^1.4.0",
"async-mutex": "^0.5.0",
"basedpyright": "1.39.7",
"basedpyright-internal-source": "github:DetachHead/basedpyright#v1.39.6&path:packages/pyright-internal",
"basedpyright-source": "https://github.com/DetachHead/basedpyright/archive/refs/tags/v1.39.6.tar.gz",
"buffer": "6.0.3",
"chokidar": "^5.0.0",
"codemirror-lang-zig": "^0.1.0",
"d3": "^7.9.0",
"defuddle": "0.19.3",
"dompurify": "^3.4.15",
"drizzle-orm": "^0.45.2",
"esbuild-sass-plugin": "^3.7.0",
"fast-xml-parser": "^5.11.1",
"flexsearch": "^0.8.212",
"github-slugger": "^2.0.0",
"globby": "^16.2.4",
"gray-matter": "^4.0.3",
"hast-util-find-and-replace": "^5.0.1",
"hast-util-from-html": "^2.0.3",
"hast-util-from-html-isomorphic": "^2.0.0",
"hast-util-heading-rank": "^3.0.0",
"hast-util-phrasing": "^3.0.1",
"hast-util-to-html": "^9.0.5",
"hast-util-to-jsx-runtime": "^2.3.6",
"hast-util-to-mdast": "^10.1.2",
"hast-util-to-string": "^3.0.1",
"hast-util-to-text": "^4.0.2",
"hast-util-whitespace": "^3.0.0",
"hastscript": "^9.0.1",
"highlight.js": "^11.12.0",
"hono": "^4.13.8",
"image-size": "^2.0.4",
"is-absolute-url": "^5.0.0",
"js-yaml": "^4.3.2",
"katex": "^0.17.0",
"lightningcss": "^1.33.0",
"marked": "^18.0.13",
"mdast-util-find-and-replace": "^3.0.2",
"mdast-util-from-markdown": "^2.0.3",
"mdast-util-gfm": "^3.1.0",
"mdast-util-math": "^3.0.0",
"mdast-util-phrasing": "^4.1.0",
"mdast-util-to-hast": "^13.2.1",
"mdast-util-to-markdown": "^2.1.2",
"mdast-util-to-string": "^4.0.0",
"micromark-extension-gfm-footnote": "^2.1.0",
"micromark-extension-math": "^3.1.0",
"micromark-factory-space": "^2.0.1",
"micromark-util-character": "^2.1.1",
"micromark-util-symbol": "^2.0.1",
"micromorph": "^0.4.5",
"minimatch": "^10.2.6",
"motion": "^12.43.0",
"node-tikzjax": "^1.0.5",
"octokit": "^5.0.5",
"onnxruntime-web": "^1.30.0",
"path-browserify": "1.0.1",
"pixi.js": "^8.20.1",
"preact": "^10.29.8",
"preact-render-to-string": "^6.7.0",
"pretty-bytes": "^7.1.3",
"pretty-time": "^1.1.0",
"pseudocode": "^2.4.1",
"reading-time": "^1.5.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-citation": "^2.3.2",
"rehype-github-emoji": "^1.0.0",
"rehype-katex": "^7.0.1",
"rehype-parse": "^9.0.1",
"rehype-pretty-code": "^0.14.5",
"rehype-raw": "^7.0.0",
"rehype-remark": "^10.0.1",
"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-github": "^12.0.0",
"remark-math": "^6.0.0",
"remark-mdx": "^3.1.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"remark-smartypants": "^3.0.3",
"rfdc": "^1.4.1",
"rough-notation": "^0.5.1",
"sass-embedded": "^1.104.1",
"satori": "^0.26.0",
"serve-handler": "^6.1.7",
"sharp": "^0.34.5",
"source-map-support": "^0.5.21",
"svg2roughjs": "^3.2.3",
"to-vfile": "^8.0.0",
"toml": "^4.3.0",
"ts-fsrs": "^5.4.2",
"turndown": "^7.2.4",
"unified": "^11.0.5",
"unist-util-remove": "^4.0.0",
"unist-util-select": "^5.1.0",
"unist-util-visit": "^5.1.0",
"vfile": "^6.0.3",
"vscode-jsonrpc": "9.0.0",
"vscode-languageserver": "10.0.0",
"vscode-languageserver-protocol": "3.18.0",
"wabt": "^1.0.39",
"workerpool": "^10.0.3",
"ws": "^8.21.3",
"xml-formatter": "^3.7.0",
"yargs": "^18.1.0",
"zod": "^4.6.5"
},
"devDependencies": {
"@chenglou/freerange": "^0.0.2",
"@cloudflare/workers-types": "^4.20260702.1",
"@types/d3": "^7.4.3",
"@types/d3-drag": "^3.0.7",
"@types/d3-force": "^3.0.10",
"@types/d3-zoom": "^3.0.8",
"@types/hast": "^3.0.5",
"@types/js-yaml": "^4.0.9",
"@types/katex": "^0.16.8",
"@types/mdast": "^4.0.4",
"@types/node": "^25.9.6",
"@types/pretty-time": "^1.1.5",
"@types/source-map-support": "^0.5.10",
"@types/unist": "^3.0.3",
"@types/ws": "^8.18.1",
"@types/yargs": "^17.0.35",
"@typescript/native-preview": "7.0.0-dev.20260608.1",
"ai": "^7.0.102",
"bibtex-tidy": "^1.15.1",
"drizzle-kit": "^0.31.10",
"esbuild": "^0.28.2",
"eslint": "^10.10.0",
"mermaid": "^11.17.2",
"micromark": "^4.0.2",
"micromark-util-types": "^2.0.2",
"oxfmt": "^0.54.0",
"oxlint": "^1.83.0",
"rehype-stringify": "^10.0.1",
"ts-morph": "^28.0.0",
"tsx": "^4.23.13",
"typescript": "^6.0.3",
"wrangler": "^4.132.0",
"xslt-polyfill": "1.0.23"
},
"engines": {
"node": ">=24",
"npm": ">=9.3.1"
},
"packageManager": "pnpm@11.1.3"
}