build-and-scripts.mdc 556 B

123456789101112131415
  1. ---
  2. description: Build/dev scripts norms; attach to package/build/config files.
  3. globs: ["package.json", "webpack*.js", "tsconfig.json", "Makefile", "pyproject.toml"]
  4. alwaysApply: false
  5. ---
  6. # Build/Dev
  7. - Frontend dev: `npm run dev`, `dev-login`, `dev-workers`.
  8. - Production bundles: `npm run webpack*`.
  9. - Python apps: `make apps` / `make desktop`.
  10. - CI: scripts must be non-interactive and idempotent.
  11. ## Checklists
  12. - Register new React roots in relevant imports/bootstrap as required by Hue.
  13. - Keep TS strict; no downlevel that breaks antd/cuix typings.