Bump i18n-js from 3.9.2 to 4.0.0

Bumps [i18n-js](https://github.com/fnando/i18n-js) from 3.9.2 to 4.0.0.
- [Release notes](https://github.com/fnando/i18n-js/releases)
- [Changelog](https://github.com/fnando/i18n-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fnando/i18n-js/compare/v3.9.2...v4.0.0)

---
updated-dependencies:
- dependency-name: i18n-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2022-08-08 18:23:19 +00:00
committed by Sebastian Serth
parent ad5acd7f1b
commit 727f85841d
9 changed files with 70 additions and 7 deletions

View File

@ -0,0 +1,17 @@
# frozen_string_literal: true
task before_assets_precompile: :environment do
system('bundle exec i18n export')
end
# every time you execute 'rake assets:precompile'
# run 'before_assets_precompile' first
Rake::Task['assets:precompile'].enhance ['before_assets_precompile']
task before_assets_clobber: :environment do
system('rm -rf ./tmp/locales.json')
end
# every time you execute 'rake assets:precompile'
# run 'before_assets_precompile' first
Rake::Task['assets:clobber'].enhance ['before_assets_clobber']