feat: add Husky hooks and fix provider tutorial UI/logic

- Add Husky pre-commit and pre-push hooks for linting, type checking, and build validation
- Fix visual hierarchy bug in the provider onboarding tutorial
- Remove feedback modal
- Move MinIO bucket creation logic to before app startup
- Wire MiniMax audio through voice generation pipeline
- Fix scene insertion issues
- Fix portal tutorial modal and harden panel variant task flow
This commit is contained in:
saturn
2026-03-09 02:42:35 +08:00
parent 881ed44996
commit fba480ae6e
34 changed files with 721 additions and 247 deletions

View File

@@ -8,7 +8,7 @@
},
"scripts": {
"postinstall": "prisma generate",
"dev": "concurrently --kill-others \"npm run dev:next\" \"npm run dev:worker\" \"npm run dev:watchdog\" \"npm run dev:board\"",
"dev": "npm run storage:init && concurrently --kill-others \"npm run dev:next\" \"npm run dev:worker\" \"npm run dev:watchdog\" \"npm run dev:board\"",
"dev:next": "cross-env NODE_OPTIONS=\"--no-deprecation\" next dev --turbopack -H 0.0.0.0",
"dev:worker": "tsx watch --env-file=.env src/lib/workers/index.ts",
"dev:watchdog": "tsx watch --env-file=.env scripts/watchdog.ts",
@@ -16,7 +16,8 @@
"dev:turbo": "next dev --turbopack -H 0.0.0.0",
"build": "prisma generate && next build",
"build:turbo": "next build --turbopack",
"start": "concurrently --kill-others \"npm run start:next\" \"npm run start:worker\" \"npm run start:watchdog\" \"npm run start:board\"",
"start": "npm run storage:init && concurrently --kill-others \"npm run start:next\" \"npm run start:worker\" \"npm run start:watchdog\" \"npm run start:board\"",
"storage:init": "tsx --env-file=.env src/lib/storage/init.ts",
"start:next": "next start -H 0.0.0.0",
"start:worker": "tsx --env-file=.env src/lib/workers/index.ts",
"start:watchdog": "tsx --env-file=.env scripts/watchdog.ts",
@@ -161,4 +162,4 @@
"typescript": "^5",
"vitest": "^2.1.8"
}
}
}