Skip to content

Clean up dependencies - #1693

Merged
Arnei merged 5 commits into
opencast:developfrom
Arnei:clean-up-dependencies
Nov 18, 2026
Merged

Arnei merged 5 commits into
opencast:developfrom
Arnei:clean-up-dependencies

Conversation

@Arnei

@Arnei Arnei commented Nov 16, 2026

Copy link
Copy Markdown
Member

Drop unused packages or get their imports from other packages. Also drops various unused font files.

AI Usage

Claude Sonnet 5 was used for dependency and font analysis.

Drop packages nothing imports, including vitest without any tests, take the redux, reselect and immer exports from @reduxjs/toolkit, and list uuid and @types/react where they belong.

This commit was AI generated
Import only the used functions from the tree-shakable lodash-es instead of bundling all of lodash, which makes the bundle about 66 kB smaller.

This commit was AI generated
Declare only the woff files of Open Sans and delete the ttf and eot files that current browsers never load, which makes the build output about 2.4 MB smaller.

This commit was AI generated
FontAwesome was removed from the styles in June 2025, but its font files were left in the repository.

This commit was AI generated
@Arnei Arnei added the type:dependencies Pull requests that update a dependency file label Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org 

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request is deployed at test.admin-interface.opencast.org/1693/2026-11-16_10-41-36/ .
It might take a few minutes for it to become available.

@Arnei
Arnei merged commit 8aed266 into opencast:develop Nov 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant