Replies: 2 comments
|
Found issue on M$ dev community about this. |
|
The publish dates pnpm checks come from the packument returned by whichever registry resolved the package. There is no setting that points the The setup that actually fixes it is to stop proxying the public registry and scope the private feed instead: ; .npmrc
@yourcompany:registry=https://pkgs.dev.azure.com/yourorg/_packaging/yourfeed/npm/registry/
registry=https://registry.npmjs.org/Public packages then resolve straight from npmjs with authoritative If the proxy has to stay for compliance or offline reasons, then the honest answer is that the cooldown cannot be trusted through DevOps today, and a feature request for a configurable time source (or a fallback to npmjs for time data) would be worth opening on the pnpm repo. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We use Azure Devops on-prem private registry , have it in
.npmrcfile specified. In devops registry and public registryhttps://registry.npmjs.orgis defined as upstream registry.In
pnpm-workspace.yamlwe got:Problem is when you first install via "pnpm install" a package is cached in devops registry as upstream. But pnpm checks are made against this devops registry (which we want because there are our company private packages) but that also means it gets wrong dates for public packages from registry
https://registry.npmjs.org.I dont know to it will do it where some packages are our own private and only lives in that devops custom registry and not in public npmjs and then public packages are cached. So from where to get "source of truth" for publish date in this case?
All reactions