Steve Repsher
97206ee8fe
Inject element polyfills where used using Babel ( #20689 )
2024-05-29 14:02:40 +02:00
Steve Repsher
7748315fc3
Inject Intl polyfills where used ( #20798 )
...
* Inject Intl polyfills where used
* Replace Intl polyfill in localize method with loading intl-messageformat asynchronously
* Remove spurious feature tests for Intl
2024-05-29 14:01:21 +02:00
Steve Repsher
41e34c0d61
Inject ResizeObserver polyfill where needed ( #20754 )
2024-05-24 12:21:46 -04:00
Steve Repsher
e0062cf190
Inject ElementInternals polyfill where needed ( #20818 )
2024-05-23 14:25:58 -04:00
Steve Repsher
79cdc43699
Enhance webpack transform async plugin to use babel runtime (with fix) ( #20745 )
2024-05-06 18:06:21 -04:00
Paul Bottein
571ed6b9e9
Revert usage of babel runtime for legacy bundle ( #20741 )
...
Revert usage of babel runtine for legacy bundle
2024-05-06 17:48:21 +02:00
Steve Repsher
cdf64ccdaa
Refactor translation merges to use native transform stream ( #20666 )
2024-05-06 15:17:01 +02:00
Paul Bottein
bc41de0d9c
Revert usage of babel runtime for legacy bundle ( #20741 )
...
Revert usage of babel runtine for legacy bundle
2024-05-06 12:12:19 +02:00
Steve Repsher
84b436c08e
Fix self-injection for custom polyfills ( #20718 )
...
* Fix self-injection for custom polyfills
* Update build-scripts/bundle.cjs
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-05-03 16:37:40 -04:00
renovate[bot]
b2797ab8da
Update dependency gulp to v5 ( #20601 )
...
* Update dependency gulp to v5
* Fix premature cloasing of hash stream
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2024-05-01 15:13:28 +02:00
Steve Repsher
4b593c1c96
Enhance webpack transform async plugin to use babel runtime ( #20543 )
2024-04-22 09:40:20 +02:00
renovate[bot]
1df9c38a8c
Update dependency tar to v7 ( #20513 )
...
* Update dependency tar to v7
* Update fetch-nightly-translations.js
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-04-15 13:40:38 +00:00
Steve Repsher
e22e3e88a0
Speed up and simplify translations build ( #19988 )
...
* 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>
2024-04-12 12:49:18 +02:00
Paul Bottein
2d4a8e2e45
Fix search input outlined background color and margin ( #20407 )
2024-04-04 12:53:03 +02:00
Bram Kragten
c3b2ebf380
Don't use ES5 build for dev server ( #19731 )
2024-02-08 14:33:34 +01:00
Steve Repsher
4046534fa8
Compress static HTML/XML ( #19437 )
2024-01-17 17:58:32 -05:00
Steve Repsher
ae79df8c55
Allow TLA for legacy build and remove static Intl polyfills ( #19207 )
2024-01-08 14:07:08 +01:00
Bram Kragten
979085a9de
Fix supervisor dev build ( #19266 )
2024-01-03 20:35:54 +01:00
renovate[bot]
61b04a882b
Update dependency core-js to v3.34.0 ( #18974 )
...
* Update dependency core-js to v3.34.0
* Update Babel setting with package.json version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-12-22 15:41:33 -05:00
Steve Repsher
3a94deef69
Fix minifying templates from dependencies ( #18795 )
2023-11-29 10:35:53 +01:00
Simon Lamon
7691f7eb05
PolymerElement cleanup ( #18793 )
2023-11-28 20:25:12 +01:00
Bram Kragten
db68c7faa9
Log errors when downloading lokalise translations ( #18781 )
2023-11-28 08:21:19 +01:00
Steve Repsher
075cca5991
Inject polyfills where used ( #18719 )
2023-11-24 15:57:21 +01:00
Steve Repsher
1526209f82
Adjust bundle filenames for stats and debugging ( #18677 )
2023-11-22 14:11:23 +01:00
Steve Repsher
cf355c419d
Fix Babel runtime helper injections ( #18698 )
2023-11-22 14:10:28 +01:00
renovate[bot]
15395275ba
Update dependency prettier to v3.1.0 ( #18675 )
...
* Update dependency prettier to v3.1.0
* Reformat
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-11-19 23:31:56 -05:00
Steve Repsher
cee8c756fc
Remove dependency esprima ( #18564 )
2023-11-08 11:24:03 +01:00
Steve Repsher
e16a101de8
Compress service worker ( #18407 )
2023-10-25 17:17:11 +02:00
Bram Kragten
463a3244cf
Add two pane view to calendar panel ( #18286 )
...
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-10-23 14:13:38 +00:00
Steve Repsher
d88831b719
Enable CORS for legacy bundle loading ( #18248 )
2023-10-16 20:40:15 +02:00
Steve Repsher
434b9595c0
Remove SystemJS loader from Webpack builds ( #18249 )
2023-10-16 12:42:46 +02:00
Steve Repsher
79f3759756
Create webpack bundle stats for Relative CI ( #18178 )
2023-10-12 09:28:34 +02:00
Steve Repsher
294df396f4
Remove test language from production (really) ( #18137 )
2023-10-09 14:40:06 +02:00
renovate[bot]
cc01e8d6a8
Update dependency core-js to v3.33.0 ( #18119 )
...
* Update dependency core-js to v3.33.0
* Update babel setting
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-10-09 12:38:31 +00:00
Steve Repsher
bf9e2cd404
Move polyfill time zone data out of bundles ( #18142 )
2023-10-09 14:28:16 +02:00
Paul Bottein
cbd424ff5a
Fix aria label auth page ( #18032 )
2023-09-26 22:39:25 +02:00
Steve Repsher
713ebfcc22
Enable shipped proposals in Babel ( #17909 )
2023-09-19 13:56:55 +02:00
Bram Kragten
29aed5371c
Move translation fetching to gulp action ( #17827 )
2023-09-06 00:28:26 +02:00
Steve Repsher
46a036ddbe
Improve frontend error messages written to system log ( #17616 )
2023-08-21 13:01:42 +02:00
Steve Repsher
cba246fc7f
Fix source URLs in source maps ( #17585 )
2023-08-15 15:10:12 +00:00
Steve Repsher
945c8e0320
Minify and compress Intl locale data ( #17506 )
2023-08-07 11:59:02 +02:00
Steve Repsher
edcdc865c4
Remove test language from production ( #17507 )
2023-08-07 11:54:40 +02:00
Paul Bottein
7dbae75e50
Remove hot reload for gallery ( #17484 )
2023-08-04 09:45:32 +00:00
renovate[bot]
725c8685fd
Update dependency core-js to v3.32.0 ( #17433 )
...
* Update dependency core-js to v3.32.0
* Update Babel setting
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-08-04 03:54:58 +00:00
Bram Kragten
35a427afad
Update download-translations.js
2023-07-10 13:17:35 +02:00
Bram Kragten
9f74af56ed
Update download-translations.js
2023-07-05 17:32:08 +02:00
Bram Kragten
c95232fecb
Update download-translations.js
2023-07-05 17:23:24 +02:00
Bram Kragten
cc8ab184e3
Update download-translations.js
2023-07-05 17:05:13 +02:00
Bram Kragten
1b503a6af1
Convert and filter backend translations to old format ( #17161 )
2023-07-05 13:29:42 +02:00
Joakim Sørensen
1645208f62
Export base create config functions ( #17007 )
2023-06-26 09:50:43 +02:00
renovate[bot]
7c15a65bba
Update dependency @lit-labs/virtualizer to v2.0.3 ( #16761 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-06-19 14:21:08 +00:00
renovate[bot]
12b7b903bc
Update dependency core-js to v3.31.0 ( #16913 )
...
* Update dependency core-js to v3.31.0
* Update babel setting
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-06-17 05:40:10 +00:00
Steve Repsher
fa1a6affa7
Use ES modules and dynamic import for Webpack latest builds ( #16849 )
2023-06-13 18:12:44 +02:00
Simon Lamon
5fc4e7a95d
Introduce Intl.ListFormat ( #16857 )
...
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-06-13 15:22:23 +02:00
Bram Kragten
d914fb0cfc
Revert "Use ES modules and dynamic import for Webpack latest builds (… ( #16679 )
...
Revert "Use ES modules and dynamic import for Webpack latest builds (#16620 )"
This reverts commit 7b350e31dd
.
2023-05-30 17:56:38 -04:00
Steve Repsher
7b350e31dd
Use ES modules and dynamic import for Webpack latest builds ( #16620 )
2023-05-30 18:27:49 +00:00
Joakim Sørensen
5006dfc138
Use `__STATIC_PATH__` in more places so the supervisor panel can reach paths ( #16665 )
...
Use __STATIC_PATH__ in more places so the supervisor panel can reach paths
2023-05-30 10:45:58 +02:00
Steve Repsher
eabd8b54f4
Correct Terser ECMA option ( #16518 )
2023-05-15 09:54:59 +02:00
Steve Repsher
586079917d
Convert remaining gulp modules to ESM ( #16430 )
2023-05-08 17:43:29 +02:00
Steve Repsher
aa3fd70966
Use Babel runtime for helpers and regenerator (33%+ bundle reduction) ( #16466 )
2023-05-08 14:47:53 +02:00
Steve Repsher
d2321b535c
Refactor Intl polyfills and remove from ES5 entrypoints ( #16349 )
2023-05-04 15:49:56 +02:00
Steve Repsher
f185e886c3
Convert top gulp modules to ESM ( #16387 )
2023-05-04 15:49:41 +02:00
Steve Repsher
a209fadf18
List Core JS polyfills for browserslist environments ( #16356 )
2023-05-01 14:47:57 +02:00
Steve Repsher
9ba114777e
Add browserslist config and use for Babel preset environment ( #16267 )
2023-04-24 11:28:27 +02:00
Paul Bottein
65161ce581
Language selector ( #16253 )
...
* Add language selector
* Use intl display names
* Use language picker in general settings and profile
* Add nativeName option
* Add format language util
* Add display-name polyfill
* Add native name to selector
* Rename variable
2023-04-20 10:12:49 -04:00
Steve Repsher
aac28efd32
Streamline HTML generation and consolidate templates ( #16117 )
2023-04-20 11:10:12 +02:00
Steve Repsher
22f5d6cacb
Migrate Babel loose options to assumptions ( #16245 )
2023-04-20 10:59:08 +02:00
renovate[bot]
1a9b99dd72
Update dependency glob to v10 ( #16153 )
...
* Update dependency glob to v10
* Use named export in gallery pages task
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-04-13 03:50:02 +00:00
renovate[bot]
da58aed64c
Update dependency core-js to v3.30.0 ( #16105 )
...
* Update dependency core-js to v3.30.0
* Update babel preset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-04-10 13:21:35 +00:00
Steve Repsher
d9b0d5765a
Add automatic retries to translation fetches ( #16020 )
2023-04-02 21:03:18 +02:00
Steve Repsher
91caffc4e1
Improve bundle chunk hashes and names ( #15991 )
2023-03-31 12:49:25 -04:00
Steve Repsher
1f1898fa46
Make module types explicit and convert some to ESM ( #15964 )
2023-03-30 11:23:43 +02:00
Bram Kragten
4ba7e5cf0f
Fix css minifying ( #15912 )
2023-03-23 18:28:23 +01:00
Steve Repsher
4abc2a65cb
Migrate to html-minifier-terser and improve some minification ( #15864 )
2023-03-22 11:42:16 +01:00
Jesse Moody
b0f3006c4b
Update rollup links ( #15835 )
2023-03-17 16:17:55 +01:00
renovate[bot]
c5be2acd46
Update dependency glob to v9 ( #15726 )
...
* Update dependency glob to v9
* Adjust to new API
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-03-17 13:28:51 +00:00
Steve Repsher
aeb7f8ff36
Fix webpack source maps ( #15663 )
2023-03-16 14:38:55 +01:00
Bram Kragten
0cde0fc9a9
Remove deprecated and removed icons ( #15762 )
2023-03-08 12:28:34 +01:00
Steve Repsher
a0033d9112
Fix minification of SVG template literals ( #15670 )
2023-03-01 23:57:11 -05:00
Bram Kragten
f803bbadc9
Set css optimise level to 0 ( #15652 )
2023-03-01 14:24:00 +00:00
Bram Kragten
7b4850b5d6
Bump core js, replace serve with serve-handler ( #15637 )
...
* Bump core js, remove serve from deps
* resplace serve with serve-handler
2023-03-01 09:08:56 -05:00
Paulus Schoutsen
6af57fa2cd
Temp patch to fix Rollup build ( #15631 )
2023-02-28 10:54:27 +01:00
Steve Repsher
17e6e132d1
Minify HTML and CSS template literals ( #15624 )
2023-02-28 00:02:04 -05:00
dependabot[bot]
94dd3c95ff
Bump core-js from 3.27.2 to 3.28.0 ( #15441 )
...
* Bump core-js from 3.27.2 to 3.28.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js ) from 3.27.2 to 3.28.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/commits/v3.28.0/packages/core-js )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update core-js version in babel preset
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-02-15 18:41:34 +00:00
Bram Kragten
f0d53aab7b
Fix ES5 build and fix polyfill of Intl.Locale ( #15322 )
2023-02-02 20:20:23 +01:00
dependabot[bot]
014ae06e85
Bump del from 4.1.1 to 7.0.0 ( #15120 )
...
* Bump del from 4.1.1 to 7.0.0
Bumps [del](https://github.com/sindresorhus/del ) from 4.1.1 to 7.0.0.
- [Release notes](https://github.com/sindresorhus/del/releases )
- [Commits](https://github.com/sindresorhus/del/compare/v4.1.1...v7.0.0 )
---
updated-dependencies:
- dependency-name: del
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Deduplicate dependencies
* Adjust to ESM-only and API changes
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-01-18 18:21:41 +00:00
Steve Repsher
dff7f653b1
Fix checking existence of downloaded translations ( #14493 )
2022-11-30 16:53:26 -05:00
Steve Repsher
ee6f97b802
Fetch nightly translations during build ( #13724 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-11-29 19:33:43 +01:00
Steve Repsher
8444fe0a07
Include backend translations in Lokalise download ( #13981 )
2022-10-10 17:12:25 +02:00
Paulus Schoutsen
9b2dcbdb59
Fix script/size_stats
2022-08-30 21:53:17 -04:00
Michael Irigoyen
6d88d46ce4
Update Material Design Icons to v7.0.96 ( #13175 )
...
* Update Material Design Icons to v7.0.96
* Fetch updated MDI packages
2022-07-21 11:43:48 +02:00
Franck Nijhof
07332bf155
Fix version detection in build env to allow for nightly builds ( #13062 )
2022-07-02 00:22:54 +02:00
Bram Kragten
9324061d05
Add auto completion for mdi icons to code editor ( #13022 )
...
Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-06-29 16:12:16 +00:00
Marc Mueller
f8303bff76
Move metadata to pyproject.toml ( #12770 )
2022-05-25 08:16:09 -05:00
Zack Barett
6b67546daf
Virtualize Media Player Grid ( #11898 )
2022-04-25 12:32:50 +02:00
Bram Kragten
aa831a9adf
bump marked and flatmap ( #11814 )
2022-02-23 22:11:13 +01:00
Zack Barett
460b9003fc
Script Editor to Ha Form ( #11601 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-02-14 11:27:29 -06:00
Paulus Schoutsen
0046252e32
Add selectors to ha-form ( #11534 )
2022-02-04 12:47:21 +01:00
Marc Mueller
ce0ced0b6a
Move to `setup.cfg` and config for `build-system` ( #11484 )
2022-01-28 21:18:17 -08:00
Paulus Schoutsen
3133f9b01f
Use page instead of demo ( #11118 )
...
* Use page instead of demo
* Update netlify script
* Update ci.yml
* Rename demo -> page
2022-01-06 22:32:10 -08:00