- Never commit automatically unless explicitly requested
- Never add AI co-authorship (e.g., "Co-Authored-By: Claude")
- Never read or access .env files
| #!/usr/bin/env -S npx tsx | |
| import { execSync } from 'node:child_process'; | |
| import { existsSync } from 'node:fs'; | |
| import { mkdir, readdir, symlink } from 'node:fs/promises'; | |
| import { dirname, join, relative } from 'node:path'; | |
| import { fileURLToPath } from 'node:url'; | |
| const __filename = fileURLToPath(import.meta.url); | |
| const __dirname = dirname(__filename); |
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Follow (Folo) is a modern RSS aggregator and content management platform with multiple applications across different platforms. It's built as a monorepo using pnpm workspaces with Turbo for build orchestration.
| diff --git a/dist/build/webpack/loaders/next-flight-loader/index.js b/dist/build/webpack/loaders/next-flight-loader/index.js | |
| index 34d196104da9e95a5d6d6202cc4739b10b3922e3..1c2d9faa02c8de84d0a18fa800ac6c6a1f69c174 100644 | |
| --- a/dist/build/webpack/loaders/next-flight-loader/index.js | |
| +++ b/dist/build/webpack/loaders/next-flight-loader/index.js | |
| @@ -57,6 +57,8 @@ function transformSource(source, sourceMap) { | |
| if (typeof source !== "string") { | |
| throw new Error("Expected source to have been transformed to a string."); | |
| } | |
| + const options = this.getOptions() | |
| + const { isEdgeServer } = options |
| import { execSync } from "node:child_process" | |
| import fs from "node:fs" | |
| import dayjs, { Dayjs } from "dayjs" | |
| import customParseFormat from "dayjs/plugin/customParseFormat.js" | |
| import isSameOrAfter from "dayjs/plugin/isSameOrAfter.js" | |
| import isSameOrBefore from "dayjs/plugin/isSameOrBefore.js" | |
| import weekday from "dayjs/plugin/weekday.js" | |
| dayjs.extend(customParseFormat) |
| local function pressFn(mods, key) | |
| if key == nil then | |
| key = mods | |
| mods = {} | |
| end | |
| return function() hs.eventtap.keyStroke(mods, key, 1000) end | |
| end | |
| local function remap(mods, key, pressFn) |
| const UIKitColors = { | |
| red: { | |
| light: '#FF3B30', | |
| dark: '#FF453A', | |
| }, | |
| orange: { | |
| light: '#FF9500', | |
| dark: '#FF9F0A', | |
| }, |
| @import url("https://cdnjs.cloudflare.com/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaiscreenr.css"); | |
| .xlog-page-index, .xlog-page-post { | |
| font-family: "LXGW WenKai Screen R", sans-serif; | |
| } | |
| @font-face { | |
| font-family: SFCompactRounded; | |
| font-weight: 300; | |
| src: url(https://ipfs.4everland.xyz/ipfs/bafybeidme3gx5cgofwznbtccc7vnfi2acecdzaiy7yfcjyq4e3qgzqwzem); |
| Ghost of Tsushima 25 hrs 2 mins βββββββββββββ 40% | |
| Ratchet & Clan... 22 hrs 29 mins βββββββββββββ 100% | |
| DEATH STRANDINGβ’ 18 hrs 41 mins βββββββββββββ 71% | |
| SCARLET NEXUS 17 hrs 27 mins βββββββββββββ 37% | |
| UNCHARTED: Leg... 16 hrs 42 mins βββββββββββββ 14% |
| { | |
| "editor.fontSize": 14, | |
| "editor.fontFamily": "\"OperatorMonoSSmLig Nerd Font\",\"Cascadia Code PL\",\"FantasqueSansMono Nerd Font\",\"operator mono\",\"Fira code Retina\",\"Fira code\",\"Consolas\", Monaco, \"Hannotate SC\",-apple-system", | |
| "editor.formatOnType": true, | |
| "editor.fontWeight": "bold", | |
| "workbench.iconTheme": "material-icon-theme", | |
| "files.autoGuessEncoding": false, | |
| "editor.parameterHints.enabled": true, | |
| "typescript.tsserver.maxTsServerMemory": 1024, | |
| "window.nativeTabs": true, |