Michael Telatynski and GitHub
bbec915fb0
Enable more oxlint rules ( #34189 )
...
* Fix type imports
* Fix jsdoc
* Fixup types
* Fix stray awaits on non-thenables
* Fixup imports
* Fix splats
* Fix this-context on callbacks
* Memoise react contexts
* Prefer find/flatMap
* Make oxlint happier about our React keys
* Avoid unsafe default function params
* Fixup jsdoc
* Fixup contexts
* Switch from eslint to oxlint
* Some oxlint-related tweaks
* Iterate
* Partial revert to defer some changes and shrink diff
* Iterate
* Add eslint-plugin-element-call and enable the copyright rule
* Set strictStorePkgContentCheck
* Iterate
* Enable forwardRef oxlint rule
* Enable no-unused-vars oxlint rule
* Enable no-implied-eval oxlint rule
* Enable no-duplicate-type-constituents oxlint rule
* Enable explicit-length-check oxlint rule
* Enable prefer-number-properties oxlint rule
* Enable no-callback-in-promise oxlint rule
* Enable no-require-imports oxlint rule
* Remove disablement of most unicorn oxlint rules
* Enable no-conditional-tests oxlint rule
* Enable promise-valid-params oxlint rule
* Enable require-unicode-regexp oxlint rule
* Remove max-len comments as we use oxfmt for formatting
* Enable majority of oxlint `suspicious` rules
* Iterate
* Fix oxlint type-aware lint running without dependencies built
2026-07-29 08:26:07 +00:00
Michael Telatynski and GitHub
15c85ec50f
Switch from eslint to oxlint ( #34166 )
...
* Fix type imports
* Fix jsdoc
* Fixup types
* Fix stray awaits on non-thenables
* Fixup imports
* Fix splats
* Fix this-context on callbacks
* Memoise react contexts
* Prefer find/flatMap
* Make oxlint happier about our React keys
* Avoid unsafe default function params
* Fixup jsdoc
* Fixup contexts
* Switch from eslint to oxlint
* Some oxlint-related tweaks
* Iterate
* Partial revert to defer some changes and shrink diff
* Iterate
* Add eslint-plugin-element-call and enable the copyright rule
* Set strictStorePkgContentCheck
* Iterate
* Make sonar happy
* Fix new lints
2026-07-10 09:47:41 +00:00
Michael Telatynski and GitHub
5002f2929f
Fix CI/CD pnpm error around minimumReleaseAge ( #33908 )
...
* Update pnpm
* Fix @types/node dep reference
* disable allowBuilds for js-sdk
* disable allowBuilds for js-sdk for git too
* Iterate
* Iterate
2026-06-19 11:12:59 +00:00
44c540eca0
Tweak modules to be disabled if config is missing ( #33806 )
...
* Consolidate modules vitest coverage
* Use vite-common as base for modules vitest config
* Make knip happier
* Fix coverage paths
* Place modules unit tests alongside src
* Switch to defineProject for better type safety
* Consolidate vitest CI & coverage
Kills off vite-common
* Update comment
* Update lockfile
* Fix shared-components vitest config
* Soften eslint config for tests in modules
* Run eslint on modules/playwright dir too
* Make tsc happy
* Tweak modules to be disabled if config is missing
* Restore blank line
* Improve coverage
* Potential fix for pull request finding 'Unused variable, import, function or class'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-16 08:41:40 +00:00
Michael Telatynski and GitHub
e9a89d9872
Consolidate vitest CI & coverage ( #33808 )
...
* Consolidate modules vitest coverage
* Use vite-common as base for modules vitest config
* Make knip happier
* Fix coverage paths
* Place modules unit tests alongside src
* Switch to defineProject for better type safety
* Consolidate vitest CI & coverage
Kills off vite-common
* Update comment
* Update lockfile
* Fix shared-components vitest config
* Soften eslint config for tests in modules
* Run eslint on modules/playwright dir too
* Make tsc happy
2026-06-10 16:00:34 +00:00
Michael Telatynski
6f46493b4d
DRY
2026-06-08 13:34:08 +01:00
Michael Telatynski
d4bdc70653
Fix tests
2026-06-08 11:59:47 +01:00
Michael Telatynski
af74f511ed
Make tsc happier
2026-06-08 11:42:00 +01:00
Michael Telatynski
2192b2f5e3
Fix vitest runs for modules
2026-06-08 11:21:36 +01:00
Michael Telatynski
cf9ee41d06
DRY
2026-06-08 11:19:13 +01:00
Michael Telatynski
799d33278f
Absorb remainder of element-modules into monorepo
2026-06-08 10:32:12 +01:00
renovate[bot] and GitHub
ee50bb87df
Update react to v6
2026-06-04 13:11:34 +00:00
Michael Telatynski
cfab5cc659
Iterate NODE_ENV
2026-06-04 13:42:01 +01:00
Michael Telatynski
f5d93099e3
Re-add externalGlobals
2026-06-04 12:47:25 +01:00
Michael Telatynski
9d9991d838
Use rolldownOptions.transform.define
2026-06-04 12:18:22 +01:00
Michael Telatynski
82b5397c7d
Use rolldownOptions.output.globals
2026-06-04 11:36:15 +01:00
Michael Telatynski
2321dc8f63
Use esmExternalRequirePlugin
2026-06-04 11:11:29 +01:00
renovate[bot] and GitHub
2a6e185be9
Update vite
2026-06-04 08:13:41 +00:00
Michael Telatynski
fb1ddda7c8
Avoid mixing vitest versions
2026-06-03 17:41:36 +01:00
renovate[bot] and GitHub
46b6254996
Update vite
2026-06-03 16:15:38 +00:00
renovate[bot] and GitHub
d9e0bd9bf7
Update vector-im
2026-06-03 14:23:47 +00:00
renovate[bot] and GitHub
7f286de61f
Update dependency typescript to v6
2026-04-29 20:10:19 +00:00
8d82407e8b
Use proper version number
...
Co-authored-by: Florian Duros <florian.duros@ormaz.fr >
2026-04-14 09:53:07 +01:00
David Baker
319ec4bccc
Remove accidentally commited diff file
2026-04-14 09:51:03 +01:00
David Baker
e936ba7d82
Also a test for the module entrypoint
2026-03-17 10:46:28 +00:00
David Baker
dd2a125d52
Add unit test for the toggle component
...
Using playwright-provided chromium via vitest + testing library
2026-03-16 18:51:40 +00:00
David Baker
7a73183334
Add deps
2026-03-13 18:36:55 +00:00
David Baker
084d74593c
Add test for config.ts
2026-03-13 18:29:39 +00:00
David Baker
6ccf9c5047
Add playwright test for widget toggles module
2026-03-13 17:32:06 +00:00
David Baker
4eec6e7a97
Update api name
2026-03-10 14:14:44 +00:00
David Baker
30abf86c4b
Add widget toggles module
...
* API: https://github.com/element-hq/element-modules/pull/219
* Element Web API impl: https://github.com/element-hq/element-web/pull/32734
2026-03-06 11:02:11 +00:00