Commit Graph

1507 Commits

Author SHA1 Message Date
Matthew Haughton
95ddd5deb8 Ignore existing violations of typescript-eslint strict rules 2024-10-24 11:37:27 +11:00
Matthew Haughton
6f37929f99 Enable typescript-eslint strict checks 2024-10-24 11:37:19 +11:00
Matthew Haughton
9db0f4a8de Add SubtitleAppearance interface 2024-10-24 10:53:39 +11:00
renovate[bot]
d0e41d3812
Update actions/checkout action to v4.2.2 2024-10-23 17:28:52 +00:00
Niels van Velzen
9859c9f32e
Merge pull request #636 from 3flex/patch-1
Some checks failed
Lint / Lint TS and CSS (push) Has been cancelled
Publish / Build (push) Has been cancelled
Test / Jest (push) Has been cancelled
Publish / Publish (push) Has been cancelled
Publish / Deploy (push) Has been cancelled
Run tsc with lint script
2024-10-22 12:09:10 +02:00
Matthew Haughton
80a8e28af9
Run tsc with lint script 2024-10-22 21:02:14 +11:00
Niels van Velzen
f02f67c84e
Merge pull request #635 from jellyfin/renovate/node-20.x
Update dependency @types/node to v20
2024-10-22 08:58:34 +02:00
renovate[bot]
87329113c6
Update dependency @types/node to v20 2024-10-22 05:40:51 +00:00
Niels van Velzen
3cf136dc4e
Merge pull request #634 from jellyfin/renovate/pin-dependencies
Pin dependency @types/node to v18.19.57
2024-10-22 07:40:29 +02:00
renovate[bot]
b388522acb
Pin dependency @types/node to v18.19.57 2024-10-22 05:36:13 +00:00
Niels van Velzen
0acdbc1f7b
Merge pull request #633 from 3flex/fix-typing
Fix issues found by TypeScript compiler
2024-10-22 07:35:43 +02:00
Niels van Velzen
b68071737e
Merge pull request #627 from 3flex/patch-3
Enable bundler module resolution mode
2024-10-22 07:32:05 +02:00
Matthew Haughton
844591972e Update Node types to latest v18 2024-10-22 09:49:10 +11:00
Matthew Haughton
3ea9688373 Remove use of NodeJS type 2024-10-22 09:40:04 +11:00
Matthew Haughton
2bd8f24dfb Enable bundler module resolution mode
Previous "node" option should no longer be used:
https://www.typescriptlang.org/docs/handbook/modules/reference.html#node10-formerly-known-as-node

"bundler" is recommended when using a bundler.
2024-10-22 08:52:59 +11:00
Niels van Velzen
c5fe55fb3b
Merge pull request #630 from 3flex/patch-4
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Enable ESM
2024-10-21 14:44:03 +02:00
Niels van Velzen
50768630de
Merge pull request #628 from jellyfin/renovate/vite-5.x
Update dependency vite to v5.4.9
2024-10-21 14:43:22 +02:00
Niels van Velzen
1f4d4256bd
Merge pull request #624 from 3flex/add-customdata-type
Extend MediaInformationCustomData for Jellyfin custom data
2024-10-21 14:42:45 +02:00
renovate[bot]
e68d7ae1fa
Update dependency vite to v5.4.9 2024-10-21 12:42:43 +00:00
Niels van Velzen
8d6b78b2a2
Merge pull request #629 from jellyfin/renovate/vitest
Update dependency vitest to v2.1.3
2024-10-21 14:42:10 +02:00
Niels van Velzen
6ea84271f6
Merge pull request #632 from 3flex/patch-5
Fix TS errors on possibly undefined value
2024-10-21 14:36:21 +02:00
Niels van Velzen
a12440b9b8
Merge pull request #625 from 3flex/patch-1
Turn on isolatedModules
2024-10-21 14:35:44 +02:00
Niels van Velzen
0d48b0dab8
Merge pull request #631 from 3flex/enable-caughterrors
Enable checks for caught errors for no-unused-vars rule
2024-10-21 14:35:24 +02:00
Niels van Velzen
7335724a13
Merge pull request #626 from 3flex/patch-2
Set TypeScript target to ES2015
2024-10-21 14:34:43 +02:00
Matthew Haughton
9e4bc48a33
Fix TS errors on possibly undefined value 2024-10-21 23:20:06 +11:00
Matthew Haughton
36a692afd7 Enable checks for caught errors for no-unused-vars rule 2024-10-21 23:10:08 +11:00
Matthew Haughton
e06256ed9b
Enable ESM
Addresses Vite's CJS deprecation.

https://v4.vite.dev/guide/migration.html#deprecate-cjs-node-api
2024-10-21 23:05:25 +11:00
renovate[bot]
08b309d5ba
Update dependency vitest to v2.1.3 2024-10-21 12:03:18 +00:00
Matthew Haughton
65c91a96a0
Set TypeScript target to ES2015
This matches the target for Vite's build.
2024-10-21 22:32:23 +11:00
Matthew Haughton
ba42afa6e6
Turn on isolatedModules
This should be enabled for Vite since its build process uses esbuild
for transpilation without type information. This option enables
warnings when using features that don't work for isolated
transpilation.

https://v2.vitejs.dev/guide/features.html#typescript-compiler-options
2024-10-21 22:27:25 +11:00
Matthew Haughton
b29d732706 Extend MediaInformationCustomData for Jellyfin custom data 2024-10-21 22:02:56 +11:00
Niels van Velzen
9c767429a5
Merge pull request #622 from 3flex/eslint9
Some checks failed
Lint / Lint TS and CSS (push) Has been cancelled
Publish / Build (push) Has been cancelled
Test / Jest (push) Has been cancelled
Publish / Publish (push) Has been cancelled
Publish / Deploy (push) Has been cancelled
Update to ESLint 9
2024-10-20 10:06:08 +02:00
Matthew Haughton
220265d621 Update ESLint CLI command for ESLint 9 2024-10-20 13:04:54 +11:00
Matthew Haughton
4ea48bc51a Migrate to eslint flat config 2024-10-20 13:04:54 +11:00
Matthew Haughton
988629f693 Update eslint-plugin-json to v4.0.1 2024-10-20 12:36:28 +11:00
Matthew Haughton
7e91cc6bd0 Switch to typescript-eslint 2024-10-20 12:36:26 +11:00
Matthew Haughton
097f9acd3a Update eslint to v9.13.0 2024-10-20 12:28:40 +11:00
Niels van Velzen
fa56e6ca30
Merge pull request #615 from jellyfin/renovate/linters
Some checks failed
Lint / Lint TS and CSS (push) Has been cancelled
Publish / Build (push) Has been cancelled
Test / Jest (push) Has been cancelled
Publish / Publish (push) Has been cancelled
Publish / Deploy (push) Has been cancelled
Update dependency stylelint to v16.10.0
2024-10-17 14:25:57 +02:00
Niels van Velzen
282e2d33cb
Merge pull request #612 from jellyfin/renovate/vite-5.x
Update dependency vite to v5.4.8
2024-10-17 14:25:29 +02:00
renovate[bot]
99be49a21d
Update dependency vite to v5.4.8 2024-10-17 12:24:48 +00:00
Niels van Velzen
c517e00ba1
Merge pull request #614 from jellyfin/renovate/vitest
Update dependency vitest to v2.1.2
2024-10-17 14:24:18 +02:00
Niels van Velzen
d9de0a4136
Merge pull request #617 from jellyfin/renovate/typescript
Update dependency typescript to v5.6.3
2024-10-17 14:24:02 +02:00
Niels van Velzen
ff351c582c
Merge pull request #613 from jellyfin/renovate/ci-deps
Update CI dependencies
2024-10-17 14:23:47 +02:00
renovate[bot]
6cb9873dbc
Update dependency stylelint to v16.10.0 2024-10-17 12:19:14 +00:00
renovate[bot]
ef555ffca0
Update dependency vitest to v2.1.2 2024-10-17 12:19:00 +00:00
renovate[bot]
cbd3f7ab8b
Update dependency typescript to v5.6.3 2024-10-17 12:18:29 +00:00
renovate[bot]
72f90ddbfb
Update CI dependencies 2024-10-17 12:18:06 +00:00
Niels van Velzen
8129b9e196
Merge pull request #620 from 3flex/ts-eslint8
Update typescript-eslint to v8.9.0
2024-10-17 14:17:35 +02:00
Niels van Velzen
6680c8dcb5
Merge pull request #621 from 3flex/eslint-plugins
Update ESLint plugins
2024-10-17 14:17:16 +02:00
Matthew Haughton
2b169e16b7 Update ESLint plugins
* eslint-plugin-import 2.31.0
* eslint-plugin-jsdoc 50.4.3
* eslint-plugin-promise 7.1.0
2024-10-17 23:01:08 +11:00