Update optimize wave3 (need update wave 4 to wave 8)

This commit is contained in:
thanhnv
2026-07-01 00:02:30 +09:00
parent 07ac1bdcdd
commit eaf919e744
140 changed files with 3780 additions and 844 deletions
@@ -0,0 +1,27 @@
> test
> npm test -w backend && npm test -w frontend
> @ainative-okr/backend@1.0.0 test
> export DATABASE_URL='file:./test.db' JWT_SECRET='test-secret'; npm run db:setup && prisma db seed && node --import tsx --test test/**/*.test.ts
> @ainative-okr/backend@1.0.0 db:setup
> prisma generate && node scripts/setup-sqlite.mjs
sh: prisma: command not found
npm error Lifecycle script `db:setup` failed with error:
npm error code 127
npm error path /Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/AINative_OKR_CASAN5/backend
npm error workspace @ainative-okr/backend@1.0.0
npm error location /Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/AINative_OKR_CASAN5/backend
npm error command failed
npm error command sh -c prisma generate && node scripts/setup-sqlite.mjs
npm error Lifecycle script `test` failed with error:
npm error code 127
npm error path /Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/AINative_OKR_CASAN5/backend
npm error workspace @ainative-okr/backend@1.0.0
npm error location /Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/AINative_OKR_CASAN5/backend
npm error command failed
npm error command sh -c export DATABASE_URL='file:./test.db' JWT_SECRET='test-secret'; npm run db:setup && prisma db seed && node --import tsx --test test/**/*.test.ts