Skip to content

feat(common): add a supported install hook CLI - #56

Open
zakuru wants to merge 1 commit into
masterfrom
codex/add-devfeedback-install-cli
Open

feat(common): add a supported install hook CLI#56
zakuru wants to merge 1 commit into
masterfrom
codex/add-devfeedback-install-cli

Conversation

@zakuru

@zakuru zakuru commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

What

Add a supported devfeedback-install CLI for the exact install timing hooks. Consuming repositories can now use:

{
  "scripts": {
    "preinstall": "devfeedback-install preinstall || exit 0",
    "postinstall": "devfeedback-install postinstall"
  }
}

This removes the inline node -e/empty-catch workaround from the documented integration. The preinstall fallback remains necessary on a genuinely cold clone, before the dependency's bin is available.

Validation

  • pnpm --filter agoda-devfeedback-common check-types
  • pnpm --filter agoda-devfeedback-common build
  • pnpm --filter agoda-devfeedback-common test -- --run (39 tests)
  • CLI smoke test for valid and invalid commands

Includes a changeset for agoda-devfeedback-common.

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