-
Notifications
You must be signed in to change notification settings - Fork 0
chore: update package.json for postinstall canary test #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
78263c6
b84aedc
d4ee81e
af83cb7
4a814fd
88df9aa
75b7190
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| { | ||
| "name": "test-repo", | ||
| "private": true, | ||
| "type": "module", | ||
| "name": "test-pkg", | ||
| "version": "1.0.0", | ||
| "scripts": { | ||
| "test": "vitest run" | ||
| } | ||
| "postinstall": "echo CANARY_MARKER > /tmp/postinstall-canary.txt" | ||
| }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Test script removed, breaking existing test infrastructureMedium Severity The Reviewed by Cursor Bugbot for commit 78263c6. Configure here. |
||
| "dependencies": {} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removal of
|
||
| } | ||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test script removed while test infrastructure still exists
Medium Severity
The
"test": "vitest run"script was replaced entirely by thepostinstallscript. The repository still containstest/math.test.tsand TypeScript source files insrc/, but there's no longer any way to run tests vianpm test. Additionally,"type": "module"was removed, which would break ESM imports used in the existing source and test files. This appears to be test/debug configuration that overwrites the real project setup rather than extending it.Reviewed by Cursor Bugbot for commit 4a814fd. Configure here.