ably-forks / laravel-echo

Laravel Echo library for beautiful Pusher and Ably integration.
https://laravel.com/docs/broadcasting#client-side-installation
MIT License
12 stars 4 forks source link

Use ably fork README for NPM publish #8

Closed owenpearson closed 1 year ago

owenpearson commented 1 year ago

Currently the upstream laravel/echo README appears on npmjs.com/packages/@ably/laravel-echo. This PR adds pre/post publish scripts to temporarily move .github/README.md to the root while publishing.

sacOO7 commented 1 year ago

Will this script work on windows machines too ?

owenpearson commented 1 year ago

@sacOO7 depends if you use a POSIX shell (git bash, WSL, CYGWIN, etc) 😄

owenpearson commented 1 year ago

@sacOO7 I've updated it to use a cross-platform mv command

owenpearson commented 1 year ago

@sacOO7 oops, good spot. fixed now