Skip to content

dotdirfm/dotdir-extensions

Repository files navigation

.dir extensions

Built-in and third-party extensions for .dir. The main app (dotdir) bundles the contents of this folder as the extensions resource.

Built-in extensions

dotdir-monaco-editor

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 build

Output: 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.

Adding the extension to the app bundle

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 ../extensionsextensions, 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors