Built-in and third-party extensions for .dir. The main app (dotdir) bundles the contents of this folder as the extensions resource.
Monaco-based code editor with syntax highlighting. Contributes an editor for all file types (*.*) and language metadata for detection.
Build: From the extensions folder run pnpm install && pnpm build, or from the extension folder:
cd dotdir-monaco-editor
pnpm install
pnpm buildOutput: dist/editor.iife.js (and dist/editor.css). The host loads dist/editor.iife.js as the extension entry.
Development: Run pnpm dev for watch mode when iterating on the extension.
When building the Tauri app, ensure this folder is built first so each extension has its dist/ (or equivalent) output. The app’s tauri.conf.json maps ../extensions → extensions, so the repo layout should be:
dotdir-fm/extensions/dotdir-monaco-editor/(this repo)dotdir-fm/dotdir/(main app)
Build order: build extensions, then run pnpm tauri build (or pnpm build then tauri build) from dotdir.