Skip to content

Vite, TypeScript and ESLint updates and housekeeping#274

Open
devmount wants to merge 5 commits into
mainfrom
chores/dependency-updates
Open

Vite, TypeScript and ESLint updates and housekeeping#274
devmount wants to merge 5 commits into
mainfrom
chores/dependency-updates

Conversation

@devmount
Copy link
Copy Markdown
Collaborator

@devmount devmount commented May 8, 2026

What changed?

This change maintains package dependencies. In particular, the following packages got a major upgrade:

  • Vite to v8
  • TypeScript to v6
  • ESLint to v10

All other packages got minor or patch updates. eslint-plugin-import got removed (imho not needed anymore and incompatible to ES 10).

Furthermore, the tsconfig* files were changed to their common default values for migration purposes to TS 6. Please review that carefully and let me know, if I missed something here.

Also type errors were fixed and linting issues. All changes were kept at minor level, no breaking change was introduced intentionally.

All changes were tested. Linting, Building and Storybook work as intended locally for me. But please test and confirm this.

Applicable Issues

Fixes https://github.com/thunderbird/services-ui/security/dependabot/54, https://github.com/thunderbird/services-ui/security/dependabot/55 and https://github.com/thunderbird/services-ui/security/dependabot/56

Closes #273

@devmount devmount self-assigned this May 8, 2026
@devmount devmount changed the title Chores/dependency updates Vite, TypeScript and ESLint updates and housekeeping May 8, 2026
Copy link
Copy Markdown
Contributor

@davinotdavid davinotdavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commenting only for now as I am not super familiar with the history / reason of our configs.

I think I need to read a bit more about the tsconfig / vite config options as I am not entirely sure why we need all the config we currently use but also running npm run build outputs this in my machine:

❯ npm run build

> @thunderbirdops/services-ui@1.6.2 build
> vite build --

vite v8.0.11 building client environment for production...
✓ 126 modules transformed.

[unplugin:dts] Start generate declaration files...
[unplugin:dts] Start bundling declaration files...

[unplugin:dts] Failed to load '@microsoft/api-extractor', have you installed it?


[unplugin:dts] Error occurred, skip bundle declaration files.

[unplugin:dts] Declaration files built in 1089ms.

I seems to still produce an output but again I wonder if we can simplify our setup further so we can have more smoother dependency package updates in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Vite and TypeScript

2 participants