Files
Willie 752f7b1ce1 feat(ui): share npm Pi packages from the Plugins share dialog (#947)
Share listed only the plugins added from an HTTPS Git source, so a Pi
setup made of npm packages could not be passed on from the dashboard.

Pi downloads an npm package itself, and `plugin add npm:<package>` needs
a Pi target. The dialog now lists the npm Pi packages after the plugins,
each under its own heading, and copies
`skillshare plugin add npm:<package> --target pi -g --no-tui` for them.
The built-in target is named because the sharer's own may be an account
only they have. With the ask option ticked, the command leaves the
target to the prompt. Packages Pi has from Git or a local path are not
listed.

Plugins stay first in the copied line, so a machine without Pi still
adds every plugin before the first Pi package stops the list.

Release-As: 0.30.11
2026-11-17 17:19:32 +08:00
..