4a179b8655
Adds a live in-browser Mermaid editor alongside the existing samples showcase, served by the existing dev server. - Live editor under editor/ (modular CSS/JS: topbar, left/right panels, color + font pickers, samples, export, sharing, zoom/pan) wired through editor.ts. - dev.ts: kept close to the original; / still serves the samples showcase, /editor serves the new editor, both get live reload via SSE. - package.json gets an editor script. - Architecture/change guide at .agents/skills/editor.md. Scoped strictly to editor/infra - no changes under src/. Made-with: Cursor
31 lines
258 B
Plaintext
31 lines
258 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Build output
|
|
dist/
|
|
site/
|
|
*.tsbuildinfo
|
|
|
|
# Generated files
|
|
index.html
|
|
editor.html
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
.DS_Store
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Test coverage
|
|
coverage/
|