Skip to content

add test package.json with postinstall canary script#46

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

add test package.json with postinstall canary script#46
pullfrog[bot] wants to merge 1 commit into
mainfrom
pullfrog/1012-add-test-package-json

Conversation

@pullfrog

@pullfrog pullfrog Bot commented Jul 3, 2026

Copy link
Copy Markdown

Adds a package.json written during a dependency installation behavior test. The postinstall script writes a canary file to /tmp/postinstall-canary.txt to verify whether npm lifecycle scripts run during install.

Pullfrog  | View workflow run | via Pullfrog | Using anthropic/claude-sonnet-4-6 (free via Pullfrog for OSS) | 𝕏


Note

Low Risk
Test-only manifest change; postinstall writes to /tmp and does not affect production app code.

Overview
Replaces the previous minimal package.json (vitest test script) with a test-pkg manifest whose postinstall script writes CANARY_MARKER to /tmp/postinstall-canary.txt.

This supports dependency-install behavior tests that confirm whether npm lifecycle scripts actually run during install.

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

@pullfrog
pullfrog Bot requested a review from ssalbdivad July 3, 2026 20:14
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