decaffeinate-simple.sh 509 B

12345678910111213141516171819
  1. set -ex
  2. npx bulk-decaffeinate convert
  3. npx bulk-decaffeinate clean
  4. git mv app/coffee app/js
  5. git commit -m "Rename app/coffee dir to app/js"
  6. git mv test/acceptance/coffee test/acceptance/js
  7. git commit -m "Rename test/acceptance/coffee to test/acceptance/js"
  8. npx prettier-eslint '*.js' --write
  9. npx prettier-eslint 'config/*.js' --write
  10. npx prettier-eslint 'app/js/**/*.js' --write
  11. npx prettier-eslint 'test/acceptance/js/**/*.js' --write
  12. git add .
  13. git commit -m "Prettier: lint javascript files"
  14. echo "done"