mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
6cdcb9dd51
* fix: add prepare script so source installs trigger build npm install from git (e.g. npm install github:jackwener/opencli) skips prepublishOnly, so dist/ is never generated. The prepare hook runs on git-based installs; the [ -d src ] guard skips it for registry installs. * fix: include extension/dist in git so clone works out of the box .gitignore had conflicting rules: line 3 tried to un-ignore extension/dist/ but line 26 re-ignored it. Remove the later rule so the built extension JS is tracked in git — users can load the extension directly after clone.