Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
=======================================
Coverage 83.09% 83.09%
=======================================
Files 5 5
Lines 71 71
Branches 18 18
=======================================
Hits 59 59
Misses 12 12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This isn't required; we use |
|
We're not currently using a lock file, and we're using an internal npm mirror, which can cause the app to fail to start once the version in the mirror is not the latest (version 2.0.0). |
|
If you're not using a lockfile, then |
Maybe, but having an invalid requisite it's not optimal. |
|
In general, I would expect that these packages should require better CI testing, and that npm publish would be automatically blocked until the CI test passes. For example, here's a case of a missing dependency in Or is there another better way? |
|
@yisibl A missing explicit dependency doesn't necesasrily make tests fail, because dev deps, and transitive dev deps, are present in tests. The only way to check this is with eslint or a tool like depcheck, neither of which are yet in my standard toolkit since I've only made this mistake a handful of times out of tens of thousands of publishes going back a decade. @alar77 it can, indeed, work with v2.0.0, so it is optional. It's just that if you have no other instances of |
|
I am experiencing issues with this as well. I just installed a new package that was dependent on this, and it installed v2.0.0, causing me to deep dive to find the obscure issue. I believe this should be merged to fix the problem for future uers. |
|
@TrevinAvery you must be using "not npm"? a working npm client installs the latest in-range version of transitive deps, not the lowest. |
|
I'm using npm. I have no idea why it's not installing the latest version. I
had to manually modify the package-lock.json file to get it working.
…On Wed, Oct 4, 2023, 6:11 AM Jordan Harband ***@***.***> wrote:
@TrevinAvery <https://github.com/TrevinAvery> you must be using "not
npm"? a working npm client installs the latest in-range version of
transitive deps, not the lowest.
—
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGBCSFTE4JZZRWYKUJJN45TX5VN7DAVCNFSM6AAAAAA4XNZVROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBWHA2TAMJYGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
|
There is a bug in
set-function-namev2.0.0 and we should not use that version.ljharb/set-function-name@db2eda8