steam-backlog-enforcer/web
2026-10-16 15:24:36 +02:00
..
mock tests: block real kills/Steam spawns (a stale demo test killed the live game); enforce --demo is budget-only 2026-10-10 19:15:11 +02:00
public feat: add interactive web UI for backlog completion planning 2026-05-29 18:35:45 +02:00
src tests: block real kills/Steam spawns (a stale demo test killed the live game); enforce --demo is budget-only 2026-10-10 19:15:11 +02:00
.gitignore feat: add interactive web UI for backlog completion planning 2026-05-29 18:35:45 +02:00
eslint.config.js web control UI: all 24 commands in React, ctl.sock daemon, jobs, library browser; earned_time 0.7.0 2026-10-10 16:07:42 +02:00
index.html web control UI: all 24 commands in React, ctl.sock daemon, jobs, library browser; earned_time 0.7.0 2026-10-10 16:07:42 +02:00
package-lock.json deps: bump node 24.22.0, ruff 0.17.1, pre-commit 4.7.0, web deps (freshness gate) 2026-10-16 15:24:36 +02:00
package.json deps: bump node 24.22.0, ruff 0.17.1, pre-commit 4.7.0, web deps (freshness gate) 2026-10-16 15:24:36 +02:00
pnpm-lock.yaml deps: bump node 24.22.0, ruff 0.17.1, pre-commit 4.7.0, web deps (freshness gate) 2026-10-16 15:24:36 +02:00
README.md feat: add interactive web UI for backlog completion planning 2026-05-29 18:35:45 +02:00
tsconfig.app.json feat: add interactive web UI for backlog completion planning 2026-05-29 18:35:45 +02:00
tsconfig.json feat: add interactive web UI for backlog completion planning 2026-05-29 18:35:45 +02:00
tsconfig.node.json web control UI: all 24 commands in React, ctl.sock daemon, jobs, library browser; earned_time 0.7.0 2026-10-10 16:07:42 +02:00
vite.config.ts web control UI: all 24 commands in React, ctl.sock daemon, jobs, library browser; earned_time 0.7.0 2026-10-10 16:07:42 +02:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])