Skip to content

v3.2.0

Latest

Choose a tag to compare

@craftzdog craftzdog released this 08 Aug 22:05
· 21 commits to master since this release

Fixes

  • Plugin no longer fails to load on Inkdrop 6. @replit/codemirror-vim@6.4.0 moved its engine into @replit/codemirror-vim-core, which is ESM-only. Inkdrop loads plugins through CommonJS require(), so activation threw SyntaxError: Unexpected token 'export'. The plugin is now bundled into a single CJS file with tsdown, keeping inkdrop and @codemirror/* external so its extensions still share the host editor's module instances.
  • Preview-pane scroll commands no longer write debug output to the console.
  • Dropped a blockwise argument in the clipboard register bridge that was always undefined.

Other

  • Source migrated to TypeScript, typed against @inkdropapp/types.
  • eslint and prettier replaced with oxlint and oxfmt, matching the other Inkdrop plugins.
  • The plugin now ships with no runtime dependencies. The installed package drops from ~740 KB of node_modules to a single 127 KB file (40 KB gzipped), cutting the JavaScript parsed at load from 324 KB to 127 KB.
  • Updated @replit/codemirror-vim to v6.4.0 (#71).