40 Commits

Author SHA1 Message Date
Bram Kragten
488599905b
Always use target ES2021 () 2025-04-25 09:04:05 +00:00
Bram Kragten
e156dd36f4
Use SWC for typescript, update to Lit 3, migrate decorators ()
Co-authored-by: Wendelin <w@pe8.at>
2025-04-24 14:10:35 +02:00
Bram Kragten
21b3177f95
Replace paper item in sidebar ()
* replace paper item in sidebar

* make items same height as before

* remove polymer refs

* fix user badge

* replace removed styles (and remove unused)
2025-04-10 18:32:38 +02:00
Bram Kragten
430e47c0fc
Replace paper tabs by shoelace tabs () 2025-04-10 14:20:24 +00:00
Bram Kragten
386b8ba747
Move compatibility to static polyfill handling ()
* Move compatibility to static polyfill handling

* Move compatibility to static polyfill handling

* Prettier
2025-03-26 11:38:53 +02:00
Bram Kragten
dda7de3301
Fix issues with develop and serve ()
* fix issues with develop and serve

* fix get image data, use hassUrl

* save picture-upload

* Update bundje.cjs

* Prettier

* Fix profile picture in dev serve mode

* person badge too

---------

Co-authored-by: Wendelin <w@pe8.at>
2025-03-12 16:59:40 +01:00
martetassyns
5c7d9b3fa3
Made it easier to test the frontend against an existing core instance. ()
* 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>
2024-12-02 13:27:36 +00:00
Wendelin
bd0bfc1fbe
Rspack ()
* Add rspack

* Remove TransformAsyncModulesPlugin from rspack

* Migrate all webpack usage to rspack

* Migrate tests to vitest

* Fix test suites

* Remove chai dependency

* Fix compute_state_display tests

* Fix resolveTimeZone

* Reduces test pipeline

* Revert test ci

* optimize chunk filtering

* Migrate landing-page to rspack

* Update rspack dependencies

* Add rsdoctor

* Fix prod build bundle size

* Use rsdoctor for demo stats

* Remove unused webpack configs

* Update build-scripts/rspack.cjs

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>

* Fix eslint

* Update rspack

* Remove unused code

---------

Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2024-11-26 14:49:13 +01:00
Wendelin
5b8e63a213
Landing page () 2024-11-20 16:20:08 +00:00
Simon Lamon
ee79c3a983
Remove rollup build configuration ()
Rollup remove
2024-11-08 10:19:52 +02:00
Steve Repsher
345000a0e9
Redefine browser requirements for modern (latest) builds ()
* 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 () 2024-07-19 10:54:27 +02:00
Steve Repsher
686424fc70
Add CoreJS polyfills to modern build () 2024-06-21 11:07:39 +02:00
Steve Repsher
3e1227b064
Do not inject Intl polyfill into ecma402-abstract package () 2024-06-12 14:45:57 -04:00
Steve Repsher
7748315fc3
Inject Intl polyfills where used ()
* 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 () 2024-05-24 12:21:46 -04:00
Steve Repsher
e0062cf190
Inject ElementInternals polyfill where needed () 2024-05-23 14:25:58 -04:00
Steve Repsher
84b436c08e
Fix self-injection for custom polyfills ()
* 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]
61b04a882b
Update dependency core-js to v3.34.0 ()
* 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 () 2023-11-29 10:35:53 +01:00
Simon Lamon
7691f7eb05
PolymerElement cleanup () 2023-11-28 20:25:12 +01:00
Steve Repsher
075cca5991
Inject polyfills where used () 2023-11-24 15:57:21 +01:00
Steve Repsher
cf355c419d
Fix Babel runtime helper injections () 2023-11-22 14:10:28 +01:00
Steve Repsher
cee8c756fc
Remove dependency esprima () 2023-11-08 11:24:03 +01:00
Steve Repsher
79f3759756
Create webpack bundle stats for Relative CI () 2023-10-12 09:28:34 +02:00
renovate[bot]
cc01e8d6a8
Update dependency core-js to v3.33.0 ()
* 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
713ebfcc22
Enable shipped proposals in Babel () 2023-09-19 13:56:55 +02:00
Steve Repsher
cba246fc7f
Fix source URLs in source maps () 2023-08-15 15:10:12 +00:00
renovate[bot]
725c8685fd
Update dependency core-js to v3.32.0 ()
* 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
renovate[bot]
12b7b903bc
Update dependency core-js to v3.31.0 ()
* 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 () 2023-06-13 18:12:44 +02:00
Bram Kragten
d914fb0cfc
Revert "Use ES modules and dynamic import for Webpack latest builds (… ()
Revert "Use ES modules and dynamic import for Webpack latest builds ()"

This reverts commit 7b350e31dd9a313d1023d2049d9513f58d38e8de.
2023-05-30 17:56:38 -04:00
Steve Repsher
7b350e31dd
Use ES modules and dynamic import for Webpack latest builds () 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 ()
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 () 2023-05-15 09:54:59 +02:00
Steve Repsher
aa3fd70966
Use Babel runtime for helpers and regenerator (33%+ bundle reduction) () 2023-05-08 14:47:53 +02:00
Steve Repsher
9ba114777e
Add browserslist config and use for Babel preset environment () 2023-04-24 11:28:27 +02:00
Steve Repsher
22f5d6cacb
Migrate Babel loose options to assumptions () 2023-04-20 10:59:08 +02:00
renovate[bot]
da58aed64c
Update dependency core-js to v3.30.0 ()
* 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
1f1898fa46
Make module types explicit and convert some to ESM () 2023-03-30 11:23:43 +02:00