Skip to content

Add postinstall canary script to package.json#43

Open
pullfrog[bot] wants to merge 1 commit into
mainfrom
pullfrog/test-canary-package
Open

Add postinstall canary script to package.json#43
pullfrog[bot] wants to merge 1 commit into
mainfrom
pullfrog/test-canary-package

Conversation

@pullfrog

@pullfrog pullfrog Bot commented Jun 11, 2026

Copy link
Copy Markdown

Adds a postinstall script to package.json that writes a canary marker to /tmp/postinstall-canary.txt, used for testing dependency installation behavior.

Pullfrog  | View workflow run | via Pullfrog | Using Claude Sonnet (free via Pullfrog for OSS) | 𝕏


Note

Medium Risk
Automatic postinstall hooks run on every install and perform filesystem writes, which is sensitive even when used only as a test marker.

Overview
Repackages the project as test-pkg @ 1.0.0 and drops the previous Vitest setup (private, type: module, and the test script).

Adds a postinstall script that runs on install and writes CANARY_MARKER to /tmp/postinstall-canary.txt, so installs can be verified without other app logic.

Reviewed by Cursor Bugbot for commit fe99abd. Bugbot is set up for automated code reviews on this repo. Configure here.

@pullfrog pullfrog Bot requested a review from ssalbdivad June 11, 2026 15:31
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.

0 participants