* 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]>
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"name": "@cio/email",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "rimraf dist tsconfig.tsbuildinfo && tsc && tsc-alias",
|
|
"dev": "tsc --watch",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./send": {
|
|
"types": "./dist/send.d.ts",
|
|
"default": "./dist/send.js"
|
|
},
|
|
"./templates": {
|
|
"types": "./dist/templates/index.d.ts",
|
|
"default": "./dist/templates/index.js"
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^4.1.8"
|
|
},
|
|
"dependencies": {
|
|
"@cio/tsconfig": "workspace:*",
|
|
"@cio/utils": "workspace:*",
|
|
"nodemailer": "^6.9.5",
|
|
"zeptomail": "^6.0.0",
|
|
"zod": "^4.1.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.10.1",
|
|
"@types/nodemailer": "^6.4.21",
|
|
"prettier": "^3.2.5",
|
|
"tsc-alias": "^1.8.16",
|
|
"tsx": "^4.7.1",
|
|
"typescript": "^5.5.2",
|
|
"vitest": "^1.2.2"
|
|
}
|
|
}
|