-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make portal-client dependency optional #474
Comments
I want to confirm my understanding of how My concern is that, under normal circumstances, it's unlikely for the installation to actually fail, meaning |
Good point about optional dependencies being installed by default, I hadn't considered that. But I think it's for the best actually 🤔 It's not that we think the installation could fail. It's about having a convenient way for the user to opt out of installing Originally, I thought this means that portal users would have an extra setup step to get the portal running, but this way it's actually better. By default |
User story
In order to streamline approval process in enterprises which vet every NPM package, it helps if the Code PushUp CLI has as few external dependencies as possible.
The
@code-pushup/portal-client
(which also pulls ingraphql
,graphql-request
andgraphql-tag
) is only needed for uploading to portal. That means its installation could be optional.Acceptance criteria
@code-pushup/portal-client
imports from static to dynamic@code-pushup/portal-client
fromdependencies
tooptionalDependencies
The text was updated successfully, but these errors were encountered: