mdbootstrap / adminlte-laravel

A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0
MIT License
1.81k stars 508 forks source link

Find ( if possible ) a solution for public folder not in sync #228

Open acacha opened 7 years ago

acacha commented 7 years ago

Sometimes public folder is not in sync (because I forget to run npm run dev) with changes in resources. So it could be very convenient a tool like prepublish script in npm that forces execution of a script before publishing new version of package. So there is something in Composer/packagist or maybe for git before tagging?

acacha commented 7 years ago

https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks maybe use pre-push hook?

acacha commented 7 years ago

https://github.com/typicode/husky/blob/master/README.md

kingofswing commented 6 years ago

@acacha Mr.acacha , I use git to deploy , but how to deal with message.php ? because my .gitignore file under project root is like these /node_modules /public/storage /public/hot /storage/*.key /vendor /.idea Homestead.json Homestead.yaml _ide_helper.php

So I can't sync the modified language specific message.php‘s to the production site. how can I solve this problem? If remove /vendor, then all the vendor directories would be copied to the remote site.