wardbox roke .cursorrules file for TypeScript (stars: 17)

// Wasp Import Rules
- Import Wasp functions from 'wasp' package, not '@wasp'
  ✓ import { Task } from 'wasp/entities'
  ✓ import { type GetTasks } from 'wasp/server/operations'
  ✓ import { getTasks, useQuery } from 'wasp/client/operations'
  ✗ import { ... } from '@wasp/...'

// Wasp Schema Rules
- Add new entities (models) to 'schema.prisma', NOT 'main.wasp'

// Wasp Dependencies
- Do NOT add dependencies to 'main.wasp'
- Install dependencies via 'npm install' instead

// Wasp
- Always use typescript for Wasp code.

// Framer Motion
- Use 'motion/react' instead of 'framer-motion', this is the new opensourced version of Framer Motion.

// CSS
- Use Tailwind CSS for styling.
- Do not use inline styles.

// General
- Use single quotes
css
javascript
npm
prisma
react
tailwindcss
typescript

First Time Repository

A Wasp starter with sensible defaults.

TypeScript

Languages:

CSS: 2.6KB
JavaScript: 4.7KB
TypeScript: 196.7KB
Created: 11/14/2024
Updated: 1/23/2025

All Repositories (2)

A Wasp starter with sensible defaults.

an open source daily journaling app