Skip to content

Conversation

@hoangvvo
Copy link
Collaborator

The intention of this PR is in #162 (comment)

  • postinstall hook requires user to install yarn and use a Linux-base machine (because of rm -rf command)
  • postpack does not really do anything because it is run after the tarball is generated

@hoangvvo hoangvvo marked this pull request as ready for review October 16, 2021 03:55
@hoangvvo
Copy link
Collaborator Author

I have tested and it worked in my fork https://www.npmjs.com/package/@hoangvvo/react-native-spotify-remote

@hoangvvo hoangvvo marked this pull request as draft October 16, 2021 05:08
@hoangvvo hoangvvo marked this pull request as ready for review October 16, 2021 05:09
@hoangvvo
Copy link
Collaborator Author

I just notice this technically undo https://github.com/cjam/react-native-spotify-remote/pull/157/files. I am not sure the intention in that PR so we may need to consider that.

@cjam
Copy link
Owner

cjam commented Oct 17, 2021

Yea this seems like a good change. All of the necessary files should be packaged up in the tar so post-install shouldn't be necessary. Thanks for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants