netx/web
oliver b54a6e5ad4 fix(ume): global clear-push setting, schema migration, and help hints
Make forward-on-clear a global monitor toggle, run key-alert DDL in an
isolated startup transaction, and fix HelpHint popovers plus API errors
when the server returns non-JSON responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 17:26:49 +08:00
..
public feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
src fix(ume): global clear-push setting, schema migration, and help hints 2026-06-22 17:26:49 +08:00
.gitignore feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
eslint.config.js feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
index.html feat(web): NetX workbench, UME-only UI, i18n, and header status 2026-05-27 11:18:30 +08:00
package-lock.json chore(web): sync package-lock engines field with package.json 2026-06-05 10:49:11 +08:00
package.json fix(scripts): set web port 8505 and require Node 20+ 2026-06-01 15:15:00 +08:00
README.md feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
tsconfig.app.json feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
tsconfig.json feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
tsconfig.node.json feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
vite.config.ts feat: initialize netx ops tool repository 2026-05-03 23:43:21 +08:00
WEB.md feat(ops): add managed NE management and batch CLI collection 2026-05-27 23:34:29 +08: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...
    },
  },
])