Skip to content

Add package.json for dependency install canary test - #58

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

pullfrog[bot] wants to merge 1 commit into
mainfrom
pullfrog/1296-test-pkg-package-json

Conversation

@pullfrog

@pullfrog pullfrog Bot commented Sep 1, 2026

Copy link
Copy Markdown

Adds a package.json written during the dependency installation behavior test. The file defines a postinstall script that writes a canary marker to /tmp/postinstall-canary.txt, used to verify whether postinstall hooks run during start_dependency_installation / await_dependency_installation.

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


Note

Low Risk
Test-only manifest change with no production runtime impact; the postinstall writes a local temp file during install tests.

Overview
Replaces the prior Vitest-oriented package.json with a minimal test-pkg manifest used only for dependency-install behavior checks.

The new file adds a postinstall script that writes CANARY_MARKER to /tmp/postinstall-canary.txt, so tests around start_dependency_installation / await_dependency_installation can tell whether install hooks actually ran. private, type: module, and the vitest script are removed; version and an empty dependencies object are added.

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

@pullfrog
pullfrog Bot requested a review from colinhacks September 1, 2026 21:45
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