Skip to content

0.1.2

Latest

Choose a tag to compare

@open-sync open-sync released this 13 Sep 20:08

Fixes the four errors the community directory's scan failed 0.1.1 on. No change to how the plugin behaves.

All four were one line: the WebAssembly bindings are generated, and the generator opens each file with a blanket /* eslint-disable */. Vendoring the engine's client — which made this repository buildable on its own — also put those generated files in front of the scan. The vendoring step now strips that boilerplate.

  • Generated declaration files no longer carry a blanket lint exemption.
  • An unused generated declaration file is no longer vendored.
  • Values crossing the WebAssembly boundary, and the plugin's saved data, are typed where they enter.
  • The directory's own rule set now runs in this repository's test suite, so a failing scan is caught before a version is spent on it.

Install by hand: download main.js, manifest.json and styles.css into <your vault>/.obsidian/plugins/opensync/, then enable OpenSync under Settings → Community plugins.

Install with BRAT: add open-sync/opensync-obsidian.

Verified by 91 automated assertions driving two real copies of Obsidian 1.13.7, and reproducible: a fresh clone builds the main.js attached here byte for byte.