* Initial plan * Add comprehensive seed data script for local development - Created prisma/seed.ts with deterministic test data - Added 5 test creator accounts with known addresses - Added 5 sample content entries (video, image, audio, document) - Added 10 platform bindings across YouTube, TikTok, GitHub, etc. - Added 3 verification records - Added npm scripts: db:seed and db:reset - Created prisma/SEED_DATA.md with comprehensive documentation - Updated README.md with seed data usage instructions - Updated .env.example with seed data information - Updated docs/CONTRIBUTOR_ONBOARDING.md with seed recommendations - Updated tsconfig.json to include prisma directory - Exposed PostgreSQL port in docker-compose.yml for local development Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com> * Add comprehensive tests for seed data functionality - Created test/seed.test.ts to validate seed script structure - Tests verify package.json configuration - Tests verify documentation exists - Tests validate seeded data structure and content - All 419 tests passing (15 new seed tests) Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com> * Refactor seed tests to use ES6 imports - Removed unused execSync import - Replaced require() calls with ES6 imports (fs, packageJson) - Improved code consistency with TypeScript best practices - All 15 seed tests still passing Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: onnwee <211922112+onnwee@users.noreply.github.com>
16 lines
398 B
JSON
16 lines
398 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "nodenext",
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"types": ["node", "hardhat"],
|
|
"outDir": "dist"
|
|
},
|
|
"include": ["hardhat.config.ts", "scripts", "test", "typechain-types", "prisma"],
|
|
"files": ["./hardhat.config.ts"]
|
|
}
|