Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Handle line endings for cross-platform compatibility
* text=auto

#Force Unix-style (LF) line endings for shell scripts and other scripts
*.sh eol=lf
*.js eol=lf
*.json eol=lf
*.py eol=lf

# Force Windows-style (CRLF) line endings for certain file types if needed
*.bat eol=lf
3 changes: 1 addition & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@

pnpm test:unit
# pnpm test:unit
pnpm lint-staged
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Equipped is an innovative web application designed for immersive learning experi

## Features

- Engaging course and lesson interface.
- Secure user authentication system.
- Efficient database handling with Prisma.
- Comprehensive testing suite with Playwright.
- Responsive and modern UI with Tailwind CSS.
- Engaging course and lesson interface.
- Secure user authentication system.
- Efficient database handling with Prisma.
- Comprehensive testing suite with Playwright.
- Responsive and modern UI with Tailwind CSS.

### Development Environment Setup

Expand Down Expand Up @@ -205,12 +205,12 @@ Equipped is an innovative web application designed for immersive learning experi

### Scripts

- `pnpm run dev` - Starts a local development server.
- `pnpm run build` - Builds the application for production.
- `pnpm run test` - Runs Playwright tests.
- `pnpm run lint` - Lints and formats the code.
- `pnpm run check` - Checks the project for type and syntax errors.
- Other specialized scripts for testing and development.
- `pnpm run dev` - Starts a local development server.
- `pnpm run build` - Builds the application for production.
- `pnpm run test` - Runs Playwright tests.
- `pnpm run lint` - Lints and formats the code.
- `pnpm run check` - Checks the project for type and syntax errors.
- Other specialized scripts for testing and development.

### Testing

Expand Down
114 changes: 58 additions & 56 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"check": "scripts/shared/run.sh svelte-kit sync && scripts/shared/run.sh svelte-check --tsconfig ./tsconfig.json",
"check:watch": "scripts/shared/run.sh svelte-kit sync && scripts/shared/run.sh svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "scripts/shared/run.sh concurrently \"vite dev --port 3004 --host 0.0.0.0 --mode test\" \"vitest --run\" --kill-others -s first",
"test:standalone": "scripts/shared/run.sh vitest --run",
"dev:test": "scripts/shared/run.sh vite dev --port 3004 --host 0.0.0.0 --mode test",
"test:watch": "scripts/shared/run.sh concurrently \"vite dev --port 3004 --host 0.0.0.0 --mode test\" \"vitest\" --kill-others",
"codegen": "scripts/shared/run.sh concurrently \"vite dev --port 3005 --host 0.0.0.0 --mode test\" \"playwright codegen\" --kill-others",
"test:ui": "scripts/shared/run.sh concurrently \"vite dev --port 3005 --host 0.0.0.0 --mode test\" \"playwright test --ui\" --kill-others",
Expand All @@ -47,101 +49,101 @@
},
"devDependencies": {
"-": "^0.0.1",
"@amplitude/analytics-browser": "^2.11.8",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.14.0",
"@faker-js/faker": "^9.1.0",
"@floating-ui/dom": "^1.6.12",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@amplitude/analytics-browser": "^2.11.11",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@faker-js/faker": "^9.3.0",
"@floating-ui/dom": "^1.6.13",
"@fortawesome/free-brands-svg-icons": "^6.7.2",
"@fortawesome/free-regular-svg-icons": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"@paralleldrive/cuid2": "^2.2.2",
"@planetscale/database": "^1.19.0",
"@playwright/test": "^1.48.2",
"@prisma/adapter-planetscale": "^5.21.1",
"@prisma/client": "^5.21.1",
"@stylistic/eslint-plugin-ts": "^2.10.1",
"@playwright/test": "^1.49.1",
"@prisma/adapter-planetscale": "^5.22.0",
"@prisma/client": "^5.22.0",
"@stylistic/eslint-plugin-ts": "^2.13.0",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/adapter-vercel": "^5.4.6",
"@sveltejs/kit": "^2.7.4",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@sveltejs/adapter-vercel": "^5.5.2",
"@sveltejs/kit": "^2.15.2",
"@sveltejs/vite-plugin-svelte": "^4.0.4",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/svelte": "^5.2.4",
"@testing-library/svelte": "^5.2.6",
"@types/bcryptjs": "^2.4.6",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.8.6",
"@types/node": "^22.10.6",
"@types/sanitize-html": "^2.13.0",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"@vercel/analytics": "^1.3.2",
"@vercel/node": "^3.2.24",
"@vercel/speed-insights": "^1.0.14",
"@vitest/coverage-v8": "^2.1.4",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@vercel/analytics": "^1.4.1",
"@vercel/node": "^3.2.29",
"@vercel/speed-insights": "^1.1.0",
"@vitest/coverage-v8": "^2.1.8",
"autoprefixer": "^10.4.20",
"bcryptjs": "^2.4.3",
"bits-ui": "1.0.0-next.35",
"clsx": "^2.1.1",
"concurrently": "^9.0.1",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.2",
"eslint": "^9.14.0",
"concurrently": "^9.1.2",
"dotenv": "^16.4.7",
"dotenv-cli": "^7.4.4",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-playwright": "^2.0.0",
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-svelte": "^2.46.0",
"eslint-plugin-svelte": "^2.46.1",
"eslint-plugin-vitest": "^0.5.4",
"globals": "^15.11.0",
"husky": "^9.1.6",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"kysely": "^0.27.4",
"kysely": "^0.27.5",
"kysely-planetscale": "^1.5.0",
"lint-staged": "^15.2.10",
"lint-staged": "^15.3.0",
"lottie-web": "^5.12.2",
"mode-watcher": "^0.4.1",
"module-alias": "^2.2.3",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"postcss": "^8.5.0",
"prettier": "^3.4.2",
"prettier-eslint": "^16.3.0",
"prettier-plugin-sh": "^0.14.0",
"prettier-plugin-svelte": "^3.2.7",
"prettier-plugin-tailwindcss": "^0.6.8",
"prisma": "^5.21.1",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.9",
"prisma": "^5.22.0",
"prisma-kysely": "^1.8.0",
"sanitize-html": "^2.13.1",
"sanitize-html": "^2.14.0",
"shadcn-svelte": "1.0.0-next.0",
"svelte": "^5.1.9",
"svelte-check": "^4.0.5",
"svelte": "^5.17.4",
"svelte-check": "^4.1.4",
"svelte-fa": "^4.0.3",
"svelte-forms-lib": "^2.0.1",
"svelte-input-mask": "^1.1.0",
"svelte-migrate": "^1.6.8",
"svelte-migrate": "^1.8.0",
"svelte-sonner": "^0.3.28",
"tailwind-merge": "^2.5.4",
"tailwind-merge": "^2.6.0",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.14",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"ts-interface-checker": "^1.0.2",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.2",
"uuid": "^11.0.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0",
"uuid": "^11.0.5",
"vercel": "^37.14.0",
"vite": "^5.4.10",
"vite-plugin-tailwind-purgecss": "^0.3.3",
"vitest": "^2.1.4",
"yup": "^1.4.0"
"vite": "^5.4.11",
"vite-plugin-tailwind-purgecss": "^0.3.5",
"vitest": "^2.1.8",
"yup": "^1.6.1"
},
"type": "module",
"packageManager": "[email protected]+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228",
"optionalDependencies": {
"@rollup/rollup-darwin-arm64": "^4.24.3"
"@rollup/rollup-darwin-arm64": "^4.30.1"
}
}
Loading
Loading