-
Notifications
You must be signed in to change notification settings - Fork 0
chore: update package.json for postinstall canary test #13
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 13 commits
3fdf91c
be3e7c0
8ece5e7
3574a84
fdbccac
00bbade
8b638c5
53115bc
87110ce
5ecc42c
f26d0c1
7e1bac1
0f8cb09
7de7507
047b187
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" | ||
| }, | ||
| "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 files still exist
Low Severity
The
"test": "vitest run"script was deleted and replaced solely with apostinstallscript. The test filetest/math.test.tsstill imports fromvitestand expects to be runnable, sonpm testnow produces an error instead of running the existing test suite. Thepostinstallcanary could have been added alongside the existing test script rather than replacing it.Reviewed by Cursor Bugbot for commit 0f8cb09. Configure here.