* Made it easier to test the frontend against an existing core instance.
* Ensured that script works regardless of current working dir
* Use consistent quote style
* Also allow using variables in hassUrl override
* Improved the default behavior of the script
* more consistent variable naming
* don't install a global dependency
* documented caching wierdness where if you switch core endpoints the old one remains in use
* Simplified some code
* improved documentation
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
* Fallback to formatjs pt for brazilian pt
* Update build-scripts/gulp/locale-data.js
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
---------
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* Redefine browser requirements for modern (latest) builds
* Rename babel class properties plugin
* Fix only allowing latest Android
* Add browsers released in last year
* Use at or above for utilization (no change to browsers currently)
* Only use time query (no effective change)
* Add transform for private methods
* Fix some typos in browserslist config
Co-authored-by: Quentame <polletquentin74@me.com>
* bump browserslist-useragent-regex
* Add fallback feature detection for Array.prototype.findLast
---------
Co-authored-by: Quentame <polletquentin74@me.com>
* Inject Intl polyfills where used
* Replace Intl polyfill in localize method with loading intl-messageformat asynchronously
* Remove spurious feature tests for Intl
* Speed up and simplify translations build
- Remove use of gulp-flatmap for merges (wasted input) and just loop over translation files.
- Parse and buffer master only once for all merges.
- Remove lokalise key reference transform from non-English files. This is already done by Lokalise when they are downloaded.
- Remove tabs from merged output to minimize buffer sizes.
- Pipe merges to a hashing stream, removing extra tasks and intermediate file I/O.
- Pipe hashed files to a single custom asynchronous transform stream to fragmentize the files. It expands the stream to push a new file for each fragment.
- Incorporate flattening into fragmentization.
- Delete entire ui.panel key for base translation (instead of leaving an empty object).
- Optimize flatten method to stop copying output over and over.
- Convert empty and test filters to JSON.parse() revivers for simplicity and better performance.
- Incorporate supervisor builds into main tasks using a simple toggle (i.e. remove duplicate code).
- Funcify local tasks and simplify exported tasks.
- Incorporate test metadata task into a simplified metadata task.
* Fix Lokalise key reference link
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
---------
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>