Skip to content

Make CLI publish harder to mistype#25

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/add-cli-publish-shortcut-2026-04-24-02-45
Apr 24, 2026
Merged

Make CLI publish harder to mistype#25
NagyVikt merged 1 commit intomainfrom
agent/codex/add-cli-publish-shortcut-2026-04-24-02-45

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The scoped package must be published from apps/cli/release, but running npm publish at the repo root targets the private monorepo package. Add a short script that always rebuilds the release directory and publishes that target.

Constraint: npm does not dispatch bare npm p to package scripts

Rejected: Make the root package public | that would expose the monorepo tarball

Confidence: high

Scope-risk: narrow

Directive: Keep publish shortcuts pointed at apps/cli/release, not repo root

Tested: npm run publish:cli:dry-run

Tested: git diff --check
@NagyVikt NagyVikt merged commit b03f249 into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/codex/add-cli-publish-shortcut-2026-04-24-02-45 branch April 24, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant