You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2021. It is now read-only.
The purpose of this change is to reduce the duration of pod/function provisioning by improving the performance of package installation. Available resources still play their role, but pnpm can assist with better resource utilization.
Since pnpm is a drop-in replacement for npm, it does not require additional changes.
hi @elordahl, sorry for the slow response (I'm no longer able to spend too much time in this project). The major inconvenient I see here is that this change may be a breaking change for existing functions that may rely in npm. My recommendation here is to either fork this project so you can easily use pnpm in your functions or submit it as a incubator runtime so people can still use npm if needed.
In any case, cc/ @antgamdia who should be maintaining the project atm.
I appreciate the feedback. I figured a new runtime was overkill for this change since pnpm is supposed to run transparently, with npm still in the image. That said, i understand not wanting to risk breaking compatibility 👍🏼
I'll run w/ a new runtime.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
The purpose of this change is to reduce the duration of pod/function provisioning by improving the performance of package installation. Available resources still play their role, but
pnpmcan assist with better resource utilization.Since
pnpmis a drop-in replacement fornpm, it does not require additional changes.Benchmarks
See https://pnpm.io/benchmarks for details on the following:
@andresmgot @joek @Henrike42