Commit graph

18 commits

Author SHA1 Message Date
renovate[bot] b34f3d2323
Update all non-major dependencies (#1553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-05 15:53:32 +00:00
renovate[bot] bc4c4159dc
Update all non-major dependencies (#1438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-17 09:47:57 +00:00
Michael Telatynski 8aee984b04
Enable ES2020 to match matrix-react-sdk (#931) 2023-04-27 19:10:51 +01:00
Andy Balaam f960700a2a Exclude test from eslint checking since it always was excluded, and I can't get it to check 2023-02-23 17:10:06 +00:00
Andy Balaam 26a308d8c6 Add typeRoots to try and appease CI 2023-02-20 16:25:17 +00:00
Andy Balaam a0034c1ade Add a rootDir to try and appease the CI 2023-02-20 16:08:11 +00:00
Andy Balaam 1271c22aee Separate linting and compiling src+test, scripts and hak
Inspired by the failure of https://github.com/vector-im/element-desktop/pull/529
to lint our code with the @typescript-eslint/no-base-to-string rule
turned on, I found we needed to add a parserOptions.project to our
.eslintrc.js, pointing to the tsconfig.json.

This led to more fixes, because we have 3 tsconfig.json files for
src+test, scripts and hak and the single eslintrc was complaining that
it could see more files than the tsconfig file knew about.

So, I think the right split is to have one eslintrc file and one
tsconfig for each of the three projects.
2023-02-17 12:17:42 +00:00
Andy Balaam bd8c69ec74 Include the test directory in tsconfig. 2023-02-17 12:14:53 +00:00
Andy Balaam 0faac52dae Format all files with prettier 2022-12-15 11:52:12 +00:00
Michael Telatynski 031ee44571
Enable noImplicitAny and kill off request (#457)
* Enable noImplicitAny

* Switch from request to node-fetch

* Fix node-fetch via patch-package

* Add edge to handler

* Pin node-fetch to v2
2022-11-30 13:51:54 +00:00
Michael Telatynski d0e1596bf2
Enable Typescript strict mode (#426) 2022-10-13 12:42:33 +01:00
Michael Telatynski f0201cfe31
First attempt at automated Playwright tests (#402)
* First attempt at automated Playwright tests

* Fix deb installation in CI

* Try again with .deb

* Try xvfb

* Fix paths

* Prepare macOS runner for UI tests

* test_artifacts

* Increase test timeout to 30s

* Add timeout

* Split out build & test stages for easier retrying

* Use a single test matrix job

* Fix testing

* Yarn install

* Install deps

* Make prep more generic

* Update build.yaml

* Update build.yaml

* Update build.yaml
2022-08-25 18:04:14 +00:00
Michael Telatynski 389f6f4334
Split electron-main into smaller chunks (#377)
* Split electron-main into smaller chunks

* Affix @types/node version and upgrade electron-store

* Iterate PR

* tidy up

* Actually run the split out code
2022-07-01 20:17:40 +01:00
Germain Souquet 986f728019 Change tsconfig to autodiscover all @types packages rather setting them explicitely 2021-08-06 17:02:29 +02:00
David Baker 9cb171f953 Fix the build: make the rootDir correct 2021-07-01 17:18:26 +01:00
Michael Telatynski 390e2306d0 Fix i18n in Element Desktop 2021-07-01 11:32:09 +01:00
Michael Telatynski 2d568f9688 iterate ts support 2021-06-29 11:41:08 +01:00
Michael Telatynski 53e7100033 Initial Typescripting for Element Desktop 2021-06-25 14:35:58 +01:00