-
Couldn't load subscription status.
- Fork 14
[FIX] Migrate from libnpmconfig to @npmcli/config #618
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
Conversation
8f2b636 to
8976c24
Compare
Co-authored-by: Matthias Oßwald <mat.osswald@sap.com>
8976c24 to
cde5a95
Compare
Co-authored-by: Matthias Oßwald <mat.osswald@sap.com>
|
Internal smoke test succeeded (run no. 1398) |
Now already cached through #_getPacote. Also, the initialization of the variable was async, invalidating the cache when called concurrently.
| if (!this._npmConfig) { | ||
| const {default: libnpmconfig} = await import("libnpmconfig"); | ||
| const opts = { | ||
| cache: this._cacheDir, |
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.
There's a regression in this PR which removes the usage of a separate cacache dir within our .ui5 data directory.
With this PR the default cache of npm is unsed instead of our separate cache directory. I'll push a fix.
Fixes regression from SAP/ui5-project#618
…roject#618) Fixes: #786 JIRA: CPOUI5FOUNDATION-631 --------- Co-authored-by: Matthias Oßwald <mat.osswald@sap.com> Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
Fixes regression from SAP/ui5-project#618
fixes: UI5/cli#786
JIRA: CPOUI5FOUNDATION-631