Yes, npm run build, assuming it’s set up like the standard Obsidian sample plugin:

  1. Put the updated main.ts in your plugin’s project folder, replacing the old one.
  2. Run npm install if `node_modules` is missing (first time or a fresh clone only).
  3. Run npm run build. In the sample-plugin setup this type-checks with tsc and bundles with esbuild into main.js.
  4. Copy main.js and `manifest.json` (plus styles.css if you have one) into <vault>/.obsidian/plugins/<plugin-id>/. Skip this if the project folder already lives there.
  5. Reload the plugin in Obsidian by toggling it off and on under Community plugins, or restart Obsidian.

You use this in both the LH and RH vaults (the code checks for Right-Hand), so copy main.js into each vault’s plugin folder.

Source: Claude ○˒

(echo_:: @ ᯤ ᯤ)