update: re-enable updating local packages#73
update: re-enable updating local packages#73larsgw wants to merge 16 commits intonpm:release-nextfrom
Conversation
|
I'd like an 👀 from @iarna on this one. |
|
Hello, |
|
@jmfNodejsUser It is not, it's not yet been merged. |
There was a problem hiding this comment.
Ok, it took me a bit to wrap my head around what this was doing:
This is fixing a problem where npm update won't auto-heal missing links. (The work around is to run npm i instead, which will.)
I approve of this idea, but there are two things that need to be addressed before it lands:
- It needs a test (this would have helped us understand what the patch was hoping to achieve)
- With this patch and a
file:type dep,npm outdated -lcrashes, this'll need to be fixed.
|
Thank you for the reply iarna. Your suggestion to use npm i works and installs/links the first/primary dependency (local node module) in the main project. All sub dependencies of the local node modules are not installed/linked. Except when I delete the package-lock.json first and then run "npm i". In this case, it works and installs all primary and sub dependencies which are all local node modules(i.e. not from the npm registry) |
|
The problem with using "npm i" is the same mentioned in |
6ca2f43 to
6d0cc95
Compare
|
Sorry for the confusion. I added tests. As for the |
db63b89 to
b09bc8c
Compare
Make sure publishing with legacy username:password _auth works again
PR-URL: npm#120 Credit: @watilde Reviewed-By: @aeschright
PR-URL: npm#126 Credit: @watilde Reviewed-By: @aeschright
PR-URL: npm#138 Credit: @elidoran Reviewed-By: @aeschright
PR-URL: npm#144 Credit: @larsgw Reviewed-By: @aeschright
PR-URL: npm#145 Fixes: https://npm.community/t/4770 Credit: @larsgw Reviewed-By: @aeschright
…npm#140) PR-URL: npm#140 Credit: @greysteil Reviewed-By: @aeschright
PR-URL: npm#149 Credit: @zkat Reviewed-By: @aeschright
PR-URL: npm#151 Fixes: https://npm.community/t/npm-6-6-0-breaks-access-to-ls-collaborators/5101 Credit: @zkat Reviewed-By: @aeschright
|
Hello @zkat , @iarna , @larsgw , |
PR #11584 removed the possibility of updating local packages (linked with symlinks) with `npm update`. Reason was that this functionality didn't work in v3.6.0. However, the system behind local dependencies has since changed, and I can't reproduce the original error anymore. Reverts 59e5056
PR #11584 removed the possibility of updating local packages (linked with symlinks) with `npm update`. Reason was that this functionality didn't work in v3.6.0. However, the system behind local dependencies has since changed, and I can't reproduce the original error anymore. Reverts 59e5056 Fixes: https://npm.community/t/1725?u=larsgw PR-URL: #73 Credit: @larsgw Reviewed-By: @iarna Reviewed-By: @zkat
|
This has been merged by hand. Thanks again, @larsgw! |
* fix: filter alertcenter scopes from user OAuth login flow The `apps.alerts` scope is restricted to service accounts with domain-wide delegation and fails with `400 invalid_scope` when used in the standard 3-legged OAuth consent flow. Filter it out alongside the existing chat.app/chat.bot/keep exclusions. Fixes npm#73 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: also filter apps.alerts in is_app_only_scope() The scope filter exists in two locations: setup.rs (fetch_scopes_for_apis) and auth_commands.rs (is_app_only_scope). Both need the apps.alerts exclusion to prevent it from appearing in the interactive scope picker. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: retrigger CLA check * chore: retrigger CI after CLA signing --------- Co-authored-by: Andrew Barnes <andrew.jaguars@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
PR npm/npm#11584 removed the possibility of updating local packages (linked with symlinks) with
npm update.Reason was that this functionality didn't work in
v3.6.0. However, the system behind local dependencieshas since changed, and I can't reproduce the original error anymore.
Reverts 53cdb96
See discussion in https://npm.community/t/1725