-
Notifications
You must be signed in to change notification settings - Fork 0
test: write package.json for dependency install canary test #15
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
ba729c0
c8fd320
f1dcc48
0b4efc4
ab76b76
4aec90a
98d1c50
3522b7d
4499f0f
c77f7a1
17fb087
7e41346
fb03bd2
3ddf624
68032f9
0ca00e3
220247c
88bf10a
767a1ad
25c8721
e14ecf2
a7fa1d7
62cf3e0
4681778
ff7f885
2c5e092
c2aec6c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| 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. Test package.json overwrites real project configurationHigh Severity The root Reviewed by Cursor Bugbot for commit ab76b76. Configure here. |
||
| } | ||


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.
Name mismatch between package.json and package-lock.json
Medium Severity
The
package.jsondeclares"name": "test-pkg"while the newpackage-lock.jsondeclares"name": "test-repo". This mismatch causes npm to emit warnings and may lead to unexpected behavior during dependency installation—the very operation this canary test is meant to verify.Additional Locations (1)
package-lock.json#L1-L2Reviewed by Cursor Bugbot for commit 767a1ad. Configure here.