bambuddy/frontend
maziggy 7f1e249849 chore(deps): clear every npm audit and pip-audit finding
Frontend:
    - react-router/-dom 7.18.1 -> 7.18.2. The RSC-mode CSRF advisory was carried
      as a documented exception in the audit gate because its only fix was the
      8.3.0 major; upstream backported it, so the exemption lapsed on its own --
      an entry only holds while fixAvailable.isSemVerMajor is true. The allowlist
      is now empty; the machinery stays for the next one.
    - dompurify 3.4.12 -> 3.4.13. Ships in the app, but the path is unreachable:
      no hooks registered, IN_PLACE never used.
    - js-yaml override ^4.3.0 -> ^5.2.3 (fix not backported below 5.x, so a
      major) and nanoid override ^3.3.18. Both dev-only, via eslint and postcss.
      eslintrc calls only load(), on the legacy .eslintrc.yml path this repo does
      not use; eslint, vite build and 2861 frontend tests pass on it.

    Backend:
    - cryptography >=48.0.1 -> >=50.0.0, aiohttp >=3.14.0 -> >=3.14.3, pyopenssl
      >=26.3.0 -> >=26.4.0. CI resolves from scratch and was already installing
      the fixed releases; the floors cover the case CI does not, an existing venv
      where >= is satisfied and `pip install -r` upgrades nothing. pyOpenSSL has
      to move with cryptography -- each release caps it to a narrow window, so a
      stale pyOpenSSL pins cryptography below its own fix line.
2026-08-08 13:36:54 +02:00
..
docs [Fix] Virtual Printer FTP routed to wrong VP with different access codes (#735) 2026-03-18 09:04:31 +01:00
mockups - Refactored printer card's AMS section for better experience 2026-01-01 12:08:55 +01:00
public fix(a2l): transparent printer-card image + getPrinterImage resolver 2026-06-10 11:09:02 +02:00
scripts fix(i18n): bring the Ukrainian locale up to parity and drop two English strings 2026-07-28 15:27:04 +02:00
src Fix per-job queue ETA showing for jobs that cannot start now 2026-08-02 08:28:26 +02:00
.gitignore Added screenshots 2025-11-28 10:23:59 +01:00
.npmrc Fix npm audit high-severity minimatch ReDoS (GHSA-3ppc-4f35-3m26) 2026-02-19 08:23:53 +01:00
eslint.config.js Improved frontend tests 2026-01-30 13:02:57 +01:00
index.html fix: unbreak CSP for sidebar iframes, service worker, and Google Fonts 2026-04-13 16:38:17 +02:00
package-lock.json chore(deps): clear every npm audit and pip-audit finding 2026-08-08 13:36:54 +02:00
package.json chore(deps): clear every npm audit and pip-audit finding 2026-08-08 13:36:54 +02:00
postcss.config.js Added screenshots 2025-11-28 10:23:59 +01:00
README.md Added screenshots 2025-11-28 10:23:59 +01:00
tailwind.config.js Add SpoolBuddy tag detection modal and fix NFC reader silent failure 2026-02-28 08:54:39 +01:00
tsconfig.app.json Fix docker build 2025-12-12 16:48:12 +01:00
tsconfig.json Added screenshots 2025-11-28 10:23:59 +01:00
tsconfig.node.json Added screenshots 2025-11-28 10:23:59 +01:00
vite.config.ts fix(frontend): revert base: '' so deep SPA routes load their assets on initial navigation (issue #1221) 2026-05-08 08:39:00 +02:00
vitest.config.ts feat: Centralise sidebar ordering and add page visibility options (#1673) 2026-06-17 12:04:57 +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...
    },
  },
])