261 Commits

Author SHA1 Message Date
Steve Repsher
dfbf4abd5d
Link old service worker to new name (#21581) 2024-08-05 15:52:46 +02:00
Steve Repsher
dd74a35d3f
Use Brotli compression for modern build (#17906) 2024-07-31 10:57:52 +02:00
Steve Repsher
345000a0e9
Redefine browser requirements for modern (latest) builds (#16506)
* 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>
2024-07-19 10:49:19 -04:00
Steve Repsher
82d84de426
Enable service worker for legacy build (#21177) 2024-07-19 10:54:27 +02:00
Paulus Schoutsen
d833910796
Fix demo development inside a dev container (#21261) 2024-07-03 13:52:53 +02:00
Steve Repsher
5707ca0016
Fix English only translations build (#21245) 2024-07-02 15:13:04 +02:00
Steve Repsher
d01377da3c
Fix Webpack bundling of recorder worklet (#21239)
* Fix Webpack bundling of recorder worklet
2024-07-01 16:31:22 +02:00
Steve Repsher
686424fc70
Add CoreJS polyfills to modern build (#20676) 2024-06-21 11:07:39 +02:00
Steve Repsher
3e1227b064
Do not inject Intl polyfill into ecma402-abstract package (#21074) 2024-06-12 14:45:57 -04:00
Bram Kragten
c0e048023d format webpack.cjs 2024-05-29 18:04:24 +02:00
Bram Kragten
431f4937c1 Update webpack.cjs 2024-05-29 17:55:40 +02:00
Bram Kragten
0a55220837 Merge branch 'master' into dev 2024-05-29 17:53:04 +02:00
Steve Repsher
3eea7dc6cd
Use valid locale for translation test (#20899) 2024-05-29 15:44:56 +02:00
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