* fix(exercise): persist completion policy and pass threshold on save buildExerciseUpdateFields accepted completionPolicy and passThreshold in the validation schema but never mapped them to the database update, so exercise settings appeared to save while reverting on refresh. Co-authored-by: Rotimi Best <[email protected]> * fix(db): build workspace deps before compiling @cio/db imports @cio/utils/notifications, which only exists after @cio/utils is built. Building db in isolation failed when utils dist was missing or stale. - Add a db prebuild step for question-types, utils, and email - Clean dist and tsbuildinfo before utils and email builds so incremental tsc cannot skip emission after dist was removed Co-authored-by: Rotimi Best <[email protected]> * chore(dev): build api workspace deps before api:dev Run turbo build for @cio/api and @cio/jobs-worker dependencies before starting the dev servers, so missing dist/ folders do not break startup. Co-authored-by: Rotimi Best <[email protected]> * feat(course): improve exercise progression grading UX --------- Co-authored-by: Rotimi Best <[email protected]>
67 lines
2.7 KiB
JSON
67 lines
2.7 KiB
JSON
{
|
|
"name": "classroomio",
|
|
"version": "0.1.13",
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"start": "turbo run start",
|
|
"dev": "turbo prepare --concurrency 13 && turbo run dev",
|
|
"lint": "turbo run lint",
|
|
"clean": "turbo clean && rimraf --glob \"**/node_modules\"",
|
|
"clean:pnpm": "pnpm clean && pnpm store prune",
|
|
"format": "turbo run format",
|
|
"format:changed": "node scripts/format-changed.mjs --write",
|
|
"format:check": "node scripts/format-changed.mjs --staged --check",
|
|
"postinstall": "node scripts/postinstall.mjs",
|
|
"release": "standard-version",
|
|
"db:reset": "pnpm --filter @cio/db db:reset",
|
|
"db:studio": "pnpm --filter @cio/db db:studio",
|
|
"db:backfill-profile-email-verification": "pnpm --filter @cio/db db:backfill-profile-email-verification",
|
|
"dashboard:dev": "pnpm concurrently -n dashboard,ui -c blue,yellow \"pnpm --filter=@cio/dashboard run dev\" \"pnpm --filter=@cio/ui run dev\"",
|
|
"api:dev": "pnpm turbo run build --filter=@cio/api^... --filter=@cio/jobs-worker^... && pnpm concurrently -n api,jobs -c blue,yellow \"pnpm --filter=@cio/api run dev\" \"pnpm --filter=@cio/jobs-worker run dev\"",
|
|
"jobs:dev": "pnpm --filter=@cio/jobs-worker run dev",
|
|
"docs:dev": "pnpm --filter @cio/docs dev",
|
|
"docs:build": "pnpm --filter @cio/docs build",
|
|
"docs:types:check": "pnpm --filter @cio/docs types:check",
|
|
"website:dev": "pnpm --filter=@cio/website run dev",
|
|
"embeds:dev": "pnpm --filter=@cio/embeds --filter=@cio/ui run dev",
|
|
"storybook:dev": "pnpm --filter=@cio/storybook --filter=@cio/ui --filter=@cio/question-types run dev",
|
|
"mcp:build": "pnpm --filter=@classroomio/mcp run build",
|
|
"db:push": "pnpm --filter @cio/db db push"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"turbo": "^1.10.16"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-syntax-jsx": "^7.28.6",
|
|
"@babel/preset-typescript": "^7.28.5",
|
|
"@cio/tsconfig": "workspace:*",
|
|
"@evilmartians/lefthook": "^1.13.6",
|
|
"concurrently": "^8.2.2",
|
|
"eslint": "^9.36.0",
|
|
"prettier": "^3.6.2",
|
|
"prettier-plugin-svelte": "^3.4.1",
|
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
"rimraf": "^6.0.1",
|
|
"standard-version": "^9.5.0",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.3"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild",
|
|
"@tailwindcss/oxide"
|
|
],
|
|
"patchedDependencies": {
|
|
"[email protected]": "patches/[email protected]"
|
|
},
|
|
"overrides": {
|
|
"zod": "4.2.1",
|
|
"miniflare>zod": "3.22.3"
|
|
}
|
|
},
|
|
"packageManager": "[email protected]+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8"
|
|
}
|