Wire up Tailwind CSS 4, Vitest, and core app libraries

Add Tailwind (via Vite plugin), Vitest+RTL test setup, and the
Zustand/TanStack Query/Lucide libraries the architecture plan calls
for. Strip the electron-vite demo boilerplate (logo, IPC ping demo,
Versions component) in favor of a minimal placeholder screen.

Verified: typecheck, lint, and test suite all pass; pnpm dev boots
and serves the correct renderer HTML.
This commit is contained in:
R3ap3R
2026-08-02 23:21:04 -05:00
parent 5a3315eff6
commit 25eb6b7b58
15 changed files with 1367 additions and 324 deletions
+5 -7
View File
@@ -1,4 +1,4 @@
import { app, shell, BrowserWindow, ipcMain } from 'electron'
import { app, shell, BrowserWindow } from 'electron'
import { join } from 'path'
import { electronApp, optimizer, is } from '@electron-toolkit/utils'
import icon from '../../resources/icon.png?asset'
@@ -6,8 +6,9 @@ import icon from '../../resources/icon.png?asset'
function createWindow(): void {
// Create the browser window.
const mainWindow = new BrowserWindow({
width: 900,
height: 670,
title: 'Aurora Dockside',
width: 1100,
height: 720,
show: false,
autoHideMenuBar: true,
...(process.platform === 'linux' ? { icon } : {}),
@@ -40,7 +41,7 @@ function createWindow(): void {
// Some APIs can only be used after this event occurs.
app.whenReady().then(() => {
// Set app user model id for windows
electronApp.setAppUserModelId('com.electron')
electronApp.setAppUserModelId('com.aurora-dockside.app')
// Default open or close DevTools by F12 in development
// and ignore CommandOrControl + R in production.
@@ -49,9 +50,6 @@ app.whenReady().then(() => {
optimizer.watchWindowShortcuts(window)
})
// IPC test
ipcMain.on('ping', () => console.log('pong'))
createWindow()
app.on('activate', function () {