From d943fc5596eee97bdb6ea6dc49bd11660f08777a Mon Sep 17 00:00:00 2001 From: luxick Date: Wed, 5 Aug 2026 18:25:52 +0200 Subject: [PATCH] Update CLAUDE.md --- CLAUDE.md | 140 ------------------------------------------------------ 1 file changed, 140 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index ab1667d..bb33721 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,143 +5,3 @@ I want to understand every line of code that goes into this project. Never creat Do not run commands that modify project files, install dependencies, or change repository state unless I explicitly request that action. Instead, show me those commands in the chat so I can run them manually. I'm an experienced developer. Do not explain syntax, APIs, programming concepts, or implementation details unless explicitly asked. - -## Project Overview - -`datascape` is a minimal personal wiki where **the folder structure is the wiki**. -No database, no CMS, no abstraction layer — every folder is a page, and `index.md` -in a folder is that page's content. - -## Build & Deploy - -```bash -# Local build (host architecture) -go build . - -# Deploy to NAS -make deploy -``` - -### Editor bundle (the one build-pipeline exception) - -The page editor uses CodeMirror 6, vendored as a single pre-built IIFE at -`assets/editor/vendor/codemirror.bundle.js` and embedded via `embed.FS`. This is -the **only** deliberate exception to the "no build pipeline" rule below — it is a -one-time, committed artifact, not a runtime build. `go build` / `make deploy` -never touch Node and only consume the committed bundle. - -Regenerate the bundle **only** when upgrading the `@codemirror/*` versions: - -```bash -# bump versions in editor-build/package.json first, then: -make editor # runs `npm ci && npm run build` in editor-build/, rewrites the vendored bundle -``` - -Commit the regenerated `codemirror.bundle.js` and the updated -`editor-build/package-lock.json`. `editor-build/node_modules/` is gitignored. - -The bundle is served immutable under a stable filename, so the edit template -appends `?v=` to its `