feat: initial commit — storefront, convex backend, and shared packages

Completes the first milestone of The Pet Loft ecommerce platform:
- apps/storefront: full customer-facing Next.js app with HeroUI (cart,
  checkout, orders, wishlist, product detail, shop, search, auth)
- convex/: serverless backend with schema, queries, mutations, actions,
  HTTP routes, Stripe/Shippo integrations, and co-located tests
- packages/types, packages/utils, packages/convex: shared workspace packages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 09:31:18 +03:00
commit cc15338ad9
361 changed files with 45005 additions and 0 deletions

54
package.json Normal file
View File

@@ -0,0 +1,54 @@
{
"name": "ecommerce",
"version": "0.0.1",
"private": true,
"packageManager": "npm@11.6.2",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"dev": "turbo dev",
"build": "turbo build",
"lint": "turbo lint",
"type-check": "turbo type-check",
"dev:storefront": "turbo dev --filter=storefront",
"dev:admin": "turbo dev --filter=admin",
"build:storefront": "turbo build --filter=storefront",
"build:admin": "turbo build --filter=admin",
"test": "vitest",
"test:once": "vitest run",
"test:coverage": "vitest run --coverage --coverage.reporter=text"
},
"dependencies": {
"@clerk/backend": "^2.32.1",
"@tailwindcss/postcss": "^4.2.0",
"convex": "^1.32.0",
"next": "^15.3.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"stripe": "^20.4.0",
"svix": "^1.86.0",
"tailwindcss": "^4.2.0"
},
"devDependencies": {
"@edge-runtime/vm": "^5.0.0",
"@testing-library/react": "^16.3.2",
"@types/node": "^20.0.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.0",
"convex-test": "^0.0.41",
"eslint": "^9.0.0",
"eslint-config-next": "^15.3.2",
"happy-dom": "^20.7.0",
"postcss": "^8.4.0",
"shadcn": "^3.8.5",
"turbo": "^2.0.0",
"typescript": "^5.4.0",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=18.0.0"
}
}