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
9efebe13ef
Update dependency oxlint-tsgolint to v7 ( #34442 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-28 15:05:53 +00:00
5603ae02d9
Update npm non-major dependencies ( #34377 )
...
* Update npm non-major dependencies
* Iterate
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-07-22 12:00:53 +00:00
67fc33ad98
Update npm non-major dependencies ( #34320 )
...
* Update npm non-major dependencies
* Oxfmt
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-07-17 14:14:07 +00:00
63b8974051
Update dependency nx to v23.1.0 ( #34321 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-17 08:37:44 +00:00
86b5a28a32
Update npm non-major dependencies ( #34263 )
...
* Update npm non-major dependencies
* Fix pcss comments
* Run oxfmt
* Fix lockfile
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-07-15 09:15:58 +00:00
831ab040d0
Update dependency nx to v23.0.2 ( #34259 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-07-15 08:31:27 +00:00
Michael Telatynski and GitHub
b6859885a3
Upgrade to TypeScript 7 ( #34208 )
...
* Upgrade to TypeScript 7
for massive tsc speed gains
Those on WebStorm will want to upgrade to EAP to reap the benefits of the new TSGo compiler
Some things (module-api & shared-components) which utilise unplugin-dts (and api-extractor) need to hold a copy of ts6 for its conventional lib format and API. TS7 ships with no API until TS7.1.
Other things which use eslint also need ts6 for typescript-eslint.
Some type changes were necessary as TS7 caught some issues.
* Add knip exception
* Fix bad merge
2026-07-14 08:09:03 +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
2dee304cc0
Update pnpm ( #34066 )
2026-07-09 16:48:27 +01:00
6027ec5142
Update npm non-major dependencies ( #34135 )
...
* Update npm non-major dependencies
* Hold back oxfmt due to postcss support being broken
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-07-06 11:37:09 +00:00
Will Hunt and GitHub
588a8a6fcf
Add a CI check for unused settings ( #34105 )
...
* Add unused settings script
* Run in CI
* Remove unused settings sans topic html
* Report as annotations
* Cleanup script
2026-07-02 17:59:27 +00:00
20dad858c5
Update npm non-major dependencies ( #34073 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 09:09:55 +00:00
02a20b7c00
Update dependency nx to v23.0.1 ( #34072 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-07-01 10:48:10 +00:00
b2bed9a473
Update npm non-major dependencies ( #33944 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 14:41:41 +00:00
92076e00fb
Update nx (major) ( #33931 )
...
* Update nx
* Fix nx config
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-06-23 10:03:31 +00:00
Michael Telatynski and GitHub
7a1a3f518c
Make codebase comply to knip --strict ( #33893 )
...
* Make codebase comply to `knip --strict`
Deletes a few bits of dead code
* Trim i18n strings
* Fix missing export
* Remove test of dead code
2026-06-18 09:35:47 +00:00
8be053c5aa
Update npm non-major dependencies ( #33876 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-17 10:20:09 +00:00
Michael Telatynski and GitHub
eca2f39dbb
Switch from prettier to oxfmt ( #33844 )
...
* Switch from prettier to oxfmt
* Make knip happy
* Make knip happy
* Apply suggestion from @t3chguy
* Rename .oxfmtrc.json to .oxfmtrc.jsonc
* Make oxfmt happier
2026-06-16 12:17:18 +00:00
Michael Telatynski and GitHub
2f4e6a4ec4
Use vitest for some EW unit tests ( #33816 )
...
* Use vitest for some EW unit tests
* Ensure library builds are done before unit tests
* Stabilise jest tests
* Move more tests over
* Make sonar happier
* Update types/node for happy-dom compat again
* Decrease max-workers to stabilise jest tests
* Split jest over 3 runners to alleviate memory woes
* Switch jest to runInBand
* Attempt to deflake jest tests
* tweak coverage
* tweak coverage
2026-06-15 13:24:33 +00:00
Michael Telatynski and GitHub
2d24778214
Fix modules dir tsc not running in CI ( #33811 )
...
* Fix modules dir tsc not running in CI
* Switch to nx run-many for ci task
This has smarter scheduling logic for dependant tasks
2026-06-11 10:37:47 +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
eaccc01687
Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/merge-modules
...
# Conflicts:
# pnpm-lock.yaml
# pnpm-workspace.yaml
2026-06-09 12:39:57 +01:00
bebd8f5c1b
Update npm non-major dependencies ( #33758 )
...
* Update npm non-major dependencies
* Hold back unplugin-dts
* Make knip happy
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-06-09 09:20:56 +00:00
Michael Telatynski
d6313dfae1
Set --workspace-concurrency=1
2026-06-08 13:21:13 +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
2b36a9bf29
Update npm non-major dependencies ( #33742 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 11:00:17 +00:00
ab9eef1873
Update nx to v22.7.5 ( #33704 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 17:11:32 +00:00
7bc8c0bd28
Update npm non-major dependencies ( #33707 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 16:15:04 +00:00
Michael Telatynski and GitHub
35484e5183
Switch to using diff-cover for the Coverage gate ( #33673 )
...
* Switch to using diff-cover for the Coverage gate
Enabling developers to check their PR coverage without waiting for CI
* Remove sonar-project.properties - in automatic mode Sonar will not read this file
* Add note to CONTRIBUTING.md
* Skip sonar in MQ
2026-06-01 12:26:03 +00:00
1fb6b778e7
Update pnpm to v11 ( #33573 )
...
* Update pnpm to v11
* Handle breaking changes
* Attach pnpm hash
* Remove redundant packageManager fields
* Make lint-staged happy
* Lockfile pnpm itself too
* Update pnpm/action-setup for better v11 compatibility
* Specify types to make tsc happier
* Fix permissions
* Check ulimit
* Specify minimumReleaseAgeExclude
* Run desktop tests
* Revert "Run desktop tests"
This reverts commit 911eb0ba2e9237d4b28e3bdaaf8f10ba6f22e827.
* Revert "Check ulimit"
This reverts commit f09eb59d715ba30a2e7fc5dba17dde092bd9bf17.
* Reapply "Check ulimit"
This reverts commit 83227c19ff5d07db91b6586f407f56870b00c041.
* Run desktop tests
* Switch nodeLinker & remove app-builder-lib patch
* Fix webpack.config.ts
* Fix .stylelintrc.cjs
* Fix `events` package
* Makes types happier
* Make knip happy
* Fix hak build
* Make jest happy
* Make pnpm-link happy
* Remove dead file
* Run playwright tests
* Fix linux hak permissions in ci
* Test
* Remove ulimit checks
* Disable skip
* Update nx
* Tweak line endings
* Update screenshot
* Iterate
* Webpack fallback `events`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-05-29 08:26:59 +00:00
Michael Telatynski and GitHub
7ea28d3829
Satisfy pnpm audit ( #33616 )
2026-05-26 14:21:13 +00:00
d63792f672
Update dependency caniuse-lite to v1.0.30001793 ( #33552 )
...
* Update dependency caniuse-lite to v1.0.30001793
* Update browser support tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Baker <dbkr@users.noreply.github.com >
2026-05-25 14:23:38 +00:00
5a2f246577
Update electron ( #33562 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 21:32:32 +00:00
c38fed97a2
Update npm non-major dependencies ( #33557 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 21:30:33 +00:00
1a78597e72
Update pnpm to v10.33.4 ( #33558 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 19:38:40 +00:00
53631faffc
Update dependency nx to v22.7.2 ( #33553 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-22 21:33:04 +00:00
Florian Duros and GitHub
85aca65a81
Room list: drag and drop rooms into sections ( #33366 )
...
* chore: add dnd kit deps
* chore: patch dnd kit to fix ts error
* feat(sc): add drag-and-drop to room list item and wrapper
* feat(sc): make the room list header a droppable element
* feat(sc): add dnd to room list view
* feat(tags): can tag room as CHAT
* feat(vm): implement `changeRoomSection`
* feat(sc): disable dragging in flat list
* fix: disable keyboard navigation when dragging element
* test(sc): update snapshots
* test(sc): add dnd test
* test(e2e): add e2e tests for room drag and drop
* test(vm): add tests for changeRoomSection
* fix: remove focus visible when dropping with the mouse
* test(playwright): update existing screenshots
* chore(sc): move numbers out of main build
The Ew RecorderWorklet imports shared component bundle. However if the
bundle uses some deps using document/window which, the worklet will not
work.
The solution is to put the used functions into a separate bundle.
* doc(sc): add subpath import into README
* doc: typo barrel/bundle
* test: improve test expect
* refactor: add utils to section tag
* fix: incorrect check in tagRoom
* fix: add doc about dndkit tunning
2026-05-13 09:06:22 +00:00
Michael Telatynski and GitHub
7af8beea40
Satisfy pnpm audit ( #33459 )
2026-05-11 11:07:19 +00:00
0561631002
Update dependency electron to v42 ( #33441 )
...
* Update dependency electron to v42
* Update pnpm onlyBuiltDependencies configuration
Removed 'electron' from onlyBuiltDependencies in pnpm config.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-05-08 13:39:55 +00:00
aa31de7e5a
Update dependency lint-staged to v17 ( #33442 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08 12:07:25 +00:00
4979beb5ca
Update npm non-major dependencies ( #33379 )
...
* Update npm non-major dependencies
* Ditch unplugin-dts.patch
* Make knip happy
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2026-05-07 12:02:08 +00:00
a8788b8ae6
Update dependency caniuse-lite to v1.0.30001791 ( #33397 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 17:28:19 +00:00
b5a4f5d577
Update dependency axios@>1.0.0 <1.15.0 to v1.15.2 [SECURITY] ( #33389 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 16:10:06 +00:00
5491eba611
Update electron ( #33380 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 15:17:48 +00:00
06da429c7e
Update pnpm to v10.33.3 ( #33383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 14:00:58 +00:00
8511a6190b
Update dependency nx to v22.7.1 ( #33378 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 13:57:31 +00:00
980a405f76
Update dependency nx to v22.7.0 ( #33316 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 13:21:00 +00:00
e9ce54928f
Update pnpm to v10.33.2 ( #33314 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 13:14:23 +00:00