Skip to content

refactor: Replace Vue CLI with Vite and modernize project#119

Draft
zusorio wants to merge 26 commits intoAlteka:masterfrom
zusorio:replace-vue-cli
Draft

refactor: Replace Vue CLI with Vite and modernize project#119
zusorio wants to merge 26 commits intoAlteka:masterfrom
zusorio:replace-vue-cli

Conversation

@zusorio
Copy link

@zusorio zusorio commented May 13, 2025

This is a pretty big refactor replacing Vue CLI (which is in maintenance mode and not recommended anymore) with Vite.
For the electron integration, I'm using electron-vite, following their Vue quick start template.
In the process of the refactor, I've also:

  • Upgraded a bunch of packages (element plus, axios, sass)
  • Replaced some others (bonjour with bonjour-service, hardcoded particles.js with tsParticles)
  • Moved a bunch of imports to be ESM
  • and various other things I can't remember right now

Before this can be merged, a few things need to be done:

  • Clean up any remaining TODOs, especially regarding CSP
  • Fix any remaining TypeScript errors
  • Update the electron-builder config with correct values (this is also a great opportunity to support more platforms and enable auto-updating)
  • Potentially enable prettier to make the code style more consistent
  • Test everything thoroughly on all supported platforms
  • Color pickers seem to be broken right now
  • Config handling with defu is broken I think
  • The config generally should be handled better by having a central config manager that users can listen to
  • The share dialog is broken
  • Text resizing is broken by CSP
  • Move away from yarn
  • Undo moving out predefined colors
  • Bonjour broken?

@zusorio zusorio changed the title refactor: Replace Vue CLI with Vite refactor: Replace Vue CLI with Vite and modernize project May 17, 2025
@zusorio
Copy link
Author

zusorio commented May 17, 2025

Things have escalated a bit and I've added TypeScript support (WIP), as well as Zod schema validation for the config

@zusorio zusorio force-pushed the replace-vue-cli branch from b6c9f17 to 3a341c4 Compare May 19, 2025 13:37
@DrewLX
Copy link
Collaborator

DrewLX commented May 28, 2025

Hey Tobias! You're doing so many of the things we haven't had time to look at.

@canoemoose And myself are currently in Munich on an event for the next week. Would you be up for jumping on a zoom call to discuss Kards and its future?

@zusorio
Copy link
Author

zusorio commented May 28, 2025

@DrewLX Sure! Just let me know when you're available

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.

2 participants