Skip to content

refactor: upgrade deps, setup tailwind4 and correct ci#258

Draft
subframe7536 wants to merge 6 commits into
mainfrom
v1
Draft

refactor: upgrade deps, setup tailwind4 and correct ci#258
subframe7536 wants to merge 6 commits into
mainfrom
v1

Conversation

@subframe7536
Copy link
Copy Markdown
Contributor

This pull request introduces significant improvements to the project’s development workflow, build system, and UI styling. The most important changes include migrating from npm to pnpm, updating dependencies and build tooling, refactoring the UI to use Tailwind CSS, and modernizing the GitHub Actions workflows for CI and build. These changes streamline development, improve consistency, and keep the project up to date with current best practices.

Build System and Dependency Management

  • Migrated from npm to pnpm as the package manager, updated Node.js to v22, and modernized the build scripts and dependencies to the latest major versions (including Electron, React, Vite, Tailwind, and related plugins). (package.json, .github/workflows/build.yml, pnpm-workspace.yaml) [1] [2] [3]
  • Updated the build workflow to use pnpm, switched to actions/checkout@v4, and improved artifact handling. (.github/workflows/build.yml)

Continuous Integration and GitHub Actions

  • Refactored the CI workflow to use pull_request events, improved lockfile and markdown file detection, enforced lockfile restrictions, and updated actions to latest major versions. (.github/workflows/ci.yml) [1] [2]
  • Added permissions and concurrency controls for workflows. (.github/workflows/build.yml, .github/workflows/ci.yml) [1] [2]

UI and Styling Refactor

  • Removed legacy CSS (src/App.css) and refactored the main app layout to use Tailwind CSS classes throughout, providing a modern, responsive, and consistent design. (src/App.tsx, postcss.config.cjs) [1] [2] [3]
  • Updated the VSCode debug and launch configurations for improved compatibility and source map support. (.vscode/launch.json, .vscode/tasks.json, .vscode/.debug.script.mjs) [1] [2] [3]

Release and Publishing

  • Changed the auto-update provider from a generic URL to GitHub Releases for streamlined publishing. (electron-builder.json)

Project Cleanup

  • Removed unused configuration files and legacy settings. (.vscode/extensions.json, .vscode/settings.json) [1] [2]

These updates collectively modernize the project’s tooling, enforce best practices in CI, and deliver a more maintainable and visually consistent user interface.

Description

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

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