How to package a non-main branch for testing? #3323
-
Hello, we have a fork to add non-null operators to GraphQL. We want to integration-test our fork with other libraries, but we don't know how to package the fork. It looks like the repo relies on a custom script on Github Action to package it. What would be the best way to package this branch? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
similar to |
Beta Was this translation helpful? Give feedback.
-
@aprilrd Not really you can do this locally just do:
You will get If you want to do something more official we can use the same approach as |
Beta Was this translation helpful? Give feedback.
@aprilrd Not really you can do this locally just do:
You will get
npmDist
folder withpackage.json
in it.To pack it as a package you can do
npm pack ./npmDist
.If you want to do something more official we can use the same approach as
stream-defer
that @saihaj mentioned.