Files
classroomio/apps/dashboard/package.json
T
Rotimi Best a3924100dd feat: migrate auth from supabase to better auth (#596)
* feat: add README for @cio/db package and remove existingAccounts.json

* load session, load profile and organization, add create profile hook

* chore: cache session request

The trick was passing all the cookies to the backend. Previously I was only passing the better-auth.session_token and not better-auth.session_data. Read about the difference here https://www.better-auth.com/docs/concepts/cookies#custom-cookies

* feat: login, logout, onboarding, verify email, reset password.

* feat: complete change email and email verification

* feat: standardise how we make rpc calls and create org endpoints

* fix ui errors

* fix: handle potential undefined customerId and standardize avatar URL property

* refactor: standardize custom domain handling and update telegram chat ID references

* chore: add tailwind prefix to @cio/ui

this fixed the media query issues because  @cio/ui classes were overriding this dashboard tailwind build

* chore: clean up org sidebar

* chore: persist mode state

* feat: implement order breadcrumbs

* chore: upgrade to better auth 1.4

* chore: address common auth flow bugs and setup app for others to setup locally.
2025-11-24 01:00:50 +01:00

130 lines
3.7 KiB
JSON

{
"name": "@cio/dashboard",
"description": "classroomio",
"version": "0.0.1",
"main": "main.js",
"scripts": {
"dev": "vite dev --port 5173",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"clean": "rm -rf node_modules",
"format": "prettier . --write .",
"start": "node build",
"prepare": "svelte-kit sync",
"test": "jest",
"test:watch": "pnpm run test --watch",
"ci": "cp .env.example .env && vite build && vite preview",
"script:translate": "node ./scripts/translate.cjs"
},
"dependencies": {
"@carbon/charts-svelte": "^1.13.6",
"@cio/api": "workspace:*",
"@cio/db": "workspace:*",
"@cio/ui": "workspace:*",
"@cio/utils": "workspace:*",
"@lucide/svelte": "^0.545.0",
"@polar-sh/sveltekit": "^0.2.1",
"@supabase/supabase-js": "^2.31.0",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-node": "^2.0.0",
"@sveltejs/adapter-vercel": "^4.0.0",
"@sveltekit-i18n/base": "^1.3.7",
"@sveltekit-i18n/parser-icu": "^1.0.8",
"@tailwindcss/forms": "^0.5.4",
"@types/pluralize": "0.0.30",
"ai": "^2.1.31",
"axios": "^1.8.4",
"better-auth": "^1.3.34",
"bits-ui": "^2.14.1",
"body-parser": "^1.20.2",
"bufferutil": "^4.0.9",
"canvas-confetti": "^1.6.0",
"color2k": "^2.0.3",
"cookie-parser": "^1.4.6",
"copy-to-clipboard": "^3.3.3",
"d3": "^7.8.5",
"d3-cloud": "^1.2.7",
"d3-sankey": "^0.12.3",
"dayjs": "^1.11.10",
"encoding": "^0.1.13",
"hotkeys-js": "^3.11.2",
"html-to-image": "^1.11.11",
"is-valid-domain": "^0.1.6",
"js-yaml": "^4.1.0",
"jspdf": "^2.5.1",
"jspdf-autotable": "^3.8.2",
"ky": "^1.10.0",
"lodash": "^4.17.21",
"openai-edge": "^1.2.2",
"papaparse": "^5.4.1",
"pluralize": "^8.0.0",
"posthog-js": "^1.180.1",
"sirv": "^2.0.3",
"stripe": "^14.22.0",
"svelte-awesome-color-picker": "^3.1.4",
"svelte-meta-tags": "^3.1.2",
"sveltekit-i18n": "^2.4.2",
"tldts": "^6.1.41",
"unsplash-js": "^7.0.18",
"utf-8-validate": "^6.0.5",
"wait-on": "^7.0.1",
"zod": "^4.1.8"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.22.6",
"@cio/tsconfig": "workspace:*",
"@eslint/compat": "^1.4.0",
"@eslint/js": "^9.36.0",
"@rollup/plugin-replace": "^6.0.2",
"@sveltejs/kit": "^2.5.27",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/typography": "^0.5.9",
"@tailwindcss/vite": "^4.1.16",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/svelte": "^4.0.5",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.196",
"@types/node": "^20",
"all-object-keys": "^2.2.0",
"babel-jest": "^29.7.0",
"diff": "^5.2.0",
"dotenv": "^16.3.1",
"eslint": "^9.36.0",
"eslint-plugin-svelte": "^3.12.4",
"eslint-plugin-unused-imports": "^4.2.0",
"globals": "^16.4.0",
"jessy": "^3.1.1",
"jest": "^29.7.0",
"postcss": "^8.4.24",
"postcss-load-config": "^4.0.1",
"qrcode": "^1.5.3",
"sass": "^1.64.2",
"svelte": "^5.0.0",
"svelte-dnd-action": "^0.9.24",
"svelte-jester": "^3.0.0",
"svelte-loading-spinners": "^0.3.4",
"svelte-preprocess": "^6.0.0",
"tailwindcss": "^4.1.14",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.1",
"typescript": "^5.5.0",
"typescript-eslint": "^8.44.1",
"vite": "^5.4.4"
},
"type": "module",
"engines": {
"node": "^20.19.3"
},
"browser": {
"crypto": false
}
}