Skip to content
Discussion options

You must be logged in to vote

So after digging in the code of pkg-fetch, I have found a hack which is:

  • replace the minor in node_modules/@yao-pkg/pkg-fetch/patches/patches.json (only the key, not the patch, as we're not going to apply the patch)
  • add the proper hash at the end of node_modules@yao-pkg\pkg-fetch\lib-es5\expected-shas.json (copied from the release notes of @yao-pkg/pkg-fetch repo)
  • start my build, and it fetch the correct minor 😅

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aethernet
Comment options

@robertsLando
Comment options

Answer selected by aethernet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants