Conversation
If gorelease in not in "Release" mode, npm packages are not pushed, so we can avoid multitudes of snapshot packages being pushed to public registry
The hook runs after. If goreaser is not in release mode, npm will build in dry-run mode, so the packages are not pushed to registry
PR #719 Multi-Agent Review: "Add npm publishing and update documentation"Repository: kosli-dev/cli | Author: jbrejner | Status: DRAFT
Branch: The Review PanelFour agents with distinct personas reviewed this PR independently, then their findings were synthesized. Here's who was on the panel:
Unanimous Verdict: DO NOT MERGE (yet)All four agents independently reached the same conclusion: the PR has a sound architectural foundation (the esbuild-style per-platform binary distribution pattern is well-chosen) but has several blocking issues that would result in a non-functional npm package if published today. This aligns with the PR's own DRAFT status and the author's listed TODOs. The Big Three: Issues Every Agent FlaggedThese three issues were independently identified by all four reviewers, making them the highest-confidence findings: 1. The Missing
|
Distribute kosli cli as npm package.
Install globally with
npm install -g @kosli/cliThe above will install the wrapper package which detects the current platform and architecture and then pull the appriate package with the correct binary.
Draft because I still need TODO