You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dsh plugin ... add github:cloader/dsh-taskboard installs a source-only checkout without lib/ — plugin fails to load #76
Source: README section "Or install from the GitHub source":
dsh plugin --profile web add github:cloader/dsh-taskboard
What happens
pnpm resolves the spec to the git tarball https://codeload.github.com/cloader/dsh-taskboard/tar.gz/fb97e7fa1a7c77d775675f4f2931ebf45ee23430
and installs version 0.9.7 into node_modules/dsh-taskboard — without errors.
The installed package contains only src/, package.json, cordis.patch.yml, LICENSE, README.md.
There is no lib/ directory.
package.json declares main: lib/index.js and exports pointing at ./lib/index.js, ./lib/invariant.js, ./lib/client.js — all missing.
Result: the plugin does not load. The dsh plugin market check reports:
the declared entry artifact is missing (source-only checkout or blocked build) — the next boot would fail
Root cause (investigated)
The build step (tsdown) only runs at npm publish time: prepublishOnly: npm run build && npm test. There is no postinstall/prepare
script that builds, and installing from a git tarball does not execute publish
hooks — so a GitHub-source install is inherently a source-only checkout.
With lib/ absent, the declared entry artifact check cannot pass, and runtime
loading fails the same way.
Workaround we use (verified)
Clone the repo locally, build once (pnpm exec tsdown -c tsdown.config.ts),
and link it into the DSH profile as dsh-taskboard@link:<local path>.
Suggested fixes (any one closes the gap)
Publish releases to npm (preferred — prepublishOnly already builds lib/),
and keep the GitHub-source line documented as "for development only".
Add a prepare (or postinstall) script that builds lib/, so git-tarball
installs produce a loadable package (verify pnpm executes it for git deps in
your target pnpm versions).
Or point the README instruction at a branch/release tag that has lib/
committed.
Until one of these lands, the "install from the GitHub source" instruction
cannot produce a working install.
Thanks for reporting this. The plugin is already published on npm; the current latest version is 0.9.7. I verified that the published package includes lib/index.js, lib/invariant.js, and lib/client.js.
Please install the prebuilt npm package. For the tauri profile in your report:
dsh plugin --profile tauri add dsh-taskboard
For the web profile:
dsh plugin --profile web add dsh-taskboard
Restart DSH after installing.
The GitHub-source installation instructions and the obsolete prepare/allowBuilds troubleshooting have been removed from both READMEs in #79, now merged into dev. Local build/link instructions are kept in the Development section. Closing this as resolved through the npm installation path and corrected documentation.
Activity
cloader commentedon Nov 1, 2026
Thanks for reporting this. The plugin is already published on npm; the current latest version is 0.9.7. I verified that the published package includes
lib/index.js,lib/invariant.js, andlib/client.js.Please install the prebuilt npm package. For the
tauriprofile in your report:For the web profile:
Restart DSH after installing.
The GitHub-source installation instructions and the obsolete prepare/allowBuilds troubleshooting have been removed from both READMEs in #79, now merged into
dev. Local build/link instructions are kept in the Development section. Closing this as resolved through the npm installation path and corrected documentation.